You are not logged in.
Pages: 1
Hey folks,
I need to do some 3D programming, and I have to decide between Java and Python to do it in. Further, I have to decide whether to use Java3D, JOGL, or Xith3D if I use Java, or what library to use if I use Python.
I know all about Java, but I'm just getting used to Python. I can findPyOpenGL and vpython to work with. Anybody know of any better libraries? There's a vpython package in pacman, but from the site, I don't think its advanced enough; no textures, etc. I don't have much experience with OpenGL, and the experience I had is something I don't want to repeat. Is PyOpenGL a little more sane than OpenGL in C (besides just the saneness afforded by using Python).
What I need to do first is get a quick mock-up running to see if the interface is viable; vpython might be good enough for that...
Suggestions? A lot of python users here, any of them done any 3D work?
Dusty[/url]
Offline
pygame is what you need. Good Luck buddy
Offline
I thought PyGame was only for 2D stuff, but I've investigated and found that SDL has openGL bindings, and pygame has pyOpenGL bindings, somehow.
What I can't find is documentation on how to develop 3D stuff in pyGame... I found some programs that do OpenGL in pygame. I found some code that does NeHe tutorials in pyOpenGL though, and some that does the tutorials in SDL.
There is a pygame package in pacman, but no pyOpenGL, that I see...
pygame seems more on the right track though.
Thanks again,
Dusty
Offline
https://gna.org/projects/soya/
I found soya, but I don't know if its worth the trouble I need to get it up and running... no packages. :-D I'm leaning back towards Java3D because I know it... this is mostly just for a proof of concept for work. I think python would be better for the scripting, but J3D for the 3D stuff... maybe I'll look into Jython.
Dusty
Offline
I think i'll stick with Java 3D for this one. They aren't to keen on my using Python anyway. :'(
Offline
hey dusty. did you by any chance make a Slune PKG for AL? this game seems to rock big time!
slune & soya devs used tow ork on JAVA
Offline
Also you could check into gl4java at http://www.jausoft.com/gl4java/. I used it for a school project a couple of years ago.
EDIT:
After looking at some of the projects you listed, gl4java is probably antiquated in comparision.
-wd
Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?
Offline
I looked at Slune and Soya, but never installed. I would install all this stuff and try it if somebody would offer me free bandwidth, but as it is, stick to the necessaries. :-D
Offline
well doesn't Canada have good Lines?
I have an ISDN 64K!!
anyways Good 3D Games are always HUGE (because of models and so on..)
Slune seems to be a great game though! [happypenguin.org]
Offline
Canada has nice broadband lines in the cities. I'm on 33k (at best) dialup out in the middle of the country here with no other options.... well, there is satellite options coming in now...
Dusty
Offline
hmm. I don't mean to offend you country [except sea dogs killings I love it] but I couldn't have imagined that. I of course live in Athens, but everyone in Greece has access to ADSL/ISDN these days [well ADSL hurts in the pocket but..]
Offline
about half the small towns in Saskatchewan have ADSL now. It's available in Shaunavon (2000 people) and up to 4 miles out of town. But I'm 7 miles from town, my phone runs on corroded copper...
Dusty
Offline
if you got dynamic ip Dusty, don't forget to google every time you log in. That zeitgeist is really annoying. linux=1% grrrrr
arch + gentoo + initng + python = enlisy
Offline
huh?
Offline
http://www.google.com/press/zeitgeist.html
google counts what os or browser you are using when you do a google. I've heard that every ip gets one count so if you got dynip you get a new count every time you are logging in. All MS Zealots are bashing about it all the time.
And I'm still trying to learn Python. PYGTK was easy but low level programming is not so easy when you are a moronpeeceeuser like me.
I'm still looking for stdin and so forth..
arch + gentoo + initng + python = enlisy
Offline
I google a lot anyway (I get $100 a crack now ) wxPython is marginally easier than pygtk, IMO. raw_input() builtin gets a line from stdin. check http://docs.python.org/lib/built-in-funcs.html
Offline
we shouldn't argue on GUIs.
For me PyGTK and wxPython are 2 different things. the first [with Gnome-Python too] is the best way to do GUI for GNOME [the best DE imo].
wxPython is for windows apps, and also to say (hey look this also runs in Linux (via ugly gtk1))
if in the future they consider wxGTK using GTK2 [like I saw in devel releases] then we can discuss this again
Glade is better than wxGlade btw
Offline
what's the point with glade anyway, I think it sucks.
it's better to code yourself or am I missing something?
arch + gentoo + initng + python = enlisy
Offline
what's the point with glade anyway, I think it sucks.
it's better to code yourself or am I missing something?
Glade in my opinion is an awesome tool. Why spend hours coding how you want your application to look like when you can do it in 5 minutes easily?
I think a programmer should focus on how he wants the application to behave and not so much on how to code gui elements.
Offline
Glade sucks? not really. just google why
Offline
http://mail.gnome.org/archives/gtk-app- … 00250.html
and as glade exists also for windows ( http://gladewin32.sourceforge.net/ ), it must really be something the world cannot without, right?
(glade rocks, if you want to create a ui the fast way!)
The impossible missions are the only ones which succeed.
Offline
I thought Glade was dead. GTK-xml files is useful though. Is it libglade that handles all those or are there more libs that can do it? In python it's not necessary perhaps?
arch + gentoo + initng + python = enlisy
Offline
Glade1 is dead.
Glade2 is loved
Glade3 is waiting to meet us
PyGTK does it better (lol) with Glade xml
http://www.linuxjournal.com/article.php?sid=6586
Enjoy your google.com.lang
Offline
Pages: 1