Hi. I am using a 3D calculator. I have made a 3D surface, and i want to move my cursor over it and view each coordinate on the surface under my cursor.
do you want something like this ?
Hi. Your example looks similar to what i want, but not really. I want to define my own surface, move my cursor over it and view the coordinate of each point on my surface
@Patrick : cursor se traduit par "pointeur de la souris" (sinon c'est slider)
@eugen : if you move your cursor over a surface (sphere for example), you want coordinate of foreground point (and not background) and you want show nothing if your cursor is not over the surface ?
but in 3D, position of cursor define a line...
(perhap's it is possible : position of cursor define a line, and show intersect of this line and your surface
Yep, i want a foreground point. And if my cursor is over the surface, it should either show nothing, or closest point to a cursor.
And it is possible. You can just cast a ray from your screen coordinate directly to the nearest point of the surface. It just requires some math to achieve. For instance, in video games, you can select any 3D object on a screen with your cursor.
My question was not answered!
Comments have been locked on this page!