Hello, This could be a very basic question, but I am new to Java3d though I have used cosmo3d etc. I have a canvas , a scene graph.I would like to write a function that would fit a pariticular view onto the canvas. For eg. if the view were zoomed it would just show some portions of the scene graph. In cosmo3d I would play with the camera, fov, the angles and the viewport. Please could you give me a top-level idea of how to go about this in Java3d? I have a function to return the radius of the entire bounding sphere of the scenegraph. My basic problem is in knowing the angle at which the camera is w.r.t to the image plate. Would appreciate some tips on this. Thanks, Roland
|