Re: pfLightSource

New Message Reply Date view Thread view Subject view Author view

From: Paul Berridge (paulb++at++equipe.ltd.uk)
Date: 04/14/2000 06:25:11


Thanks for the suggestion but unfortunately that doesn't solve my
problem.

Normally, I have two illumination sources in my scene - the sun/moon and
the aircraft light. If I just have the aircraft light (pfLightSource)
then the scene is illuminated as expected (except for the horizon - see
below) and setting the pfFrustum restricts the pfLightSource. With the
sun/moon pfLightSource is attached to the scene graph the aircraft
pfLightSource (faintly) illuminates scene elements outside its frustum.

The sun/moon is a pfLightSource at infinity attached to the pfScene. The
aircraft light is a local pfLightSource attached to the aircraft model
in the scene graph.

I originally had a pfLight for the sun/moon but that didn't work at all
when I added the aircraft pfLightSource.

With or without the sun/moon pfLightSource I have problems with my
horizon model. This has fog and lighting disabled (texture enabled).
Whenever I turn on the aircraft pfLightSource the horizon lighting
changes.

I'm using Performer 2.2.7 with IRIX 6.5 on an Onyx 2.

Brian Furtaw wrote:
>
> Paul,
>
> Have you tried tightening up the pfFrustum that you use for the PROJTEX
> light? Create a frustum that only encompasses the objects that you want
> to light.
>
> --
> ----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
>
> Brian Furtaw (brian++at++sgi.com)
> Graphics Guru Office:(301)572-3293 Fax: (301)572-3280
> 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
> Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device
> Drivers

-- 
Paul Berridge
Principal Development Engineer
Equipe Electronics Ltd.
13 Liverpool Gardens
Worthing, W. Sussex
BN11 1RY
ENGLAND

Phone +44 (0) 1903 216622 FAX +44 (0) 1903 216633

mailto:paulb++at++equipe.ltd.uk http://www.equipe.ltd.uk


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Apr 14 2000 - 06:30:49 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.