[Plib-users] How to compute screen coordinates
Brought to you by:
sjbaker
|
From: Corto M. <ma...@no...> - 2001-06-13 20:29:37
|
Hi all=20 I want to compute the screen (pixels) coordinates in the viewport of a = world 3d point. How to do that ? I know that gluProject can do that, but i want to know the formulas = because my real objective is to estimate how much a vector visualy = increase/decrease in pixel size when the camera move with a given speed = vector in a known direction. I need this to make some kind of a auto LOD simplication/refinement of a = very complex surface. I can't do simple LOD switch because its visualy = ugly and consume too much memory and/or time. So i need to do an = incremental simplication/refinement of the mesh surface. Thanks for help. PS: For Steve Baker : You've done a pretty great job with Plib. Bravo! Malt. |