Python-Ogre 1.6.4 Available

andy

18-10-2009 14:02:21

[UPDATE Oct 31] -- newer snapshot (rev 1017) now available with enhancements to Ogre::Any support, QuickGUI 9.10 and ogrenewt2 has 'World' exposed correctly

It's release time again with Python-Ogre 1.6.4 available for Windows. This version is built with Python 2.6.3 and Ogre 1.6.4.

I've decided to split the release into 2 parts, one being the [b]core modules[/b] and the other the [b]demos and media[/b]. You can get both from sourceforge in the unstable/1.6.4 Snapshot area

You will need to extract the core modules and run "python setup.py install" to install the modules. The demos should be extracted into the python-ogre directory to ensure the paths etc work -- ie extract code to c:\ (which will create c:\PythonOgreRelease) and then extract demos into c:\PythonOgreRelease.

As always it's built with the latest underlying library code - in this case the official Ogre 1.6.4 release and the following modules:

Modules included are:
* OGRE ( ogre.renderer.OGRE ) 1.6.4
* betagui ( ogre.gui.betagui ) 2
* bullet ( ogre.physics.bullet ) 2.74
* cadunetree ( ogre.addons.cadunetree ) 0.6
* caelum ( ogre.addons.caelum ) r451
* canvas ( ogre.gui.canvas ) 1.0
* CEGUI ( ogre.gui.CEGUI ) 0.6.2b
* et ( ogre.addons.et ) 2.3.1
* hikari ( ogre.gui.hikari ) r23
* hydrax ( ogre.addons.hydrax ) 0.5.1
* mygui ( ogre.gui.mygui ) 2.2.3
* noise ( ogre.addons.noise ) r2486
* ODE ( ogre.physics.ODE ) 0.11
* ofusion ( ogre.addons.ofusion ) 1.0
* OgreAL ( ogre.sound.OgreAL ) r130
* OgreBulletC ( ogre.physics.OgreBulletC ) r2684
* OgreBulletD ( ogre.physics.OgreBulletD ) r2684
* ogreforests ( ogre.addons.ogreforests ) r2719
* OgreNewt ( ogre.physics.OgreNewt ) r2429
* ogrenewt2 ( ogre.physics.ogrenewt2 ) 2.10
* OgreOde ( ogre.physics.OgreOde ) r2684
* ogreoggsound ( ogre.sound.ogreoggsound ) r237
* ogrepcz ( ogre.renderer.ogrepcz ) 1.6.4
* ogrevideo ( ogre.addons.ogrevideo ) r92
* ogrevideoffmpeg ( ogre.addons.ogrevideoffmpeg ) 0.2.1
* OIS ( ogre.io.OIS ) 1.0
* Opcode ( ogre.physics.Opcode ) 1.3
* PhysX ( ogre.physics.PhysX ) 2.8.1
* plib ( ogre.addons.plib )1.6.4
* plsm2 ( ogre.renderer.plsm2 ) 1.6.4
* QuickGUI ( ogre.gui.QuickGUI ) 9.09
* raknet ( ogre.addons.raknet ) 3.4


Known problems:
* QuickGui demo need to be fixed as the underlying API has changed
* OgreOggSound and ogrenewt2 do not have demos so probably need work once people start using them

I haven't included the source 'lib' and 'header' files in this release as the Ogre build is completely standard (zero patching :))-- if anyone needs these let me know and I'll post them

Please use the [b]SourceForge Tracker [/b] to report any issues etc and I'll get to them asap.

Regards
Andy

DenisKoronchik

18-10-2009 16:59:18

Andy, missed cg.dll in build

andy

18-10-2009 23:54:16

Thanks for spotting this -- btw which demo uses it, or what made you spot this ?

I ask as all the tests ran OK without it -- however my development system is an old laptop with a crappy graphics card so perhaps thats this issue...

Andy

Zen

19-10-2009 03:16:17

Bit of a problem with OgreNewt2 - it seems the only class I can't access is the one you need for everything else :lol:

Is there an alternate way to create the World object, or is this a bug?

>>> import ogre.physics.ogrenewt2 as newt
>>> world = newt.World()
Traceback (most recent call last):
File "<input>", line 1, in <module>
RuntimeError: This class cannot be instantiated from Python
>>>

andy

19-10-2009 07:05:51

Py++ was fooled by the funky default constructor on "World" and hence made it a 'no_init' class which was wrong..

Fixed in the SVN and (of course:))the next binary..

Andy

Davaris

22-10-2009 14:41:26

Andy, have the demos and media changed since 1.6.1?

andy

31-10-2009 04:23:44

Media and demos are pretty much the same -- will split then even further in a future release.

Latest snapshot (r1017) had ogrenewt2.World fixed - get it here


Andy

slver

24-11-2009 10:00:48

please help me, I can't run demo Demo_OgreCollision01.py(in ogrebullet):

trace error info:

Traceback (most recent call last):
File "C:\Program Files\Adobe\Flex Builder 3\plugins\org.python.pydev.debug_1.5.1.1258496115\pysrc\pydevd.py", line 953
, in <module>
debugger.run(setup['file'], None, None)
File "C:\Program Files\Adobe\Flex Builder 3\plugins\org.python.pydev.debug_1.5.1.1258496115\pysrc\pydevd.py", line 780
, in run
execfile(file, globals, locals) #execute the script
File "D:\pydevSpace\Test26\src\Demos\ogrebullet\Demo_OgreCollision03.py", line 279, in <module>
application.go()
File "c:\python26\Lib\site-packages\ogre\renderer\OGRE\sf_OIS.py", line 105, in go
expr: (sampler) diffuseTex
if not self._setUp():
File "c:\python26\Lib\site-packages\ogre\renderer\OGRE\sf_OIS.py", line 153, in _setUp
self._createFrameListener()
File "D:\pydevSpace\Test26\src\Demos\ogrebullet\Demo_OgreCollision01.py", line 70, in _createFrameListener
self.frameListener = OgreCollideListener(self.renderWindow, self.camera, self.sceneManager, self.numBoxes, self)
File "D:\pydevSpace\Test26\src\Demos\ogrebullet\Demo_OgreCollision01.py", line 113, in __init__
self.CreateBoxes ( num )
File "D:\pydevSpace\Test26\src\Demos\ogrebullet\Demo_OgreCollision01.py", line 239, in CreateBoxes
node.attachObject(entity)
AttributeError: 'NoneType' object has no attribute 'attachObject'


by the way, my display card is ' Intel(R) G33/G31 Express Chipset Family ' which it's Integrated with mainboard.

if i use that code " node = self.sceneManager.getRootSceneNode().createChildSceneNode()" and run, it will crashed.

andy

24-11-2009 11:32:29

The bullet demos were never finished -- you are welcome to have a go at fixing it or I'll do an update in a few days and take a look...

Andy