From: Goncalo Carvalho (g.carvalho++at++gsa.ac.uk)
Date: 01/31/2003 07:06:03
Have you tried on the pfMaterial's to setColorMode to PFMTL_CMODE_OFF?
Goncalo
Johan Stenlund wrote:
>
> Ok, I have tried that and it looks a little bit better, but not
> perfect.
>
> I did this:
>
> geoState->setAttr(PFSTATE_BACKMTL, geoState->frontmtl);
> geoState->setAttr(PFSTATE_FRONTMTL, geoState->frontmtl);
>
> And
>
> lmodel->setTwoSide( PF_ON );
> gstate->setAttr( FPSTATE_LIGHTMODEL, lmodel );
>
> but the polygons with the back facing me is not reacting to the light.
> They have color but no light interaction. This gives me a model where some
> polygons got diffuse and specular hightlights and some just got glColor.
>
> Is there a way to fix this?
>
> //Regards, Johan
-- Goncalo Carvalho Digital Design Studio - Glasgow School of Art House for an Art Lover - Bellahouston Park 10 Dumbreck Road Glasgow G41 5BW United KingdomTel: +44 (0) 141 353 4616 Fax: +44 (0) 141 353 4422 Mobile: +44 (0) 7766 295867 mailto:g.carvalho++at++gsa.ac.uk
This archive was generated by hypermail 2b29 : Fri Jan 31 2003 - 07:11:03 PST