Logo
Explore Help
Sign In
FGFS-4.1/OpenSceneGraph
4
0
Fork 0
You've already forked OpenSceneGraph
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
a7939588369533dcafe3e87663fb418fce47799f
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
Powered by Gitea Page: 239ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API