Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

python 3D?

1 view
Skip to first unread message

PixelWig

unread,
Sep 15, 2001, 1:51:20 PM9/15/01
to
I know Python has been used to enhance 3D software programs like Hash Animation
Master. Are any folks using Python and designing their own 3D object oriented
programs? Heard tkinter is easiest to set up for the interface for 3D. Would
like to hear of some basics, tutorials, books, and suggested places to jump off
and into this.

Thanks for your experience.

-David

Lee Morgan

unread,
Sep 15, 2001, 9:19:48 PM9/15/01
to
pixe...@aol.com (PixelWig) writes:

> I know Python has been used to enhance 3D software programs like Hash Animation
> Master. Are any folks using Python and designing their own 3D object oriented
> programs? Heard tkinter is easiest to set up for the interface for 3D. Would

see

http://pyopengl.sourceforge.net/

http://pygame.seul.org/

pyopengl is a wrapping of opengl and Pygame can setup your context. But so can
tkinter, wxwindows(my favourite) and I think pyqt. (BTW pypopengl has a sister
pyopenglcontext project to set this up for you under various window systems)

pyVTK has a 3D visualisation component but I've not played with it. I imagine
its at a higher abstraction level than raw opengl calls.

Also check out

www.blender.nl

a 3D model generation program (think autodesk) and burgeoning simple game
prototyper.

and for games, look at the "Blade of Darkness, Severence" demo available on the
net.

B. of D. is similar to how I've used python - high level state setting & data
preprocessing in python but engine stuff in c/c++.

But pyopengl is great for trying things out, and if you get the performance you
need in python, why make life harder with a C straight jacket.

Cheers

BTW Does Hash Animation Master expose an api for 3rd party python access?


> like to hear of some basics, tutorials, books, and suggested places to jump
> off
> and into this.
>
> Thanks for your experience.
>
> -David

--
Lee Morgan

Lee Morgan

unread,
Sep 16, 2001, 12:06:32 AM9/16/01
to
pixe...@aol.com (PixelWig) writes:

> I know Python has been used to enhance 3D software programs like Hash Animation
> Master. Are any folks using Python and designing their own 3D object oriented
> programs? Heard tkinter is easiest to set up for the interface for 3D. Would

see

http://pyopengl.sourceforge.net/

http://pygame.seul.org/

pyopengl is a wrapping of opengl and Pygame can setup your context. But so can
tkinter, wxwindows(my favourite) and I think pyqt. (BTW pypopengl has a sister
pyopenglcontext project to set this up for you under various window systems)

pyVTK has a 3D visualisation component but I've not played with it. I imagine
its at a higher abstraction level than raw opengl calls.

Also check out

www.blender.nl

a 3D model generation program (think autodesk) and burgeoning simple game

prototyper. (has a python interface)

and for games, look at the "Blade of Darkness, Severence" demo available on the
net.

B. of D. is similar to how I've used python - high level state setting & data
preprocessing in python but engine stuff in c/c++.

But pyopengl is great for trying things out, and if you get the performance you
need in python, why make life harder with a C straight jacket.

Cheers

BTW Does Hash Animation Master expose an api for 3rd party python access?

> like to hear of some basics, tutorials, books, and suggested places to jump
> off
> and into this.
>
> Thanks for your experience.
>
> -David

--
Lee Morgan

LAMY Bertrand

unread,
Sep 17, 2001, 2:13:37 AM9/17/01
to
I don't know if this would interest you but we have in the idea to make
a 3D engine for Python (called Py3D, it will be used to make games :).
we are at the beginning of the development...

-Blam

Richard Jones

unread,
Sep 17, 2001, 3:24:13 AM9/17/01
to LAMY Bertrand, pytho...@python.org

Is it going to be based on the existing work of PyOpenGL, Numeric, pygame and
PIL? They're the technologies I'm working with at the moment, and the only
problem I'm having is to try an understand the sheer scale of the facilities
at my disposal when they're combined :)


Richard

PixelWig

unread,
Sep 17, 2001, 10:40:09 AM9/17/01
to
Thanks for all the 3D Python info!

>
>BTW Does Hash Animation Master expose an api for 3rd party python access?

Petr Sofra has developed a plug-in for Animation Master. Currently, its API
gives users transformation, attribute, and primitive control in Animation
Master's model mode.

http://www.sorfa.com/plugins/am_pythonscript.html

-David Wiggins

Nick Trout

unread,
Sep 17, 2001, 2:03:56 PM9/17/01
to

| I don't know if this would interest you but we have in the idea to make
| a 3D engine for Python (called Py3D, it will be used to make games :).
| we are at the beginning of the development...

Have you looked at Blender? www.blender.nl

And, crystal space http://sourceforge.net/projects/crystal/

And VPython http://sourceforge.net/projects/visualpython/

And Alice www.alice.org

N

LAMY Bertrand

unread,
Sep 18, 2001, 2:39:37 AM9/18/01
to ric...@bizarsoftware.com.au
> Is it going to be based on the existing work of PyOpenGL, Numeric, pygame and
> PIL? They're the technologies I'm working with at the moment, and the only
> problem I'm having is to try an understand the sheer scale of the facilities
> at my disposal when they're combined :)

Yes it will use PyOpenGL, PyGame and maybe the PIL. I don't think we
will use Numeric since I have written the math functions we need in a C
module. In fact actually I am working more on the C extensions to Python
I need for Py3D

-Blam


LAMY Bertrand

unread,
Sep 18, 2001, 2:43:20 AM9/18/01
to Nick Trout
> Have you looked at Blender? www.blender.nl
> And, crystal space http://sourceforge.net/projects/crystal/

yes

> And Alice www.alice.org

that's work only under windows, it is not acceptable since I use Linux
:)

-Blam

Richard Jones

unread,
Sep 18, 2001, 3:01:53 AM9/18/01
to LAMY Bertrand, pytho...@python.org

Excellent! Can't wait! (Numeric is a bit daunting... As I mentioned, I'm only
just trying to come to terms with the sheer scale of the stuff available and
how they can interact :)


Richard

Alex Martelli

unread,
Sep 18, 2001, 3:37:00 AM9/18/01
to
"LAMY Bertrand" <b_l...@club-internet.fr> wrote in message
news:3BA6EC29...@club-internet.fr...

Note that your C-coded functions may (and probably should)
be written to co-operate with the Numeric module, which
offers a good C-oriented API too -- if your functions are
or may be applied to a substantial "bunch" of data at a
time, holding that "bunch" in a Numeric.array is MUCH
faster than holding it in a Python list or array.array,
not to mention the multidimensional flexibility you also
get with Numeric.


Alex

LAMY Bertrand

unread,
Sep 18, 2001, 4:24:51 PM9/18/01
to Nick Trout
> have you looked at Lua? - compact/portable and much faster than Python:
>
> www.lua.org
>
> http://lua-users.org/wiki/LearningLua
>
> N

I'm not sure you have understand what I mean... Py3D will be a 3D engine
write for and in (partially because of C extensions) Python. We plan to
make our future game entirely with Python.


Norman Vine

unread,
Sep 24, 2001, 6:27:36 PM9/24/01
to
LAMY Bertrand <b_l...@club-internet.fr> wrote in message
>
> I'm not sure you have understand what I mean... Py3D will be a 3D engine
> write for and in (partially because of C extensions) Python. We plan to
> make our future game entirely with Python.

We are currently investigating putting a Python Interface to
PLib's SG and SSG library.
IMHO this will make a good python 3D game engine

Maybe you would like to help us :-)
http://plib.sf.net

FWIW the 'C" code is already written !

Cheers

Norman

0 new messages