DevalVR support

 

It is currently Wed May 22, 2013 10:18 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Wish: invisible mouse
PostPosted: Mon Feb 20, 2012 5:06 pm 
Offline

Joined: Sat Jul 14, 2007 3:23 pm
Posts: 68
Hi,

a client ask me for disable the mouse visibility. If I have seen right, there is no option yet. Could be nice to get this option.

Best -
Micha


Top
 Profile  
 
 Post subject: Re: Wish: invisible mouse
PostPosted: Mon Feb 20, 2012 8:08 pm 
Offline
I only was walking somewhere...
User avatar

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

You can use ShowCursor(0) to hide the cursor. If the cursor is not visible, you can hide the toolsbar and use mousemode=4 to move the pano without click:

Code:
   settimer=timermouse,1,0.1,"ShowCursor(0);";
   toolsbar=0;
   mousemode=4;
   invertmouse=1;


regards!


Top
 Profile E-mail  
 
 Post subject: Re: Wish: invisible mouse
PostPosted: Mon Feb 20, 2012 8:25 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
I made a fullscreen example here some time ago http://www.devalvr.com/panos/panofull.zip


Top
 Profile E-mail  
 
 Post subject: Re: Wish: invisible mouse
PostPosted: Mon Feb 20, 2012 8:42 pm 
Offline

Joined: Sat Jul 14, 2007 3:23 pm
Posts: 68
I copied the code to the packer parameters and the Panorama is following the mouse movement, so I think the code is working, but the mouse arrow stay visible.
But your example works fine, so I can't direct copy the code to the packer, right? I need to use the txt files? Per txt files my MOV is shown without cursor.


Top
 Profile  
 
 Post subject: Re: Wish: invisible mouse
PostPosted: Mon Feb 20, 2012 8:54 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2007
Yes, ShowCursor() is a programming function for the script files, not a parameter. So, you must create a TXT file and config your MOV there.
Open the script TXT with the player to create the package.

regards!


Top
 Profile E-mail  
 
 Post subject: Re: Wish: invisible mouse
PostPosted: Mon Feb 20, 2012 8:58 pm 
Offline

Joined: Sat Jul 14, 2007 3:23 pm
Posts: 68
Now I understand better. Thank you for the help. :)

Micha


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