PDA

View Full Version : Mouse 2D coordinate to viz world 3D coordinate


james007
10-08-2009, 11:05 AM
Hi,

I am using mouse to navigate in Viz world 3D coordinate. How could i convert
mouse 2D to viz 3D coordinate system?

Thanks.

James

farshizzo
10-08-2009, 12:11 PM
You can use the viz.MainWindow.screenToWorld() (http://www.worldviz.com/vizhelp/commands/window/screenToWorld.htm) command to convert 2D screen coordinates to 3D world coordinates. Have a look in the docs for more information.