I know that pickObject has a pickAll(x,y) behavior that shoots a ray from your screen’s plane into a 3d universe and returns a scene branch graph. I was wondering if there was anyway to do the opposite:
For instance, I want to click anywhere on the canvas3d and a new object will be created/drawn where i just clicked. MouseEvent can easily be used to give me the X and Y position of the place I just clicked in terms of screen coordinates, but how can I convert that into the XYZ coordinates of the universe so I can spawn an object at the place I clicked?
Thanks again for the help. I’m just getting the hang of Java3d, and it has been fun so far. I try to figure out problems on my own, but I figure it doesn’t hurt to ask the messageboard too.
Thanks!
DAT