Re: Version problems

New Message Reply Date view Thread view Subject view Author view

Brian Furtaw (brian++at++hotsauce.clubfed.sgi.com)
Mon, 4 Aug 1997 14:39:46 -0400


The simplist way to solve the problem of scaling normals is to put
glEnable(GL_NORMALIZE); right before pfDraw(); in main.C of perfly. This is
expensive since the graphics system will now have normalize lighting normals
for you but should solve your problem.

Brian

On Jul 31, 9:17am, Didier Guzzoni wrote:
> Subject: Re: Version problems
> Hello,
>
> > I have been using Performer 2.0 for developing an application using
> > Perfly. Now I switched over to Performer 2.2 beta. The lighting is
> > totally off. Especially when I use PFGS_POLYS. Is there some significant
> > difference between the versions in terms of normals, lighting, Perfly
> > etc.?
> > I haven't changed any of my code for this port.
> >
> > Please let me know about anything that has changed in this context.
> >
>
> We are having exactly the same problem with the 2.2 beta (when using
> PFGS_POLYS), the only solution we found is not to scale the loaded objects.
We
> scale them directly in their description files (Inventor, obj) but we display
> them in our Performer based application with a size of 1.0, so lightnings are
> correctly done. It sounds weird, but it is the only way we found.
>
> I hope this will help you,
>
> Cheers, Didier
>
> --
> Didier Guzzoni
> VRAI group, Swiss Federal Institute of Technology
> Phone : ++41 21 693 3823 e-mail : guzzoni++at++imtsg7.epfl.ch
> Fax : ++41 21 693 6540
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Didier Guzzoni

-- 
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o

Brian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office:(301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= 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:55:42 PDT

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