DevalVR support

 

It is currently Sat Nov 29, 2014 9:05 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: gets 2d-coordinats and 3d-coordinats of a mouse
PostPosted: Thu Jun 11, 2009 7:38 pm 
Offline

Joined: Fri Apr 17, 2009 6:04 am
Posts: 54
Location: Novosibirsk, Russia
http://www.devalvr.com/paginas/soporte/javascript.html

Fiero, i want gets 2d-coordinats and 3d-coordinats of a mouse from plugin.

document.plugin_name.parameter_name = value;

How I can do it? Can you add these plugin methods, if it not possible?
I make small program with GUI for creating virtual tours (maker dvl-script). :roll:


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 11, 2009 7:50 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2018
I updated that page with all available values for Commands("getvalue",...)

A GUI is very needed, I must work on it too.


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

Joined: Fri Apr 17, 2009 6:04 am
Posts: 54
Location: Novosibirsk, Russia
Yohoooo!!!! :D Thanks!!


Top
 Profile  
 
 Post subject: values 3dx,3dy,3dz of mouse's coordinats don't coincide
PostPosted: Sat Jun 13, 2009 12:04 pm 
Offline

Joined: Fri Apr 17, 2009 6:04 am
Posts: 54
Location: Novosibirsk, Russia
Hi, Fiero! How do you do? :wink:
Why values 3dx,3dy,3dz of mouse's coordinats don't coincide?
Please, see screenshots:
http://cifro-city.ru/tmp/scriptman.jpg
http://cifro-city.ru/tmp/scriptman2.jpg
:roll:


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 13, 2009 12:23 pm 
Offline
I only was walking somewhere...
User avatar

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

The coordinates shown in the text info are 3D coordinates of a cube, and the coordinates returned from Commands function are 3D corrdinates of a sphere.

This is not a problem, because you can use any coordinate to place a 3D element. Anyway I can fix this to see always the sphere coordinates in the two functions.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sat Jun 13, 2009 4:10 pm 
Offline
I only was walking somewhere...
User avatar

Joined: Tue Aug 09, 2005 1:55 am
Posts: 2018
I updated this plugin in beta folder http://www.devalvr.com/install/beta
Now the 3D mouse coordinates in the info text are spherical.

regards!


Top
 Profile E-mail  
 
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 1 guest


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