Page 3 of 4

Posted: Tue Mar 09, 2004 10:07 pm
by ErMurazor
Venom for Irrlicht 0.6

Venom for Irrlicht 0.6 is uploaded at my page. No new functions for 0.6 are added yet.

Posted: Sun Mar 14, 2004 6:16 pm
by Tels
Btw, there are now Perl bindings for Irrlicht, check http://search.cpan.org/ for Games::Irrlicht :D

newbie spinning my wheels.....

Posted: Thu Mar 18, 2004 8:48 pm
by TF
i'm trying to get my feet wet developing a game with python and venom. my experience with python is very limited, so i was wondering if someone could help me get started. basically i'm just wondering how to unpack venom0.6 to be used by Python22. i've played around with irrlicht-0.6 a bit with visual studio c++ 6.0, but have decided to try and eliminate using c/c++ code, but now i don't know how to 'install' venom so python can use it.
thanks in advance!
tf

Posted: Thu Mar 18, 2004 8:50 pm
by BradB
If you've unpacked Venom, you can just go to the bin directory I think? There should be a _venom.so file there. Start a python interpreter there & "import venom"

This is under linux, dunno how to do this kind of thing in windows.

Brad

Posted: Thu Mar 18, 2004 9:19 pm
by ErMurazor
Hi

In windows you need to have venom.dll and irrlicht.dll in the same directory as you python program. You can also have them in your search path. Look at venomstrike from my download page.

Code: Select all

C:\DEV\venomstrike>dir

 Directory of C:\DEV\venomstrike

2004-03-18  22:15    <DIR>          .
2004-03-18  22:15    <DIR>          ..
2003-12-21  05:57               958 animator.py
2003-12-21  21:54             2 784 animator.pyc
2004-02-21  21:41             1 692 application.py
2004-02-21  21:41             3 272 application.pyc
2003-12-21  05:57               324 camera.py
2003-12-21  21:54             1 442 camera.pyc
2003-12-21  05:57             1 233 character.py
2003-12-21  05:57               724 collidable.py
2003-12-21  21:54             1 310 collidable.pyc
2003-12-21  21:21    <DIR>          CVS
2003-12-21  21:21    <DIR>          data
2004-03-08  22:00           856 064 Irrlicht.dll
2004-03-08  21:35            10 546 main.py
2003-12-21  05:57             1 216 node.py
2003-12-21  21:54             3 745 node.pyc
2003-12-21  21:18            12 952 testme
2003-12-21  21:18               374 testme.cpp
2004-03-08  22:05            94 208 venom.dll

C:\DEV\venomstrike>main.py
You then start the program with main.py or by double click on main.py or “python main.py”

If you are in windows I high recommend using the Python windows extensions http://starship.python.net/crew/mhammon ... loads.html to integrate python more with windows.

Posted: Thu Mar 18, 2004 10:39 pm
by Guest
thanks for your replies! i just downloaded the win32 python extensions and am checking 'em out.
thanks again!
tf

Can't get it to work

Posted: Fri Apr 02, 2004 9:47 am
by konsumer
I can't seem to get it to initialize correctly. Here is what it looks like:

Code: Select all

cd bin
python main.py
Traceback (most recent call last):
  File "main.py", line 23, in ?
    import venom
ImportError: dynamic module does not define init function (initvenom)
so I tried:

Code: Select all

mv venom.so _venom.so
python main.py

Initializing...
Traceback (most recent call last):
  File "main.py", line 86, in ?
    mygame = Game( )
  File "main.py", line 28, in __init__
    if not venom.Initialize( venom.DRIVER_OPENGL, 640, 480, 16, 0 ):
AttributeError: 'module' object has no attribute 'Initialize'
so I try

Code: Select all

python
Python 2.3.3 (#2, Feb 24 2004, 09:29:20)
[GCC 3.3.3 (Debian)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import venom
>>> dir(venom)
['__builtins__', '__doc__', '__file__', '__name__', '_newclass', '_object', '_swig_getattr', '_swig_setattr', '_venom']
dir(venom._venom)
['__doc__', '__file__', '__name__']
What am I missing?

Posted: Fri Sep 17, 2004 9:26 pm
by ErMurazor
Venom for Irrlicht 0.7

Venom for Irrlicht 0.7 has been added to my sites download section. Two new examples are included quake3 map load and a particle example. Everything is complied in windows I am also trying to do a Linux release it works but there is trouble with texture quality with quake3 maps.

New functions since Venom for Irrlicht 0.6.

Particle system
venom.AddParticleNode
venom.AddParticleBoxEmitter
venom.AddParticlePointEmitter
venom.SetParticleSize
venom.AddFadeOutParticleAffector

Misc.
venom_Get2DCoordsFrom3DPosition
venom_GetSceneNodeFromScreenCoords
venom_AddBillboardNode
venom_AddBillboardNodeToParent

Posted: Sat Sep 18, 2004 8:04 pm
by ventilator
is this a complete wrapper of the irrlicht api? ...would it be possible to implement a mesh loader like the one zdimitor did ( -> http://irrlicht.sourceforge.net/phpBB2/ ... ght=#22486 ) with python instead of c++?

Posted: Sun Sep 19, 2004 6:45 pm
by ErMurazor
Yes it is wrapper for the irrlicht api.
Her is venom.LoadMesh

Code: Select all

inline int Venom_LoadMesh ( char* path ) {
	if ( !path )
		return 0;
		
	return (int)sceneManager->getMesh( path );
}
I haven’t look at zdimitor work (I just downloaded it) but theoretical it should work.

Posted: Mon Sep 20, 2004 12:12 pm
by Guest
yes, but zdimitor did a custom mesh loader. did you already have a look at it?

Posted: Mon Sep 27, 2004 2:40 pm
by blackbirdXXX
@ErMurazor Cool guy. I use your venom for my next project.
But will there be python bindings for Irrlicht 1.0?

Posted: Tue Sep 28, 2004 5:01 am
by ErMurazor
Sure. I wile try to keep up with Irrlicht releases.

Posted: Tue Sep 28, 2004 5:55 pm
by blackbirdXXX
Thanks guy! :D
Maybe you can add the missings keys to the input.h like lCtrl, rCtrl, . , - _ and so on.
Also the software render isn't linked.
Maybe you can change this untile the next release.

Posted: Sat Feb 26, 2005 10:45 pm
by ErMurazor
Venom for Irrlicht 0.8 is now on my download page. No new functions are added it just quick upgrade to Irrlicht 0.8.