Incorrect Rectangle initial size

Q&A about the latest versions
Post Reply
User avatar
jare
Posts: 365
Joined: Thu Mar 19, 2009 1:26 pm
Location: RU/CZ
Contact:

Hi,
I noticed that my tour's background done from a rectangle element or image appears in incorrect position/size at the very tour start for a few milliseconds.
Then goes to it's correct place. Not so critical bug but spoils the intro effect.
Links to tours where it can be seen:
http://3dpano.pindora.com/public/cinema/tour.html
http://3dpano.pindora.com/public/archiv/tour.html
Attachments
Untitled-1.jpg
Untitled-1.jpg (55.4 KiB) Viewed 2601 times
User avatar
3DV
Posts: 145
Joined: Tue Dec 15, 2015 12:44 pm
Contact:

You can probably fix that by changing the background of the html page that contains the tour to the same color as the tour background.

Edit the tour.html and in the <head> section, go to the <style type="text/css" title="Default"> and inside the body { } add:
background-color: rgb(35, 31, 32);

It should look something like this then:

Code: Select all

	body {
		background-color: rgb(35, 31, 32);
		height:100%;
		margin: 0px;
		overflow:hidden; /* disable scrollbars */
		font-size: 10pt;
		-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* remove highlight on tab for iOS/Android */
	}
Ruud van Reenen
3DV - Real estate artist impressions and animations
VR Tourviewer - Experience Pano2VR tours on Oculus Go, Quest, Rift, Pico and Cardboard VR headsets
User avatar
jare
Posts: 365
Joined: Thu Mar 19, 2009 1:26 pm
Location: RU/CZ
Contact:

Hi,
thanks for the workaround, it works.

I remember that in the ancient versions of Pano2VR there were background color settings under the html settings, maybe it is worth to bring it back?
Post Reply