Lan Wu-Cavener wrote: > Hi, everyone: > > I have not seen any response to this note yet. I figured that I may have > not stated the question clearly. I used the ViewFrustum class from j3d.org > to calculate the view frustum for each frame. The depth of the view frustum > I got does not match the distance between the front and back clip distance. > I was wondering if I have mis-understood something. I would like to confirm > my thought because I increase the back clip distance as viewer moves > higher. > The following is what I think where the view Frustum computed through > ViewFrustum class should be > The front face of the viewFrustum (the volume enclosed by 8 frustumPoints) > is at the where the viewer is in terms of the x,y coordinates and the z > coordinate is where my front clip distance is. > The depth of the viewFrustum is the distance between my front clip distance > and back clip distance. > Any comment is welcome. Thanks in advance for your help! > > I have stopped using the ViewFrustum classes in my code recently(unrelated). But I seem to remember that Java3D's view frustum is very large, something like 10000 units. I'm not sure if that was due to a difference in VRML units verses Java3D or what... but I do remember some strangeness there. The code is there to persuse and its fairly easy math so you might take a look at that to understand it better.
-- Alan Hudson President: Yumetech, Inc. http://www.yumetech.com/ Web3D Open Source Chair http://www.web3d.org/TaskGroups/source/ =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
