Projective texture mapping: Difference between revisions

Content deleted Content added
Narfhead (talk | contribs)
Tags: canned edit summary Mobile edit Mobile app edit Android app edit App section source
Narfhead (talk | contribs)
Tags: canned edit summary Mobile edit Mobile app edit Android app edit App section source
 
Line 16:
The previous algorithm can then be reformulated by simply considering two model-view-projection matrices: one from the eye point of view and the other from the projector point of view.
 
In this case, the projector model-view-projection matrix is essentially the aforementioned concatenationconcentration of eye-linear tcGen with the intended projector shift function.
By using those two matrices, a few instructions are sufficient to output the transformed eye space vertex position and a projective texture coordinate. This coordinate is simply obtained by considering the projector's model-view-projection matrix: in other words, this is the eye-space vertex position if the considered projector would have been an observer.