plib-users Mailing List for PLIB (Page 53)
Brought to you by:
sjbaker
You can subscribe to this list here.
2000 |
Jan
|
Feb
(24) |
Mar
(54) |
Apr
(29) |
May
(58) |
Jun
(29) |
Jul
(675) |
Aug
(46) |
Sep
(40) |
Oct
(102) |
Nov
(39) |
Dec
(40) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(45) |
Feb
(23) |
Mar
(30) |
Apr
(64) |
May
(28) |
Jun
(61) |
Jul
(55) |
Aug
(35) |
Sep
(24) |
Oct
(23) |
Nov
(21) |
Dec
(67) |
2002 |
Jan
(98) |
Feb
(23) |
Mar
(13) |
Apr
(23) |
May
(43) |
Jun
(45) |
Jul
(54) |
Aug
(5) |
Sep
(56) |
Oct
(17) |
Nov
(53) |
Dec
(26) |
2003 |
Jan
(67) |
Feb
(36) |
Mar
(22) |
Apr
(35) |
May
(26) |
Jun
(35) |
Jul
(10) |
Aug
(49) |
Sep
(17) |
Oct
(3) |
Nov
(30) |
Dec
(10) |
2004 |
Jan
(12) |
Feb
(18) |
Mar
(52) |
Apr
(50) |
May
(22) |
Jun
(13) |
Jul
(16) |
Aug
(23) |
Sep
(21) |
Oct
(29) |
Nov
(6) |
Dec
(26) |
2005 |
Jan
(9) |
Feb
(19) |
Mar
(13) |
Apr
(19) |
May
(12) |
Jun
(8) |
Jul
(6) |
Aug
(10) |
Sep
(22) |
Oct
(3) |
Nov
(6) |
Dec
(17) |
2006 |
Jan
(10) |
Feb
(8) |
Mar
(5) |
Apr
(5) |
May
(6) |
Jun
(8) |
Jul
(8) |
Aug
(13) |
Sep
(2) |
Oct
(1) |
Nov
(9) |
Dec
(6) |
2007 |
Jan
(3) |
Feb
(4) |
Mar
(12) |
Apr
(2) |
May
(6) |
Jun
|
Jul
(22) |
Aug
|
Sep
(9) |
Oct
(13) |
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
(6) |
Mar
(2) |
Apr
(4) |
May
(15) |
Jun
(28) |
Jul
(8) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2009 |
Jan
(5) |
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(2) |
Apr
(7) |
May
(4) |
Jun
(2) |
Jul
(5) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2011 |
Jan
(7) |
Feb
(2) |
Mar
(1) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(1) |
Nov
(4) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sebastian U. <ud...@ha...> - 2002-06-06 17:56:47
|
On Thu, 06 Jun 2002, de...@es... (Ferréol de SORAS) wrote: > Date: Thu, 06 Jun 2002 19:18:49 +0300 > To: pli...@li... > From: de...@es... (Ferréol de SORAS) > Subject: Re: [Plib-users] problem (with plib) while installing > SimGear(FlightGear) > > well in fact i compiled plib with > > "./configure --with-GL=/usr/src/glut-3.7" so that plib found my opengl > directory because it dit not find it by default Didn't you say that you do not know linux very well ? Then PLEASE, PLEASE do not try to compile Mesa or GLUT yourself. Use the appropiate packages supplied with your distribution (there are some, really). Being a non-experienced user, you risk messing up your system otherwise. Even as an experienced user, you mess up your systems package handling unless you tell the RPM (I assume that your distribution is RPM-based) database about what you installed in some way. I bet if you had used the packages that came with your linux distribution, SimGear had ./configure'd flawlessly. The best thing is if you try to remove the libraries and header files you installed manually from your system (if you know approximately when you did the install, find -cmin helps - see "man find" for details) and install the corresponding RPM packages afterwards. > after you told me to look at the log, i remarked there was a problem > with glut and i tried to configure simgear unsuccessfully with the > same argument, but it did not work > > i'll try to copy my gl files in several directories untill it works > :-) > (or link the dir) No, please also don't do that. > the stupid fact is the configure script which says there is a problem > with plib whereas it is with gl dir..... Well - the configure program tries to compile a simple program that includes pu.h. If the compilation process failes, then this does not necessarily mean that the pu.h header file is missing or that something is wrong with it - it could also be any of the header files included by it directly or indirectly. What wonders *me* is that when the Simgear configure script checks for GLUT, no error ocourrs, while the compiler obviously cannot find the GLUT header fine when checking for pu.h. - Sebastian |
From: de S. <de...@es...> - 2002-06-06 17:18:59
|
well in fact i compiled plib with "./configure --with-GL=/usr/src/glut-3.7" so that plib found my opengl directory because it dit not find it by default after you told me to look at the log, i remarked there was a problem with glut and i tried to configure simgear unsuccessfully with the same argument, but it did not work i'll try to copy my gl files in several directories untill it works :-) (or link the dir) the stupid fact is the configure script which says there is a problem with plib whereas it is with gl dir..... ------------------- > > > On Thu, 06 Jun 2002, de...@es... (Ferréol de SORAS) wrote: > > Date: Thu, 06 Jun 2002 17:44:50 +0300 > > To: pli...@li... > > From: de...@es... (Ferréol de SORAS) > > Subject: Re: [Plib-users] problem (with plib) while installing > > SimGear(FlightGear) > > [...] > > > please find the configure log just following (the last 50 lines) > > [...] > > > configure:3634: checking for plib/pu.h > > configure:3644: gcc -E -I/usr/local/include -I/usr/X11R6/include > > conftest.c >/dev/null 2>conftest.out > > In file included from configure:3640: > > /usr/local/include/plib/pu.h:48: GL/glut.h: No such file or directory > > configure: failed program was: > > #line 3639 "configure" > > See the third last line. The GLUT header file is obviously missing on your > system or the compiler cannot find it. > > If you compiled PLIB from source before, than I doubt that the file is > actually missing, since if it would have been at that time, you surely > wouldn't have been able to compile PLIB. > > Try the following: > > find / -name "glut.h" > > (in case you do that as non-root, ignore the warnings about the directories > that find was unable to process due to their permission bits. System-wide > installed header files usually don't reside in these directories.) > > If the file shows up either in /usr/include/GL/, /usr/local/include/GL/ or > /usr/X11R6/include/GL/, then everything should be fine (well, in the last > case Steve might argue that things are not fine - but as I can see from the > gcc commandline in the logs, /usr/X11R6/include/ is added to the > searchpatch, so there is no need for you to care about this issue for > now.). > > In case the file doesn't show up at all, you've got a problem. However, > before trying to compile and install GLUT manually, *PLEASE* grab your > distribution's CD and locate the package(s) containing the GLUT library and > header file. Then, try to install these again. > > > - Sebastian > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > Ferréol de Soras |
From: Sebastian U. <ud...@ha...> - 2002-06-06 16:22:14
|
On Thu, 06 Jun 2002, de...@es... (Ferréol de SORAS) wrote: > Date: Thu, 06 Jun 2002 17:44:50 +0300 > To: pli...@li... > From: de...@es... (Ferréol de SORAS) > Subject: Re: [Plib-users] problem (with plib) while installing > SimGear(FlightGear) [...] > please find the configure log just following (the last 50 lines) [...] > configure:3634: checking for plib/pu.h > configure:3644: gcc -E -I/usr/local/include -I/usr/X11R6/include > conftest.c >/dev/null 2>conftest.out > In file included from configure:3640: > /usr/local/include/plib/pu.h:48: GL/glut.h: No such file or directory > configure: failed program was: > #line 3639 "configure" See the third last line. The GLUT header file is obviously missing on your system or the compiler cannot find it. If you compiled PLIB from source before, than I doubt that the file is actually missing, since if it would have been at that time, you surely wouldn't have been able to compile PLIB. Try the following: find / -name "glut.h" (in case you do that as non-root, ignore the warnings about the directories that find was unable to process due to their permission bits. System-wide installed header files usually don't reside in these directories.) If the file shows up either in /usr/include/GL/, /usr/local/include/GL/ or /usr/X11R6/include/GL/, then everything should be fine (well, in the last case Steve might argue that things are not fine - but as I can see from the gcc commandline in the logs, /usr/X11R6/include/ is added to the searchpatch, so there is no need for you to care about this issue for now.). In case the file doesn't show up at all, you've got a problem. However, before trying to compile and install GLUT manually, *PLEASE* grab your distribution's CD and locate the package(s) containing the GLUT library and header file. Then, try to install these again. - Sebastian |
From: de S. <de...@es...> - 2002-06-06 15:45:05
|
> > sorry for my bad english, i'm french > > I am not a native speaker either, but I'd say your english sounds quite > good. > > > > i got a problem while installing simgear, and as i don't know linux > > very well, i do not know if it comes from simgear or plib install > > > > just after i've installed plib, in the "./configure" step of simgear > > install, it says it cannot find plib/pu.h in the right directory, > > although files are where needed... > > > > Might it be a problem in plib install ( some tools might be unable to > > detect that plib is corectly installed) or an error in simgear's > > configure sript ? > > have any of you ever met this problem ? > > Please send us the last ~ 50 lines from config.log, which should be in the > directory where you tried compiling SimGear. > > > - Sebastian > please find the configure log just following (the last 50 lines) int main() {socket() ; return 0; } configure:2790: checking for XCreateWindow in -lX11 configure:2809: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lX11 -lpthread -lm 1>&5 configure:2837: checking for XShmCreateImage in -lXext configure:2856: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lXext -lX11 -lpthread -lm 1>&5 configure:2884: checking for XGetExtensionVersion in -lXi configure:2903: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:2931: checking for IceOpenConnection in -lICE configure:2950: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:2978: checking for SmcOpenConnection in -lSM configure:2997: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:3025: checking for XtMalloc in -lXt configure:3044: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:3072: checking for XmuLookupStandardColormap in -lXmu configure:3091: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:3126: checking for glNewList in -lGLcore configure:3145: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lGLcore -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 /usr/i386-slackware-linux/bin/ld: cannot find -lGLcore collect2: ld returned 1 exit status configure: failed program was: #line 3134 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char glNewList(); int main() { glNewList() ; return 0; } configure:3174: checking for glNewList in -lGL configure:3193: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:3366: checking for gluLookAt in -lGLU configure:3385: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:3463: checking for glutGetModifiers in -lglut configure:3482: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:3512: checking for glutGameModeString in -lglut configure:3531: gcc -o conftest -g -O2 -D_REENTRANT -I/usr/local/include -I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib conftest.c -lglut -lglut -lGLU -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lpthread -lm 1>&5 configure:3634: checking for plib/pu.h configure:3644: gcc -E -I/usr/local/include -I/usr/X11R6/include conftest.c >/dev/null 2>conftest.out In file included from configure:3640: /usr/local/include/plib/pu.h:48: GL/glut.h: No such file or directory configure: failed program was: #line 3639 "configure" |
From: de S. <de...@es...> - 2002-06-06 08:48:29
|
------------------- > > > On Wed, 05 Jun 2002, de...@es... (Ferréol de SORAS) wrote: > > Date: Wed, 05 Jun 2002 23:48:09 +0300 > > To: pli...@li... > > From: de...@es... (Ferréol de SORAS) > > Subject: [Plib-users] problem (with plib) while installing > > SimGear(FlightGear) > > > > sorry for my bad english, i'm french > > I am not a native speaker either, but I'd say your english sounds quite > good. > > > > i got a problem while installing simgear, and as i don't know linux > > very well, i do not know if it comes from simgear or plib install > > > > just after i've installed plib, in the "./configure" step of simgear > > install, it says it cannot find plib/pu.h in the right directory, > > although files are where needed... > > > > Might it be a problem in plib install ( some tools might be unable to > > detect that plib is corectly installed) or an error in simgear's > > configure sript ? > > have any of you ever met this problem ? > > Please send us the last ~ 50 lines from config.log, which should be in the > directory where you tried compiling SimGear. > > > - Sebastian well, i will only be able to send it on friday, but i remember it stops on output " checking for plib/pu.h...no yous *must* have plib installed on your computer.... configure aborted " as soon as i am able to post the log, i'll do it thanks |
From: Sebastian U. <ud...@ha...> - 2002-06-05 22:05:12
|
On Wed, 05 Jun 2002, de...@es... (Ferréol de SORAS) wrote: > Date: Wed, 05 Jun 2002 23:48:09 +0300 > To: pli...@li... > From: de...@es... (Ferréol de SORAS) > Subject: [Plib-users] problem (with plib) while installing > SimGear(FlightGear) > > sorry for my bad english, i'm french I am not a native speaker either, but I'd say your english sounds quite good. > i got a problem while installing simgear, and as i don't know linux > very well, i do not know if it comes from simgear or plib install > > just after i've installed plib, in the "./configure" step of simgear > install, it says it cannot find plib/pu.h in the right directory, > although files are where needed... > > Might it be a problem in plib install ( some tools might be unable to > detect that plib is corectly installed) or an error in simgear's > configure sript ? > have any of you ever met this problem ? Please send us the last ~ 50 lines from config.log, which should be in the directory where you tried compiling SimGear. - Sebastian |
From: de S. <de...@es...> - 2002-06-05 21:48:16
|
sorry for my bad english, i'm french ______________________________________ i got a problem while installing simgear, and as i don't know linux very well, i do not know if it comes from simgear or plib install just after i've installed plib, in the "./configure" step of simgear install, it says it cannot find plib/pu.h in the right directory, although files are where needed... Might it be a problem in plib install ( some tools might be unable to detect that plib is corectly installed) or an error in simgear's configure sript ? have any of you ever met this problem ? thanks to any ansewr Ferréol de Soras |
From: Steven C. <ste...@nt...> - 2002-06-05 18:07:28
|
Hi if anyone wants to see my project that i was working on I have just finished it. So if anyone want to have a look it's on. http://homepage.ntlworld.com/steven.clark4/ Any comments or errors would be very much welcome, well not errors but you understand. Steven |
From: Steve B. <sjb...@ai...> - 2002-05-15 13:09:07
|
Stanford Ng wrote: > After much digging under the hood of my program, I'm still encountering > problems with mixing SSG & OpenGL. I've narrowed it down to the > ssgCullAndDraw() call influencing the GL state somehow. It does change state without restoring it - yes. That's not accidental though - it's very inefficient in OpenGL to keep setting and restoring state unnecessarily - so we leave it to the application to save and restore state if it wishes to. Many applications (all of mine) get away without doing that and are faster as a result, others can do things like not restoring all of the detailed texture attributes because they just glDisable texture globally. So, it's better to let the application decide. > When I comment > out ssgCullAndDraw() in my redraw routine, the draw_water() works fine, > drawing a blue rectangle. When I leave the call in there, the rectangle > is still drawn, but it is very dark and blends right into the > background. > > I'm trying to puzzle out what ssgCullAndDraw() is doing that would > affect the standard OpenGL stuff... I'm still quite a novice when it > comes to these things. If someone could explain things, I'd much > appreciate it! Thanks in advance! As a first shot at fixing this, you could wrap ssgCullAndDraw with glPushAttrib ( GL_ALL_ATTRIB_BITS ) ; ssgCullAndDraw () ; glPopAttrib () ; ...that will almost certainly fix your problem - but at some performance cost. If you find that cost is acceptable - then you're done. If not then you'll have to ascertain which things that SSG changed are not acceptable to your draw_water() function. ----------------------------- 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: Stanford N. <st...@th...> - 2002-05-15 12:59:05
|
Thanks for the pointers! After much digging under the hood of my program, I'm still encountering problems with mixing SSG & OpenGL. I've narrowed it down to the ssgCullAndDraw() call influencing the GL state somehow. When I comment out ssgCullAndDraw() in my redraw routine, the draw_water() works fine, drawing a blue rectangle. When I leave the call in there, the rectangle is still drawn, but it is very dark and blends right into the background. I'm trying to puzzle out what ssgCullAndDraw() is doing that would affect the standard OpenGL stuff... I'm still quite a novice when it comes to these things. If someone could explain things, I'd much appreciate it! Thanks in advance! -- stan << CODE SNIPPETS FOR REFERENCE >> void redraw() { update_game() ; glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); ssgCullAndDraw( scene ); draw_water(); draw_text(); glutPostRedisplay(); glutSwapBuffers(); } void draw_water() { glMatrixMode( GL_PROJECTION ); glPushMatrix(); glLoadIdentity(); glMatrixMode( GL_MODELVIEW ); glPushMatrix(); glLoadIdentity(); GLfloat lmodel_ambient[] = { 0.8, 0.8, 0.8, 1.0 }; glLightModelfv( GL_LIGHT_MODEL_AMBIENT, lmodel_ambient ); glColor3f( 0.0f, 0.0f, 1.0f ); glBegin( GL_QUADS ); glVertex3f( 0.3f, 0.3f, 0.0f ); glVertex3f( -0.3f, 0.3f, 0.0f ); glVertex3f( -0.3f, -0.3f, 0.0f ); glVertex3f( 0.3f, -0.3f, 0.0f ); glEnd(); glPopMatrix(); glMatrixMode( GL_PROJECTION ); glPopMatrix(); } -----Original Message----- From: steve [mailto:steve] On Behalf Of Steve Baker Sent: Friday, May 10, 2002 2:07 PM To: Stanford Ng Cc: pli...@li... Subject: Re: [Plib-users] Newbie Question: Mixing SSG & OpenGL 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 |
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: 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 |
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: Stanford N. <st...@th...> - 2002-05-09 17:59:52
|
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. Thanks in advance! -- stan c",) |
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: 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 |
From: Christian M. <ma...@Ch...> - 2002-05-09 09:21:33
|
Steve Baker wrote: > > Sebastian Ude wrote: > > > > On Wed, 8 May 2002, ale...@ie... (Alex Perry) wrote: > > > Date: Wed, 8 May 2002 08:42:33 -0700 (PDT) > > > To: pli...@li..., fli...@fl... > > > From: ale...@ie... (Alex Perry) > > > Subject: [Plib-users] Not organizing a LinuxTag booth > > > > > > Due to a lack of interest, I am _NOT_ organizing a shared booth for PLIB > > > users. > > > > Are you sure that it is lack of interest ? I'd say what we are talking > > about is perhaps lack of money, but most likely lack of *time*. > > Lack of time to take out a week to fly to Germany and back - lack of > money to buy airline tickets and a week of hotel bills. Probably lack of money to buy the hotel bill; AFAIK does anyone who gives a speech travel for free (ask Alex). I hope you can do it next year. So I have a realistic chance to drink a beer with you! CU, Christian -- The idea is to die young as late as possible. -- Ashley Montague Whoever that is/was; (c) by Douglas Adams would have been better... |
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: 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: Sebastian U. <ud...@ha...> - 2002-05-08 23:09:40
|
On Thu, 09 May 2002, sjb...@ai... (Steve Baker) wrote: > Date: Thu, 09 May 2002 18:05:15 -0500 > To: ud...@ha... > From: sjb...@ai... (Steve Baker) > CC: pli...@li..., fli...@fl... > Reply-To: sjb...@ai... > Subject: Re: [Plib-users] Not organizing a LinuxTag booth [...] > > Are you sure that it is lack of interest ? I'd say what we are talking > > about is perhaps lack of money, but most likely lack of *time*. > > Lack of time to take out a week to fly to Germany and back - lack of > money to buy airline tickets and a week of hotel bills. > > But not lack of interest. As I said. However, I don't believe you the money thing - remember the consultancy fees story :-). - Sebastian |
From: Steve B. <sjb...@ai...> - 2002-05-08 23:04:17
|
Sebastian Ude wrote: > > On Wed, 8 May 2002, ale...@ie... (Alex Perry) wrote: > > Date: Wed, 8 May 2002 08:42:33 -0700 (PDT) > > To: pli...@li..., fli...@fl... > > From: ale...@ie... (Alex Perry) > > Subject: [Plib-users] Not organizing a LinuxTag booth > > > > Due to a lack of interest, I am _NOT_ organizing a shared booth for PLIB > > users. > > Are you sure that it is lack of interest ? I'd say what we are talking > about is perhaps lack of money, but most likely lack of *time*. Lack of time to take out a week to fly to Germany and back - lack of money to buy airline tickets and a week of hotel bills. But not lack of interest. ----------------------------- 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-08 16:42:22
|
On Wed, 8 May 2002, ale...@ie... (Alex Perry) wrote: > Date: Wed, 8 May 2002 08:42:33 -0700 (PDT) > To: pli...@li..., fli...@fl... > From: ale...@ie... (Alex Perry) > Subject: [Plib-users] Not organizing a LinuxTag booth > > Due to a lack of interest, I am _NOT_ organizing a shared booth for PLIB > users. Are you sure that it is lack of interest ? I'd say what we are talking about is perhaps lack of money, but most likely lack of *time*. Nevertheless, thanks for your efforts ... - Sebastian |
From: Alex P. <ale...@ie...> - 2002-05-08 15:42:40
|
Due to a lack of interest, I am _NOT_ organizing a shared booth for PLIB users. |
From: Sebastian U. <ud...@ha...> - 2002-05-06 14:13:24
|
On Mon, 06 May 2002, ph...@zo... (Rob Haarsma) wrote: > Date: Mon, 06 May 2002 13:57:49 +0200 > To: pli...@li... > From: ph...@zo... (Rob Haarsma) > Subject: [Plib-users] ComboBox usage ? > > I tried several possibilities, but i can't get the ComboBox working. > > The clicked item doesnt get selected, and I am puzzled how to construct > the callback function(s). > > Please enlighten me with an example. Thank you. > > Rob. Strange. I attached a demonstration program that works for me - let's see if it helps you. - Sebastian |
From: Steve B. <sjb...@ai...> - 2002-05-06 12:37:11
|
Andreia R de Assuncao Schneider wrote: > I'd like to know where I can find a tutorial or some other > documentation about plib. All the documentation there is is on the http://plib.sourceforge.net web site. There are no explicit tutorials - but LOTS of example programs in the 'examples' and 'demo' areas. ----------------------------- 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 |