This website requires JavaScript.
Explore
Help
Sign In
FGFS-4.1
/
OpenSceneGraph
Watch
4
Star
0
Fork
0
You've already forked OpenSceneGraph
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
7e7e5405ef
OpenSceneGraph
/
examples
/
osgspotlight
History
Robert Osfield
3c4180d982
From Paul Martz, "To summarize the fix: OpenGL eye coords are negative outside Cartesian quadrant 1. As a result, the center of projection is eye coord (0,0), which (when used as st tex coords) looks up the lower left corner of the texture. However, in projective texturing, you usually want eye coord (0,0) to look up the center of the texture. Accomplishing this mapping requires not just a lookat and perspective transform, but also a translate and scale."
2011-04-19 13:32:25 +00:00
..
CMakeLists.txt
Moved the TARGET_NAME setting into the SETUP_APPLICATION/EXAMPLE macro
2007-03-19 17:18:59 +00:00
osgspotlight.cpp
From Paul Martz, "To summarize the fix: OpenGL eye coords are negative outside Cartesian quadrant 1. As a result, the center of projection is eye coord (0,0), which (when used as st tex coords) looks up the lower left corner of the texture. However, in projective texturing, you usually want eye coord (0,0) to look up the center of the texture. Accomplishing this mapping requires not just a lookat and perspective transform, but also a translate and scale."
2011-04-19 13:32:25 +00:00