DevalVR support

 

It is currently Fri May 24, 2013 3:29 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Hotspots and Spherically rendered JPG
PostPosted: Sun Apr 11, 2010 8:07 pm 
Offline

Joined: Sun Apr 11, 2010 7:25 pm
Posts: 9
I have rendered out a sperical JPG from 3DS MAX. I want to know if I can add hotspots in DevalVR to loads another jpg?

I can't seem to be able to manage this?

If not how can I convert my JPG to a MOV file ti enable me to use Deval?

Thanks


Top
 Profile E-mail  
 
 Post subject: Re: Hotspots and Spherically rendered JPG
PostPosted: Mon Apr 12, 2010 12:43 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
Hi curtisio,

Yes, you can use Jpeg panoramas with hotspots to load other Jpeg panoramas. You must create a script file, this is a simple TXT file with several instructions. Read the basic here http://www.devalvr.com/paginas/soporte/scripts.html

For example, you can create a script named "script.txt" with the next content to define two Jpeg panoramas:

Code:
(pano1)
{
    type=PANORAMIC;
    file=panorama1.jpg;
}

(pano2)
{
    type=PANORAMIC;
    file=panorama2.jpg;
}


Now, you can open this "script.txt" file with DevalVR player, the first panorama1.jpg will be loaded.

Use the Hotspots tool to create the NODO instructions into the panorama, this instruction defines a hotspot. You can copy and paste the NODO lines into your "script.txt" file, for example:

Code:
(pano1)
{
    type=PANORAMIC;
    file=panorama1.jpg;

    NODO="hotspot0",1,"",26.24,40.22,189.62,-55.65,40.22,184.81,26.24,-39.27,189.62,-55.65,-39.27,184.81,0, 0, 1, "", "GoToFrame("pano2");";
}

(pano2)
{
    type=PANORAMIC;
    file=panorama2.jpg;
}


Remove the latest text parameter in the instruction NODO, and write "GoToFrame("pano2");"
This latest parameter is the code to execute when you click in the hotspot, in this case the GoToFrame() function loads the panorama "pano2".

In addition, you can define the instruction TRANSITION in the first panorama, to add a blending effect, and a ZOOM instruction to define the initial zoom of your Jpeg panoramas, for example:

Code:
(pano1)
{
    type=PANORAMIC;
    file=panorama1.jpg;
    zoom=0.7;
    TRANSITION= 1, 100, 2, blend;

    NODO="hotspot0",1,"",26.24,40.22,189.62,-55.65,40.22,184.81,26.24,-39.27,189.62,-55.65,-39.27,184.81,0, 0, 1, "", "GoToFrame("pano2");";
}

(pano2)
{
    type=PANORAMIC;
    file=panorama2.jpg;
    zoom=0.7;

    NODO="hotspot0",1,"",-147.92,32.59,-118.08,-79.20,32.59,-175.62,-147.92,-60.36,-118.08,-79.20,-60.36,-175.62,0, 0, 1, "", "GoToFrame("pano1");";
}



Tell me if you have any problem.

regards!


Top
 Profile E-mail  
 
 Post subject: Re: Hotspots and Spherically rendered JPG
PostPosted: Mon Apr 12, 2010 1:53 pm 
Offline

Joined: Sun Apr 11, 2010 7:25 pm
Posts: 9
Thanks for the info... I'll give it a go.


Top
 Profile E-mail  
 
 Post subject: Re: Hotspots and Spherically rendered JPG
PostPosted: Mon Apr 12, 2010 2:01 pm 
Offline

Joined: Sun Apr 11, 2010 7:25 pm
Posts: 9
Just tried that... Stunning!!!

Really impressed, Thank you.


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 2 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