Re: ssgContext bug and remedy (was Re: [Plib-devel] Simple SSG examples)
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-08-06 19:09:32
|
Steve Baker wrote: > > Sam Stickland wrote: > > > > RE: [Plib-devel] Simple SSG examplesThere were a couple of problems with > > it - one was my fault (polygon winding issues - should had realised back > > face culling was on by default, doh! ), and the other is a bug in ssg. > > > > The ssgContext class initialises the camera matrix to the identity > > matrix and not _ssgOpenGLAxisSwapMatrix. So if you do nothing with the > > camera you end up with opengl's coordinate covention (y is up), rather > > than ssg's (z is up). > > Hmmm - yes - you are exactly right. > > I have never written a program where the camera wasn't initialised > explicitly. > > I'll fix it right now. ...Done. -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |