opening pano without all that white

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Carel
Posts: 178
Joined: Tue Sep 12, 2006 5:59 am
Location: Pasadena, CA USA
Contact:

Before the grayscale preview color kicks in while the pano is loading, there is a very annoying bright white background. Is there any way to make that black or dark gray?
On a vr tour I made in FPP a while back, I used a trick of Hans Nyberg's, to load while everything is black (or any color I wish it to be). Here is that tour as an example:
http://www.sphericalpanoramas.com/JIPC-tour/JIPC.html

Carel Struycken
pitdavos
Posts: 43
Joined: Sun Jan 04, 2009 11:41 am
Location: Switzerland

Hi Carel

Just a wild guess....
This will be the background color of the flash viewer (Plugin)
Probably it is possible to change this color in the HTML?

Code: Select all

<embed>
In the case of Pano2VR you have to change this in p2q_embed_object.js

Best regards

Peter
Carel
Posts: 178
Joined: Tue Sep 12, 2006 5:59 am
Location: Pasadena, CA USA
Contact:

I still don't know how to do this with <embed>, but I found it is a Flashvars parameter. In the html that Pano2vr produces, there is a line that says something like:

Code: Select all

p2q_EmbedFlash('xxxx.swf','100%','100%','allowFullScreen','true',
to that I added:

Code: Select all

'bgcolor','1E1E1E',
so that the complete line reads:

Code: Select all

p2q_EmbedFlash('xxxx.swf','100%','100%','allowFullScreen','true','bgcolor','1E1E1E','FlashVars',flashvars);
Hope this helps those who are as annoyed as I was by the bright white flash before the pano loads.

Amazingly, I have still not been able to find a complete list of all Flashvars parameters anywhere online. If anyone can point me to such a list...

Carel Struycken
Post Reply