plib-users Mailing List for PLIB (Page 26)
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: Steve B. <sjb...@ai...> - 2004-04-06 14:01:12
|
Clay, Bruce wrote: > Steve: > I am not using sg in my app. Are there any sg apps in the examples > that I could test this with? Well, pretty much all of the other PLIB libraries depend on SG - so if you have SSG, PUI or FNT code then you're already using SG - you just don't know it. There is a Quaternion test in the PLIB examples package. > It might also be just something in Brian's > setup. If he doesn't get back to you before you are ready to cut the > release, let me know if you need something tested. What I guess I was concerned about was whether this business of debug code generation was something that was defined in the '.dsw' file - and therefore something that we need to fix. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Clay, B. <bc...@ba...> - 2004-04-06 12:58:28
|
Steve: I am not using sg in my app. Are there any sg apps in the examples that I could test this with? It might also be just something in Brian's setup. If he doesn't get back to you before you are ready to cut the release, let me know if you need something tested. Bruce -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Steve Baker Sent: Tuesday, April 06, 2004 8:48 AM To: pli...@li...; pli...@li... Subject: Re: [Plib-users] including sg.h problems Clay, Bruce wrote: > Brian: > It looks like the sg lib is built using debug code generation while=20 > the rest is built with multi-threaded debug code generation. Double=20 > check the build settings for your libraries and projects. If they are > all ok then you could try putting libcd.lib on the ignore library list > in VC6 link tab I'm not Windows person - so I don't understand the subtlety of this. However, I'm planning on doing a 1.8.3 release of PLIB today and if changes are needed to the Windows build mechanism, I'd like to get them in ASAP so they'll be included in this release. > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Brian=20 > Smith > Sent: Tuesday, April 06, 2004 12:29 AM > To: pli...@li... > Subject: [Plib-users] including sg.h problems >=20 >=20 > I'm using VC++ 6.0 on windows XP, I built all the libraries for plib=20 > 1.8.2 and am linking to them in my project, as well as all .h files=20 > are in the >=20 > right place. My problem is when I include sg.h i get these link=20 > errors: >=20 > Linking... > LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in > LIBCD.lib(dosmap.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined > in=20 > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in >=20 > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined > in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already=20 > defined in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already=20 > defined in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in > LIBCD.lib(lseek.obj) > LIBCMT.lib(write.obj) : error LNK2005: __write already defined in=20 > LIBCD.lib(write.obj) > LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in=20 > LIBCD.lib(tolower.obj) > LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in=20 > LIBCD.lib(tolower.obj) > LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other=20 > libs; use /NODEFAULTLIB:library > Debug/Baseball.exe : fatal error LNK1169: one or more multiply defined > symbols found >=20 >=20 > This happens when I #include <plib/sg.h> (#inclde<plib/ul.h> compiles=20 > and links with no problems), Files that don't rely on sg.h work, sg.h=20 > seems to > be the source. Anyone can help thanks in advance >=20 > _________________________________________________________________ > Free up your inbox with MSN Hotmail Extra Storage! Multiple plans=20 > available.=20 > = http://join.msn.com/?pgmarket=3Den-us&page=3Dhotmail/es2&ST=3D1/go/onm002= 003 > 62 > ave/direct/01/ >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of=20 > GenToo technologies. Learn everything from fundamentals to system=20 > = administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck > _______________________________________________ > plib-users mailing list > pli...@li...=20 > https://lists.sourceforge.net/lists/listinfo/plib-users >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of=20 > GenToo technologies. Learn everything from fundamentals to system=20 > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dclick > _______________________________________________ > plib-users mailing list > pli...@li...=20 > https://lists.sourceforge.net/lists/listinfo/plib-users >=20 --=20 ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |
From: Steve B. <sjb...@ai...> - 2004-04-06 12:48:35
|
Clay, Bruce wrote: > Brian: > It looks like the sg lib is built using debug code generation while > the rest is built with multi-threaded debug code generation. Double > check the build settings for your libraries and projects. If they are > all ok then you could try putting libcd.lib on the ignore library list > in VC6 link tab I'm not Windows person - so I don't understand the subtlety of this. However, I'm planning on doing a 1.8.3 release of PLIB today and if changes are needed to the Windows build mechanism, I'd like to get them in ASAP so they'll be included in this release. > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Brian Smith > Sent: Tuesday, April 06, 2004 12:29 AM > To: pli...@li... > Subject: [Plib-users] including sg.h problems > > > I'm using VC++ 6.0 on windows XP, I built all the libraries for plib > 1.8.2 > and am linking to them in my project, as well as all .h files are in the > > right place. My problem is when I include sg.h i get these link errors: > > Linking... > LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in > LIBCD.lib(dosmap.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined > in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in > > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined > in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined > in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already > defined in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in > LIBCD.lib(lseek.obj) > LIBCMT.lib(write.obj) : error LNK2005: __write already defined in > LIBCD.lib(write.obj) > LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in > LIBCD.lib(tolower.obj) > LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in > LIBCD.lib(tolower.obj) > LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other > libs; use /NODEFAULTLIB:library > Debug/Baseball.exe : fatal error LNK1169: one or more multiply defined > symbols found > > > This happens when I #include <plib/sg.h> (#inclde<plib/ul.h> compiles > and > links with no problems), Files that don't rely on sg.h work, sg.h seems > to > be the source. Anyone can help thanks in advance > > _________________________________________________________________ > Free up your inbox with MSN Hotmail Extra Storage! Multiple plans > available. > http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362 > ave/direct/01/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users > -- ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Clay, B. <bc...@ba...> - 2004-04-06 12:34:49
|
Brian: It looks like the sg lib is built using debug code generation while the rest is built with multi-threaded debug code generation. Double check the build settings for your libraries and projects. If they are all ok then you could try putting libcd.lib on the ignore library list in VC6 link tab Bruce -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Brian Smith Sent: Tuesday, April 06, 2004 12:29 AM To: pli...@li... Subject: [Plib-users] including sg.h problems I'm using VC++ 6.0 on windows XP, I built all the libraries for plib 1.8.2=20 and am linking to them in my project, as well as all .h files are in the right place. My problem is when I include sg.h i get these link errors: Linking... LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in=20 LIBCD.lib(dosmap.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined in=20 LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined in=20 LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in=20 LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in=20 LIBCD.lib(osfinfo.obj) LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in=20 LIBCD.lib(lseek.obj) LIBCMT.lib(write.obj) : error LNK2005: __write already defined in=20 LIBCD.lib(write.obj) LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in=20 LIBCD.lib(tolower.obj) LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in=20 LIBCD.lib(tolower.obj) LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other=20 libs; use /NODEFAULTLIB:library Debug/Baseball.exe : fatal error LNK1169: one or more multiply defined=20 symbols found This happens when I #include <plib/sg.h> (#inclde<plib/ul.h> compiles and=20 links with no problems), Files that don't rely on sg.h work, sg.h seems to=20 be the source. Anyone can help thanks in advance _________________________________________________________________ Free up your inbox with MSN Hotmail Extra Storage! Multiple plans available.=20 http://join.msn.com/?pgmarket=3Den-us&page=3Dhotmail/es2&ST=3D1/go/onm002= 00362 ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |
From: Brian S. <sch...@ho...> - 2004-04-06 04:29:27
|
I'm using VC++ 6.0 on windows XP, I built all the libraries for plib 1.8.2 and am linking to them in my project, as well as all .h files are in the right place. My problem is when I include sg.h i get these link errors: Linking... LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in LIBCD.lib(lseek.obj) LIBCMT.lib(write.obj) : error LNK2005: __write already defined in LIBCD.lib(write.obj) LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in LIBCD.lib(tolower.obj) LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj) LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library Debug/Baseball.exe : fatal error LNK1169: one or more multiply defined symbols found This happens when I #include <plib/sg.h> (#inclde<plib/ul.h> compiles and links with no problems), Files that don't rely on sg.h work, sg.h seems to be the source. Anyone can help thanks in advance _________________________________________________________________ Free up your inbox with MSN Hotmail Extra Storage! Multiple plans available. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/ |
From: Clay, B. <bc...@ba...> - 2004-04-01 18:34:35
|
3rd try. The messages never get to the reflector -----Original Message----- From: Clay, Bruce=20 Sent: Wednesday, March 31, 2004 2:44 PM To: 'pli...@li...' Subject: PUI font After a couple of false starts on my part I finally got PUI to work with the Blue Marble Viewer (BMV). It will open many doors to usability. Because of the internal workings of BMV I have to used PUI without GLUT which isn't a big problem. There is however one remaining problem. My first PUI app was a network based controller to control the BMV scene. This one used GLUT and had great contrast. The GUI created for BMV without GLUT doesn't have the same contrast nor apparently the same fonts. I have attached 2 images. The bmv_cntrl.jpg is the with GLUT app and the other jpg is from Blue Marble. It looks like I am restricted to using black text without GLUT because that is the only color that is clear enough. In the bmv_cntrl program I did not specify a font (used the default font. There dosen't seem to be any difference if I specify one with in BMV or not. I tried puSetDefaultFonts(PUFONT_8_BY_13, PUFONT_8_BY_13); and mButtonFont->load(fontName.c_str()); puFont times_medium(mButtonFont, fontSize); puSetDefaultFonts(times_medium, times_medium) ; And puFont times_medium(); puSetDefaultFonts(times_medium, times_medium) ; None of them seem to clear up the problem. The font size and type changes on screen so it does appear to be loading the font just not drawing it clear with any color but black. Any thoughts would be greatly appreciated. Bruce Clay bc...@ba...=20 |
From: Steve B. <sjb...@ai...> - 2004-04-01 00:21:49
|
Guihua Yang wrote: > The OS is linux redhat 9.0, also I installed > mesa 6.0( possibly I shouldn't install this since I > have Geforce 4, which has hardware support for > opengl), freeglut. Yeah - don't install Mesa - get the nVidia drivers from www.nvidia.org - your graphics will go several HUNDRED times faster! > When I play a sound file in linux, it works fine. But > when I ran plib 1.8.1 example and try sound example, I > got this error: > > slDSP: open: Device or resource busy > WARNING: slScheduler: soundcard init failed. I suspect that you have some kind of sound deamon installed - several windowing systems install them. They sit there, hogging the sound card, mixing incoming audio from the windowing system and locking out other programs. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Guihua Y. <sha...@ya...> - 2004-03-31 17:32:27
|
Hi, I installed plib 1.8.2 in my laptop(dell inspiron 8200). The OS is linux redhat 9.0, also I installed mesa 6.0( possibly I shouldn't install this since I have Geforce 4, which has hardware support for opengl), freeglut. Everything works fine, except the sound. When I play a sound file in linux, it works fine. But when I ran plib 1.8.1 example and try sound example, I got this error: slDSP: open: Device or resource busy WARNING: slScheduler: soundcard init failed. What could be the reason? Should I do any other setting to make the sound work? Thanks. Sharon __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |
From: Steve B. <sjb...@ai...> - 2004-03-26 19:10:27
|
ANNOUNCING PLIB 1.8.2 --------------------- This release fixes a few remaining problems from the 1.8 series: * PW runs on Mac and MacOSX. * Uppercase keystrokes work in PW for Windows. * Version number in ul.h now set correctly. * Package builds correctly under MSVC. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Steve B. <sjb...@ai...> - 2004-03-26 16:47:49
|
lahiani moti wrote: > 1 can i use fltk & fluid to add one more window to code that wrote in PLIB?? > if i can use it how can i do it? i know i need to add to project->setting the fltk > definition but when i compile it isn't work? Well, I guess so. You can certainly run PLIB stuff within FLTK windows (there is an example of how to do that in the 'examples/src/pui/fltk_demo'). However, to mix FLTK windows with windows made with another windowing toolkit seems like you're getting into dangerous territory! > 2 how much line can i add to puLargeInput ???? > i load 3ds file and every line i want to show at the largeInput i try to add 187 line but if i have largest object with ~6000 > line the window not response I'm not aware of any such limits...I guess this is a question for John Fay. > 3 when i load the 3ds object if it use texture i need to add it is there an option to > know what kind of pic it use(bmp,jpg.....) and how can i load it?? If it uses bmp or rgb images, PLIB will load them automatically. If you want to use some other image file format then you'll need to catch the filename and load the texture yourself. You need to write a callback function to create the ssgSimpleState: Before you start loading files: ssgLoaderOptions *loader_opts = new ssgLoaderOptions () ; loader_opts -> setCreateStateCallback ( getAppState ) ; ...set other loader options maybe... ssgSetCurrentOptions ( loader_opts ) ; Then write 'getAppState' like this: ssgState *getAppState ( char *fname ) { ...fname is the name of the texture map - you load it and attach it to an ssgSimpleState... } ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Steve B. <sjb...@ai...> - 2004-03-26 16:36:20
|
Darrell Blake wrote: > I've just removed all GL directories and libGL* files from my system but > now I have a bit of a problem. When I install my ATI drivers it doesn't > come with any gl.h files or libGL* files. It just has a file called > glxATI.h. Which, incidentally, is installed in /usr/include/GL! I tried > to install MesaGL but that failed. !?! Well, you can get gl.h and other GL headers from www.opengl.org somewhere. However, 'libGL.so' utterly has to be there - that *is* the interface and if it's not there then no OpenGL programs will work. Probably, you have the 'back end' part of the OpenGL driver that X uses installed but don't have the 'front end' part. I'm not really familiar with ATI cards so I don't know how it works. Probably, this is something tied up with the DRI stuff. Sorry I can't help. However, it's safe to say that this isn't a PLIB issue. There isn't an OpenGL program on the planet that doesn't need libGL.so! ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Darrell B. <da...@du...> - 2004-03-26 15:56:12
|
I've just removed all GL directories and libGL* files from my system but now I have a bit of a problem. When I install my ATI drivers it doesn't come with any gl.h files or libGL* files. It just has a file called glxATI.h. Which, incidentally, is installed in /usr/include/GL! I tried to install MesaGL but that failed. Any ideas? Darrell |
From: Darrell B. <da...@du...> - 2004-03-26 15:35:22
|
Thanks for your help. I wasn't aware of their being a standard location so I apologise but it's really not me you should be arguing with. I'm using Gentoo Linux and the official ATI drivers and as because of this the location of the files is defined by the person who created the package. I am going to find out whether it's a problem with Gentoo's ATI driver package or the one that ATI deal out and will kindly ask that they sort it out. I am thinking about removing all OpenGL libs and headers from my system and starting again. |
From: Steve B. <sjb...@ai...> - 2004-03-26 15:19:00
|
Michael B=F6lling wrote: > I had a little conversation on the new AC3D Format wirh Andy Colebourne= =2E > Here is was he wrote to me (see also > http://www.ac3d.org/forum/viewtopic.php?p=3D1824#1824 ) I'm very unhappy with Andy and the AC3D situation. I purchased a copy of AC3D some years ago (it's practically the only piece of non-free softw= are I have on my home machine). It came with 'lifetime' free upgrades. Recently, Andy has started a company to sell AC3D - and he claims that as= a result that contract is null and void and if I want an upgrade, it's go= ing to cost me money. For that reason, I will not upgrade to the new AC3D - and I recommend tha= t nobody else does either. Hence, you won't be suprised to hear that I'm reluctant to support the ne= wer AC3D file formats. We will NOT upgrade the AC3D loader for PLIB until/unless the AC3D people= honor their responsibilities to their customers. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++= -----END GEEK CODE BLOCK----- |
From: Steve B. <sjb...@ai...> - 2004-03-26 15:14:35
|
Darrell Blake wrote: > I can't get plib to find gl.h and I know for a fact that OpenGL is > installed because XScreensaver compiled and works fine with GL > screensavers. When I run "find / -name gl.h" this is what I get... > > /usr/lib/opengl/xfree/include/GL/gl.h > /usr/lib/opengl/xfree/include/gl.h > /usr/X11R6/include/GL/gl.h Those are *all* incorrect! /usr/include/GL/gl.h ...that's a part of the OpenGL standard for Linux. Most other OS's put it somewhere like that too. I worked on the committee that decided this. OpenGL doesn't have to be a part of X11/X11R6/xfree - there are new cellphones and PDA's that run Linux and have OpenGL implementations - but which DON'T run X. For those systems, it would be nonsensical to put gl.h in any directory with X11/X11R6 or xfree in it's path - and since we'd like all OpenGL programs to only have to look in a single place, it should be in a system level directory. /usr/include is where these things belong, /usr/include/GL is the standard. Please stick to it! > Where does plib look for gl.h because I can create a symlink to the > location. PLIB looks in /usr/include/GL/gl.h - but if it can't find it there, it goes on to looks in /usr/X11/include/GL/gl.h. That's because some older Linux distro's (incorrectly) put GL in the X11 tree. FYI: The library for OpenGL should be in /usr/lib/libGL.so - and nowhere else. The GLU, and GLUT/freeglut libraries should be in the same places as OpenGL itself. It's a very bad idea indeed to allow your system to get polluted with copies of things like this because when you upgrade something, you are very unlikely to catch all of the copies and you'll find some programs picking up old copies. That's very hard to diagnose - so I *STRONGLY* recommend that you do a 'find' on gl.h and libGL.so and delete all of the copies that are in non-approved places. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: lahiani m. <lah...@cs...> - 2004-03-26 15:04:11
|
hi 1 can i use fltk & fluid to add one more window to code that wrote in PLIB?? if i can use it how can i do it? i know i need to add to project->setting the fltk definition but when i compile it isn't work? 2 how much line can i add to puLargeInput ???? i load 3ds file and every line i want to show at the largeInput i try to add 187 line but if i have largest object with ~6000 line the window not response 3 when i load the 3ds object if it use texture i need to add it is there an option to know what kind of pic it use(bmp,jpg.....) and how can i load it?? alot of Thanks Moti |
From: <fli...@ba...> - 2004-03-26 13:22:21
|
I had a little conversation on the new AC3D Format wirh Andy Colebourne. Here is was he wrote to me (see also http://www.ac3d.org/forum/viewtopic.php?p=3D1824#1824 ) I had a quick look at the plib code. In ssg/ssgLoadAC.cxx:=20 Code:=20 static int search ( Tag *tags, char *s )=20 {=20 skip_spaces ( & s ) ;=20 for ( int i =3D 0 ; tags[i].token !=3D NULL ; i++ )=20 if ( ulStrNEqual ( tags[i].token, s, strlen(tags[i].token) ) )=20 {=20 s +=3D strlen ( tags[i].token ) ;=20 skip_spaces ( & s ) ;=20 return (*(tags[i].func))( s ) ;=20 }=20 ulSetError ( UL_FATAL, "ac_to_gl: Unrecognised token '%s'", s ) ;=20 return 0 ; /* Should never get here */=20 }=20 replace:=20 Code:=20 ulSetError ( UL_FATAL, "ac_to_gl: Unrecognised token '%s'", s ) ;=20 with:=20 Code:=20 ulSetError ( UL_WARNING, "ac_to_gl: Unrecognised token '%s'", s );=20 replace ' Code:=20 return 0;=20 ' with:=20 Code:=20 return PARSE_CONT;=20 That may fix it.=20 Andy I hope somebody can implement this. Best regards Michael B=F6lling =20 |
From: Darrell B. <da...@du...> - 2004-03-26 13:17:35
|
I can't get plib to find gl.h and I know for a fact that OpenGL is installed because XScreensaver compiled and works fine with GL screensavers. When I run "find / -name gl.h" this is what I get... /usr/lib/opengl/xfree/include/GL/gl.h /usr/lib/opengl/xfree/include/gl.h /usr/X11R6/include/GL/gl.h Where does plib look for gl.h because I can create a symlink to the location. Darrell |
From: Steve B. <sjb...@ai...> - 2004-03-26 01:38:42
|
Michael Wessels wrote: > in my '.ac' file I have the comment field "Tribune1". How can I tell the > PLIB loaders to call a callback function in the application when they find > this comment field ? Write a function like this: ssgBranch *process_userdata ( char *data ) { if ( data == NULL || data [ 0 ] == '\0' ) return NULL ; if ( strncmp ( "Tribune1", data, strlen ( "Tribune1" ) ) == 0 ) { ssgBranch *b = new ssgBranch () ; /* ...or whatever you want this node to be */ /* whatever you need to do here */ return b ; } return NULL ; } Sometime after ssgInit() but before you load your model: ssgLoaderOptions *loader_opts = new ssgLoaderOptions () ; loader_opts -> setCreateBranchCallback ( process_userdata ) ; /* You may wish to set other loader options here */ ssgSetCurrentOptions ( loader_opts ) ; ...then just load your model in the usual way and whenever SSG needs to create a branch node, it'll call your 'process_userdata' function with the comment as the parameter. If this is a 'special' node, then you create the node and return it as the result. If it's not special then just return NULL and the loader will do something appropriate. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Michael W. <mic...@ti...> - 2004-03-25 20:02:29
|
Hi Steve, in my '.ac' file I have the comment field "Tribune1". How can I tell the PLIB loaders to call a callback function in the application when they find this comment field ? Can you give me a strip of code-lines ? Best regards Michael ----- Original Message ----- From: "Steve Baker" <sjb...@ai...> To: <pli...@li...> Sent: Thursday, March 18, 2004 9:16 PM Subject: Re: [Plib-users] Identifying objects after loading an AC3D- modell > Michael Wessels wrote: > > Hi all, > > I am building my modells with AC3D. How can I identify in my c-code different objects of an AC3D-modell after loading it with ssgLoadAC ? > > I attach a comment to the model in AC3D. > > You can tell the PLIB loaders to call a callback function in the application when they find a comment field. > They then hand you the responsibility of allocating that node in the scene graph - so you can make it be > a ssgTransform node instead of a regular ssgBranch. > > In order to avoid actual comments in the '.ac' file triggering this, I put an unusual/distinctive > character or string at the beginning of the comment. > > Beware though - the AC3D modeller has a tendancy to rearrange your model tree - and in the process > it tends to delete the comments. > > Best advice is to build the model, get it looking completely right - and only add the magic comments > at the very end. > > ---------------------------- Steve Baker ------------------------- > HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> > HomePage : http://www.sjbaker.org > Projects : http://plib.sf.net http://tuxaqfh.sf.net > http://tuxkart.sf.net http://prettypoly.sf.net > -----BEGIN GEEK CODE BLOCK----- > GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- > V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ > -----END GEEK CODE BLOCK----- > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > plib-users mailing list > pli...@li... > https://lists.sourceforge.net/lists/listinfo/plib-users |
From: Steve B. <sjb...@ai...> - 2004-03-25 00:22:19
|
Daniel T Konkle wrote: > > Menu callback: > > I'm setting up a menu and need to use the same callback for several of > the menu items and have the callback figure out which one was selected. > > Is there anyway to get the string and/or value that was selected in the > menu or submenu? Yes. All PUI widgets accept 'user data': puObject::setUserData ( void *data ) ; void *puObject::getUserData () ; ...or you can read the legend or the label: char *puObject::getLegend () ; char *puObject::getLabel () ; ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Daniel T K. <dan...@dy...> - 2004-03-24 17:56:18
|
Menu callback: I'm setting up a menu and need to use the same callback for several of the menu items and have the callback figure out which one was selected. Is there anyway to get the string and/or value that was selected in the menu or submenu? Danny |
From: Steve B. <sjb...@ai...> - 2004-03-24 00:35:11
|
lahiani moti wrote: > Hello > 1. > I use the example viewer (plib_examples-1.6.0\src\ssg\viewer ) to load a 3ds model. > And when it loaded I need to print all the model vertex ,texture vertex ,triangles normal and so on . > How can I print them ? The SSG base class has: print ( FILE *fd ) ; So use: root_node -> print ( stdout ) ; ...or something. > 2. > How can I open one more window that react some buttons that I want to add the viewer exemple window.?? Is it possible??? Depends on which windowing library you are using. Our new built-in 'PW' windowing system only supports one window - so don't use that. However, if you use GLUT, you could copy the example in plib/examples/src/pui/complex.cxx - it opens three windows. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: Steve B. <sjb...@ai...> - 2004-03-24 00:20:44
|
Adam Courchesne wrote: > I saw on the site that closed source applications that use PLIB are > permitted... but after reading the LGPL I can't see how this is the > case. Sections 6 of the LGPL states that the code has to be made > avaliable to the user in one form or another... isn't that what open > source means? That means the source of PLIB and any changes you might have made to it...not to your application. That's a crucial distinction In order to use LGPL'ed code you have to make sure the end user can re-link your application with new versions of PLIB. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |
From: lahiani m. <lah...@cs...> - 2004-03-23 22:17:19
|
Hello 1. I use the example viewer (plib_examples-1.6.0\src\ssg\viewer ) to load a 3ds model. And when it loaded I need to print all the model vertex ,texture vertex ,triangles normal and so on . How can I print them ? Is there a functions that do it (for every one of them)? If there is , how can I use it ? and what class it belong .? 2. How can I open one more window that react some buttons that I want to add the viewer exemple window.?? Is it possible??? Thnaks and REgards, Moti |