Re: Problems with local light source in OpenGL on Onyx.

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid)
Tue, 29 Oct 1996 12:18:34 -0800


On Oct 25, 12:34pm, Paolo Farinelli wrote:
> Subject: Re: Problems with local light source in OpenGL on Onyx.
> Tomas Moller wrote:
>
> > Hello,
> > I am developing a Performer 2.0 (OpenGL) based application and I am using
> > one local lightsource. It works fine on Impacts and IRs, but on an Onyx the
> > colors of the geometry totally flips.
> > Can anyone help? Is there a patch for this?
>
> > /Tomas
>
> I think we had the same problem too. We seem to have solved it by adding a
> light of type ambient.

Sorry about the delay, I think I previously posted that this sounded like a
known RE2/OpenGL problem ( bug 341355 ) with having only a local light. The
workaround above is obviously OK or the other thing is to have OpenGL use
glColorMaterial() with GL_DIFFUSE instead of GL_AMBIENT_AND_DIFFUSE (
pfMaterial::setColorMode with PFMTL_CMODE_DIFFUSE rather than default
PFMTL_CMODE_AMBIENT_AND_DIFFUSE ).

The bug is fixed in patch 1442: RealityEngine rollup patch #1 for IRIX 6.2

Cheers
Rob

-- 
________________________________________________________________
Rob Jenkins robj++at++csd.sgi.com
Silicon Graphics, Mtn View, California, USA
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:49 PDT

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