Re: [sdljava-users] Getting the lay of the land
Status: Beta
Brought to you by:
ivan_ganza
From: John M. G. <joh...@ya...> - 2005-08-16 20:51:57
|
--- "Ivan Z. Ganza" <iva...@ya...> wrote: > Greetings John and Welcome, > > I'll try to answer your questions as well as possible. > Thanks for the quick reply Ivan. > |1. It looks like sdljava has recently removed it's J2SDK 1.5 > |dependencies. Was this done for compatibility with GCJ & > |Classpath? > > The main reason was because there were concerns with the performance of JDK > 1.5 as well as others reasons I can't currently remember. I think we > should try to remain compatible with GCJ and Classpath if possible so I am > glad it currently is. The docs page http://sdljava.sourceforge.net/documentation.html could probably use a tutorial as well as a faq. FWIW, I'm moving my own sdljava notes here: http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.Sdljava > |2. I noticed that there's a gljava page: > |http://gljava.sourceforge.net/ . Is there currently an > |effort going on to compartmentalize the OpenGL part out > |of sdljava? Can I use gljava without sdljava? > > The open gl part was designed so that it doesn't know anything about the sdl > part. So you can use the open package on it own. The problem is you need to > initialize opengl somehow. I actually have code that uses glut to initialize > the display but I never was able to get it to work. So the only option is to > initialize the display with calls to sdl. > > |3. I'd originally started my search looking for a simple > |Java wrapper around freeglut. Is there such a beast roaming > |the countryside? :) *That* plus gljava would probably be > |just what I'm looking for... > > I'm not sure if a java wrapper exists. Looking at the API it shouldn't be > too difficult to make one though. Following the same pattern as sdljava with > SWIG... > > > |4. How do I open a window for drawing in with sdljava? > |Do I need to use JOGL? AWT? Swing? (Again, maybe this > |is back to freeglut). > > Have a look at testsrc/org/gljava/opengl/OpenGLTest3.java Ahh. Thanks! Just what I needed. A faq on the docs page of the sdljava site would very likely be useful. Here's an item to kick it off: "Q. I'm not familiar with SDL and would rather use freeglut with Java. Can you point me in the right direction? A. Using SDL instead of freeglut (the free version of GLUT) isn't as bad as you think. Have a quick look at the example code in sdljava-0.9.1/testsrc/org/gljava/opengl/ to see what we mean. :)" > |5. Why no sdljava-specific group at > |http://www.javagaming.org/ ? > > I wonder if sdljava has enough traction for this...? I asked about it here: http://192.18.37.44/forums/index.php?topic=10531.0 http://192.18.37.44/forums/index.php in the LWJGL section. IMO, excellent docs *make* a project. I bet that after you've got a faq and a tutorial up, you'll gain even more momemtum. If I can get sdljava running nicely on FC4 with the GNU Java tools, I may be able to help out with some docs. ---John > -Ivan/ > > John M. Gabriele wrote: > > >Hi, > > > >I'm just dipping my toes into doing some Java 3D stuff, > >and it looks like I've got about three options: > > > >JOGL, > >LWJGL, and > >sdljava > > > >I'm hoping someone can fill me in on some of the pros and > >cons of the different toolkits, and why I might want to > >use sdljava. I'm mostly interested in small physics > >simulations (hobbyist stuff). > > > >I'm running Fedora Core 4, and trying to go with an all- > >free software setup. I want to natively compile with GCJ > >and run with libgcj + Classpath. > > > >So, here goes: > > > >1. It looks like sdljava has recently removed it's J2SDK 1.5 > >dependencies. Was this done for compatibility with GCJ & > >Classpath? > > > >2. I noticed that there's a gljava page: > >http://gljava.sourceforge.net/ . Is there currently an > >effort going on to compartmentalize the OpenGL part out > >of sdljava? Can I use gljava without sdljava? > > > >3. I'd originally started my search looking for a simple > >Java wrapper around freeglut. Is there such a beast roaming > >the countryside? :) *That* plus gljava would probably be > >just what I'm looking for... > > > >4. How do I open a window for drawing in with sdljava? > >Do I need to use JOGL? AWT? Swing? (Again, maybe this > >is back to freeglut). > > > >5. Why no sdljava-specific group at > >http://www.javagaming.org/ ? > > > >By the way, I'm starting to keep a small info page on > >this stuff here: > >http://www.simisen.com/jmg/pmwiki/pmwiki.php?n=Main.JavaOpenGL > >Maybe it'll turn into something useful. > > > >Thanks, > >---John > > > > > > > > > >____________________________________________________ > >Start your day with Yahoo! - make it your home page > >http://www.yahoo.com/r/hs > > > > > > > >------------------------------------------------------- > >SF.Net email is Sponsored by the Better Software Conference & EXPO > >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >_______________________________________________ > >sdljava-users mailing list > >sdl...@li... > >https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html |