Oyarzun wrote: > I need to obtain the ecuations of the planes that limit the view > frustum. I am doing it starting from the multiplication of the projection > matrix by the modelview matrix. I use the getLeftProjection and getVpctoEc > functions of the View class and I think that the problem is here. Can > anybody help me?
Have a look at the source to org.j3d.terrain.ViewFrustum oin the j3d.org code respotiory (http://code.j3d.org). It basically starts with a simple unit cube and then "scales" the 6 planes that define the unit cube by the projection matrix from the left eye to give the real view frustum definition. -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== 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".