RE: [Plib-users] multiple windows
Brought to you by:
sjbaker
From: Anthony C. <ac...@Ac...> - 2001-12-27 23:47:44
|
Yes, I probably mean textures. Do you think it is a glut command? If you find it let me know. I have the source to PrettyPoly but it uses a few other libs, and it will take a while to sort through it. Thanks Anthony -----Original Message----- From: steve [mailto:steve]On Behalf Of Steve Baker Sent: Thursday, December 27, 2001 6:26 PM To: Anthony Corriveau Cc: pli...@li... Subject: Re: [Plib-users] multiple windows Anthony Corriveau wrote: > I am trying to render one scene in multiple windows. > It works except for the colors. The colors are only applied to the last > window created before the call to ssgLoadAC(). Do you really mean "colours" in the sense that OpenGL means it? Perhaps you really mean "textures"...in which case I have an answer for you. > Like this > > glutCreateWindow("win1"); > glutCreateWindow("win2"); > ssgLoadAC(...) > glutCreateWindow("win3"); > glutCreateWindow("win4"); You have to explicitly tell the windowing system that you want textures to be shared between windows. I forget how you do that right now (I don't often work with multiple windows)...it's not a PLIB/SSG command - it's something in the windowing system commands. > Only win2 will have the colors applied to it. Is there any examples of > multiple windows programs out there that use plib? I have found some multi > window programs, but they do not use plib. PrettyPoly opens multiple windows and renders the same model in each of them. ----------------------------- 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 |