Content deleted Content added
Izzyhopemoon (talk | contribs) the projector's properties which was stored in texture changed to the projector's properties which were stored in texture |
m →Fixed function pipeline approach: Fixed typo Tags: canned edit summary Mobile edit Mobile app edit Android app edit App section source |
||
Line 6:
== Fixed function pipeline approach ==
Historically{{ref|nvsdk_ptm}}, using projective texture mapping involved considering a special form of eye linear texture coordinate generation{{ref|glEyeLinear}} transform (''tcGen'' for short). This transform was then multiplied by another matrix representing the projector's properties which were stored in texture coordinate transform matrix{{ref|glTCXform}}. The resulting
The key points of this approach are that eye linear tcGen is a function of vertex eye coordinates, which is a result of both eye properties and object space vertex coordinates (more specifically, the object space vertex position is transformed by the model-view-projection matrix).
Because of that, the corresponding texture matrix can be used to "shift" the eye properties so the
== Programmable pipeline approach ==
|