Re: [Plib-users] Newbie Question: Mixing SSG & OpenGL
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2002-05-09 22:05:42
|
Stanford Ng wrote: > > Hi everyone! I just got started with Plib and I like it a lot! Great > work, guys! > > I'm stuck with a rather embarrassing problem: I can't seem to mix SSG & > my OpenGL code together. My SSG code loads a model and displays it. My > OpenGL code draws some colored polys to the screen. They both work > individually, but I can't mix and match... > > It seems that the ssgInit() call will setup some GL state that causes > the GL calls in my custom code to not render... This is rather > perplexing as I have managed to work the 2-d font rendering via an 2-d > orthogonal projection into the code. Is this something obvious I'm > missing? > > If someone could point me to an example that has both SSG & OpenGL code > working together, I'm sure I can figure out what I'm doing wrong. Well, all of my games do - so check out TuxKart for example. ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |