"Curtis L. Olson" wrote:
> 
> Here's a question I'll throw out to the list on my way to bed.
> 
> I'm working on VASI/PAPI type lights tonight and am running into a
> problem.  I'm using environment mapping with the normal aligned along
> the desired approach path.  This almost works as expected except for
> one major problem.  The texture coordinate that is generated is
> ***highly*** dependent on the object's position on the screen.
> 
> Thus, on approach, simply pitching up or down radically changes the
> color of the vasi light, even though the relative view position
> changes very little.

Something to take cara about with environment mapping is the orientation
of the normal vector. If you've got it wron (i.e. pointing away from you
not towards you) you'll see the singularity - and thus quite possibly
rapid changes.

Apart fro mthat I can't help - except to point you to the little demo I
wrote quite a long time ago. It seemed to work correctly for me.

CU,
Christian

--
The idea is to die young as late as possible.        -- Ashley Montague

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to