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 |
|
Robert Osfield
|
cc0f1cb0fe
|
From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License
|
2007-06-12 14:20:16 +00:00 |
|
Robert Osfield
|
d6291a0ffc
|
Ported follow examples to osgViewer:
osgshape
osgsimplifier
osgsimulation
osgslice
osgspacewarp
osgspheresegment
osgspotlight
osgstereoimage
|
2007-01-11 11:47:01 +00:00 |
|
Robert Osfield
|
41a4aa1548
|
Added viewer.cleanup_frame() to all examples.
|
2006-08-02 19:55:03 +00:00 |
|
Robert Osfield
|
91855e7c50
|
Replaced tabs with spaces in examples.
|
2005-11-17 20:22:55 +00:00 |
|
Robert Osfield
|
538ced579e
|
Removed deprecated API in preparation for 0.9.9 release.
|
2005-05-09 13:09:07 +00:00 |
|
Robert Osfield
|
229d1d36b3
|
Added new osgspotlight demo
|
2004-10-01 23:18:08 +00:00 |
|