DevalVR support

 

It is currently Sun Sep 21, 2014 8:03 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: javasctipt and cubic panorama
PostPosted: Thu Jun 04, 2009 1:01 pm 
Offline

Joined: Thu Jun 04, 2009 12:57 pm
Posts: 2
Hello,

i'm new here and in panoramas technology.

I would like to use develVR player on site but i need it to run cubic panoramas.

But i would also like to load panos via detect.js and give this panorama an id, so i can get infos from it with javascript.

Can you please help me with this? Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 19, 2009 1:55 am 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2018
Hi mattonik,

You can use DevalVR to load cubic panoramas in MOV format, no problem. I don't know if you mean another type of cubic panoramas.

If you use detectvr.js , the panorama has the id="PANORAMAID" so, you can use this id to access to the plugin. For example:

document.PANORAMAID.fullscreen=1;

Tell me if you need more help


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Fri Jun 19, 2009 10:14 am 
Offline

Joined: Thu Jun 04, 2009 12:57 pm
Posts: 2
thanks, the for that panorama id.
and by cubics i meant built from 6 pictures and the filenames can't end with number


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 19, 2009 12:26 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2018
Create a new TXT file, for example cube.txt, and write this:

Code:
(pano)
{
    type=CUBIC;
    file="front.jpg, right.jpg, back.jpg, left.jpg, top.jpg, bottom.jpg";
    zoom=0.7;
    rot=10,-45;
}


With "zoom" and "rot" you can set the initial view.

Now you can open cube.txt with the viewer.

regards!


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group