Re: [Plib-devel] Simple SSG examples
Brought to you by:
sjbaker
From: Sam S. <sa...@sp...> - 2000-08-04 12:50:03
|
RE: [Plib-devel] Simple SSG examples----- Original Message -----=20 From: Dave McClurg=20 To: 'pli...@li...'=20 Sent: Thursday, August 03, 2000 8:22 PM Subject: RE: [Plib-devel] Simple SSG examples Without debugging it, I noticed that=20 // Create a simple state - no lighting, no texuring etc.=20 ssgSimpleState *state =3D new ssgSimpleState();=20 state->disable(SSG_GL_LIGHTING_EN);=20 might be causing problems. Try this instead:=20 ssgSimpleState *state =3D new ssgSimpleState () ;=20 state -> disable ( GL_LIGHTING ) ;=20 and maybe add:=20 state -> disable ( GL_ALPHA_TEST ) ;=20 state -> disable ( GL_BLEND ) ;=20 state -> setOpaque () ;=20 I gave that a go, but I didn't have any luck with it. I also tried = passing normal and texture ararrys rather than nulls in that was having = an effect - no joy. I even tried explicitly setting the camera to the = orign, and still got nothing. I'm obviously missing something very basic in my code :/ Thanks for the reply, Sam |