DevalVR support

 

It is currently Fri May 24, 2013 4:45 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to replace brackets on hotspot with images
PostPosted: Mon Aug 15, 2011 12:38 am 
Offline

Joined: Thu Aug 11, 2011 8:32 am
Posts: 4
Could you tell me how i can replace the default brackets [ . ] with an image, on a hotspot panorama?

An example could be very helpful.


Top
 Profile E-mail  
 
 Post subject: Re: How to replace brackets on hotspot with images
PostPosted: Mon Aug 15, 2011 2:32 pm 
Offline
I only was walking somewhere...
User avatar

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

The third parameter in the NODO instraution is the name of the image. You can create an image in the script with a TYPE=IMAGE object.

Example:

Code:
(pano1)
{
    type=MOV;
    file="panos/pano1.mov";
    NODO="hotspot0",1,"hotspotimage",-74.40,31.02,183.41,-98.10,31.02,166.26,-74.40,2.14,183.41,-98.10,2.14,166.26,0, 0, 1, "To the panorama 2", "GoToFrame('pano2');";
}

(pano2)
{
    type=MOV;
    file="panos/pano2.mov";
}

(hotspotimage)
{
    type=IMAGE;
    file="images/icon.png";
}


regards!


Top
 Profile E-mail  
 
 Post subject: Re: How to replace brackets on hotspot with images
PostPosted: Mon Aug 15, 2011 11:54 pm 
Offline

Joined: Thu Aug 11, 2011 8:32 am
Posts: 4
Hi Fiero

Thanks a lot for your reply on my question.

I have an issue regarding this. Before to ask for help i had tried similar examples but i was nor able to see any image. So by your reply - example i found out that the way i was using is correct. I applied your example trying to find out what is going on and i noticed that images are visible to all browsers apart Firefox which i use 99.9%. My version was 4.0.1. I made an update to 5.0 cleaning also cash and the result is the same --> image (i used a png file) is not visible and i am surprised because i consider Firefox as the best professional browser.

So, what do you think about?


Top
 Profile E-mail  
 
 Post subject: Re: How to replace brackets on hotspot with images
PostPosted: Tue Aug 16, 2011 6:30 am 
Offline
I only was walking somewhere...
User avatar

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

Test your example with local DevalVR player, if it works then it must work in all browsers (Firefox too). If the example does not work in local player maybe there is a typo error.

regards!


Top
 Profile E-mail  
 
 Post subject: Re: How to replace brackets on hotspot with images
PostPosted: Tue Aug 16, 2011 12:24 pm 
Offline

Joined: Thu Aug 11, 2011 8:32 am
Posts: 4
Hi Fiero

On local DevalVR Player works fine but on localhost installation where i use the detectvr.js file i had the result which i mentioned.

I checked again and i found out that in plugins of Firefox there were 2 versions installed the same time, the last one 0.8.1.5 and an older 0.7.0.4 which as i disabled problem resolved.

Thank a lot again dear Fiero for your support.

Regards!


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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