views:

33

answers:

0

Hi,

I have a 3d Scene set up and can navigate my scene etc (I am fairly experienced in Java 3D) but i still need ways to achive the following operations in Java 3D:

-map the viewing area of my Canvas3D into the virtual world (with this mapping i should be able to draw an outline (rectangle) in the virtual world around the viewing canvas). -translate from a mouse point on the canvas to a point in the virtual world (if i have this i should also be able to achieve the above objective) -translate from a point in the virtual world to a point on the Canvas3D object -i want to be able to zoom my scene to fit into the viewing area of the Canvas3D object (hopefully without trial and error. Ie. hopefully without zooming in a little, then testing points again, then repeating)

All of the above are very closely related so any help would be greatly apreciated.