i use manual convert method from mouse position to world coordinat, but i can't find perfect ratio between mouse movement and world coordinat...
do you know how to convert it using opencascade??...
i stiil use ziyoo sugestion but still not working well...
Fri, 12/14/2007 - 12:19
I mean translation using mouse movement..
Fri, 12/14/2007 - 14:12
do you mean panning the view or moving the object?
Sat, 12/15/2007 - 08:38
moving the object!!... Because i can't get screen ratio... so my object move faster than my mouse movement...
Mon, 12/17/2007 - 04:24
get screen ratio using gluProject and gluUnProject
Wed, 12/19/2007 - 11:27
Have you tried using the Convert method to get the mouse position in world coordinates and working with that value?
I do the same and i have any problem...But maybe i don't understand your problem.
Sat, 12/22/2007 - 07:54
i use manual convert method from mouse position to world coordinat, but i can't find perfect ratio between mouse movement and world coordinat...
do you know how to convert it using opencascade??...
i stiil use ziyoo sugestion but still not working well...
Sat, 12/22/2007 - 10:46
We use V3d_View::Convert() and it works fine.