From: Brian Furtaw (brian++at++sgi.com)
Date: 06/28/2001 10:30:27
A pfLightSource does a nice job on projected textures which make good
headlights. The trick to getting a nice looking headlight effect that
performs well is in specifying a pfFrustum for the light. Make sure the
frustum tightly bounds the area of the scene effected by the light. Two
examples of using projected textures that are good to look at are,
/usr/share/Performer/src/pguide/libpf/{C/shadows.c,C++/projective.C}
Brian
> su hu wrote:
>
> Hello,Performers:
>
> Does anybody know how to simulate the headlight?
> I'v downloaded an example of projected texturing posted by Marcin in
> 2000.The example simulate the headlight effect.But in the example, the
> transparent object are ignored and the example can't simulate the
> difference between p.m.8:00 and p.m.11:00.
> Could you please help me with this problem ?
> Thank you very much for help.
>
> suhu
>
> 2001/6/26
--
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com)
Graphics Guru Office:(301)572-3293 Fax: (253)323-8182
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device
Drivers
This archive was generated by hypermail 2b29 : Thu Jun 28 2001 - 10:41:08 PDT