Re: Performer 2.0 and OpenGL

New Message Reply Date view Thread view Subject view Author view

AnitaKishore (kishore++at++electrogig.com)
Tue, 23 Jan 1996 10:11:13 -0800


On Jan 23, 9:07am, Gene Koh wrote:
> Subject: Re: Performer 2.0 and OpenGL
> On Jan 22, 10:47am, Bruno Rassaerts wrote:
> > Subject: Performer 2.0 and OpenGL
> > Hi,
> >
> > I compiled the perfly demo program for openGL and the lighting is
> > incorrect. I compiled it using "make oglopt" and some polygons are
> > allways shaded black. When I compile the iris gl version, everything
> > works just fine.
> >
> > Has anyone got this problem too ?
>
> I saw some problems during a class when we tried to compile and link with the
> OpenGL DSOs. The program loaded a terrain model and had a light source (like
a
> headlight) driving around the scene. Worked fine with the IRIS GL DSOs, but
> with the OpenGL ones, the terrain polygons were lit different colors
(should've
> been green, but got some white, blue, pink, etc.).

I had some color problems too with openGL. We use the inventor loader.
So in the pfiv code we changed the order of reading RGBA bytes in the
"getTexture" routine. Since then the colors became allright. Now the
new performer2.0 pfiv loader too has this correction, so we don't have
to do it ourself.

-anita


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:52:17 PDT

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