projecting texture on model

Blitz3D Forums/Blitz3D Programming/projecting texture on model

Jeroen(Posted 2004) [#1]
Hey,

I saw a game demo a while ago, where a character was walking under some trees, and the trees were partly blocking the sunlight.

The sunlight was "animating" on the floor, and on the character when he/she was walking under it.

But...the texture projected on the character was not moving. It was like the situation where a big blanket is tied on the floor, with someone under the blanket walking. The blanket wraps around the character when he/she walks put the blanket stays put.

Gee, did I explain that well enough?

How is something like this done? Is it really a shape with texture, modified, or a simple "trick"?


aCiD2(Posted 2004) [#2]
Check the code arcives, fredborg has posted a projective texturing *hack* entry :)