Thread: [Plib-users] Is PLIB 'compatible' with Open Inventor and Qt?
Brought to you by:
sjbaker
|
From: Mark H. S. <sh...@pt...> - 2002-05-09 06:37:05
|
I'm trying to figure out whether PLIB will help in an application
I'm working on. The application is built on Open Inventor and Qt.
Is PLIB compatible with those choices?
I particularly want the fonts and text library but could make good
use of sound, the joystick, and PUI libraries. I've downloaded PLIB
and the examples and compiled them under windows, and everything
worked very nicely. The examples depended on GLUT, but I'm
uncertain the degree to which PLIB itself also depends upon it.
Thank you,
Mark Shirley
|
|
From: Mark H. S. <sh...@pt...> - 2002-05-09 08:12:03
|
Sorry to have bothered you all with the specific question about the GLUT dependency. I puwith Inventor. Has that been done before? (I realize that means ignoring ssg, but I've got some legacy code.) - Mark Shirley At 11:51 PM 5/8/2002 -0700, Mark H. Shirley wrote: >I'm trying to figure out whether PLIB will help in an application >I'm working on. The application is built on Open Inventor and Qt. >Is PLIB compatible with those choices? > >I particularly want the fonts and text library but could make good >use of sound, the joystick, and PUI libraries. I've downloaded PLIB >and the examples and compiled them under windows, and everything >worked very nicely. The examples depended on GLUT, but I'm >uncertain the degree to which PLIB itself also depends upon it. > Thank you, > Mark Shirley > > >_______________________________________________________________ > >Have big pipes? SourceForge.net is looking for download mirrors. We supply >the hardware. You get the recognition. Email Us: ban...@so... >_______________________________________________ >plib-users mailing list >pli...@li... >https://lists.sourceforge.net/lists/listinfo/plib-users |
|
From: Sebastian U. <ud...@ha...> - 2002-05-09 15:12:47
|
On Thu, 09 May 2002, sh...@pt... (Mark H. Shirley) wrote: > Date: Thu, 09 May 2002 01:26:19 -0700 > To: pli...@li... > From: sh...@pt... (Mark H. Shirley) > CC: sh...@em... > Subject: Re: [Plib-users] Is PLIB 'compatible' with Open Inventor and > Qt? > > Sorry to have bothered you all with the specific question about the GLUT > dependency. > I puwith Inventor. Has that been done before? (I realize that means > ignoring ssg, but I've got some legacy code.) Yes - recently someone tried to do so. It requires that you enable the PUI non-GLUT hack I described in my previous mail. - Sebastian |
|
From: Steve B. <sjb...@ai...> - 2002-05-09 22:04:32
|
"Mark H. Shirley" wrote: > > Sorry to have bothered you all with the specific question about the GLUT > dependency. > I puwith Inventor. Has that been done before? (I realize that means ignoring > ssg, but I've got some legacy code.) I doubt that it's been done before - but that shouldn't matter. So long as you can get a valid OpenGL rendering context, you should be able to use all of PLIB's features. That means that you could even use SSG to render objects into the Inventor window - not that this is necessarily very useful! ----------------------------- 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 |
|
From: Mark S. <sh...@pt...> - 2002-05-10 00:44:37
|
Thank you (and the others who replied). I'll try it. - Mark > -----Original Message----- > From: steve [mailto:steve]On Behalf Of Steve Baker > Sent: Friday, May 10, 2002 3:05 PM > To: Mark H. Shirley > Cc: pli...@li...; sh...@em... > Subject: Re: [Plib-users] Is PLIB 'compatible' with Open Inventor andQt? > > > "Mark H. Shirley" wrote: > > > > Sorry to have bothered you all with the specific question about the GLUT > > dependency. > > I puwith Inventor. Has that been done before? (I realize that > means ignoring > > ssg, but I've got some legacy code.) > > I doubt that it's been done before - but that shouldn't matter. So long > as you can get a valid OpenGL rendering context, you should be able to use > all of PLIB's features. That means that you could even use SSG to render > objects into the Inventor window - not that this is necessarily very > useful! > > ----------------------------- 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 |
|
From: Sebastian U. <ud...@ha...> - 2002-05-09 15:09:01
|
On Wed, 08 May 2002, sh...@pt... (Mark H. Shirley) wrote: > Date: Wed, 08 May 2002 23:51:54 -0700 > To: pli...@li... > From: sh...@pt... (Mark H. Shirley) > CC: sh...@em... > Subject: [Plib-users] Is PLIB 'compatible' with Open Inventor and Qt? > > I'm trying to figure out whether PLIB will help in an application > I'm working on. The application is built on Open Inventor and Qt. > Is PLIB compatible with those choices? > > I particularly want the fonts and text library but could make good > use of sound, the joystick, and PUI libraries. I've downloaded PLIB > and the examples and compiled them under windows, and everything > worked very nicely. The examples depended on GLUT, but I'm > uncertain the degree to which PLIB itself also depends upon it. The sound and joystick libraries can be used with almost every application. The FNT library just requires an working OpenGL context. The PUI library requires that you construct your OpenGL windows with GLUT by default. This is a rather complicated issue. There is, however, a recently often-discussed hack that allows you to use PUI independently of GLUT. For details, scroll down to the bottom of the PUI documentation at http://plib.sourceforge.net/pui/. All you have to do is basically to compile PUI with the preprocessor macro PU_NOT_USING_GLUT defined and you must define this macro just before including "pu.h" from your application. Furthermore, you must ensure that three font texture files are present in the current directory at runtime with the GLUT-less PUI and feed PUI with window dimensions through puSetWindowSize () as said in the documentation. Additionally, note that you can not spread PUI widgets across multiple windows if PUI was compiled with the non-GLUT hack enabled. I hope I could help you, - Sebastian |