PDA

View Full Version : Forcing Texture perspective correction ?



11-12-2002, 03:34 AM
Hi, i'm writting a little demo. The thing is not going bad but some textures are not 'perspective corrected'. I use 'glHint' with GL_NICEST param., but as you know is just a hint. How can i FORCE the opengl to render in perspective correction ?
Thanks.

vladk
11-12-2002, 10:01 PM
The problem with physics is that sometimes when you get too close to the rendering plane, the distortions *must* happen. This is the way we calculate projections, especially because such matrices are not linear. Try to view from a greater distance, and set up appropriate unit-length to model-size aspect.