Re: [Plib-users] PLIB vs OpenGL axes
Brought to you by:
sjbaker
From: Ed J. <ed....@or...> - 2003-08-13 05:58:55
|
Righty-ho. I've found the answers, from like 3 years ago, via geocrawler. Splendid. I don't suppose there's any chance of, in some future version, having #ifdef's to compile the libraries in either Z_IS_UP or Y_IS_UP modes? Or, would anyone like to suggest what I'd need to hack to make myself a custom version of the library that did this? I'm thinking, anything that uses _ssgOpenGLAxisSwapMatrix would be a good place to start, and making an unrotated camera point down negative-Z. Presumably some of the loaders will need changing too? Cheers, Ed. Ed Jones wrote: > OK, so this is obviously a dopey newbie Plib 101 question but; > > What's the relationship between the axes that Plib uses and those of > OpenGL? > > I'm used to OpenGL having X going left-right, Y going up-down and Z > going in-out. This doesn't seem to be what Plib does, so why the > difference; "Since SG is designed to work with OpenGL"? (from the docs) > > Cheers, > Ed. > > P.S. I'm new to Plib, and this list, so be gentle with me! > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users |