Google

Python-Ogre 1.6.4 Available

A discussion on Python-Ogre, the library which allows you to drive OGRE directly from Python

Moderators: OGRE Team, Python-Ogre Moderators

Python-Ogre 1.6.4 Available

Postby andy » Sun Oct 18, 2009 2:02 pm

[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 core modules and the other the demos and media. 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 SourceForge Tracker to report any issues etc and I'll get to them asap.

Regards
Andy
Python-Ogre: High Performance Graphics and Gaming Libraries for Python
andy
 
Posts: 846
Joined: Mon Jul 10, 2006 9:11 am
Location: Often Singapore..

Re: Python-Ogre 1.6.4 Available

Postby DenisKoronchik » Sun Oct 18, 2009 4:59 pm

Andy, missed cg.dll in build
DenisKoronchik
 
Posts: 16
Joined: Fri Nov 21, 2008 12:05 pm
Location: Minsk

Re: Python-Ogre 1.6.4 Available

Postby andy » Sun Oct 18, 2009 11:54 pm

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
Python-Ogre: High Performance Graphics and Gaming Libraries for Python
andy
 
Posts: 846
Joined: Mon Jul 10, 2006 9:11 am
Location: Often Singapore..

Re: Python-Ogre 1.6.4 Available

Postby Zen » Mon Oct 19, 2009 3:16 am

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?

Code: Select all
>>> 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
>>>
Zen
 
Posts: 7
Joined: Mon Jul 13, 2009 7:33 pm

Re: Python-Ogre 1.6.4 Available

Postby andy » Mon Oct 19, 2009 7:05 am

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
Python-Ogre: High Performance Graphics and Gaming Libraries for Python
andy
 
Posts: 846
Joined: Mon Jul 10, 2006 9:11 am
Location: Often Singapore..

Re: Python-Ogre 1.6.4 Available

Postby Davaris » Thu Oct 22, 2009 2:41 pm

Andy, have the demos and media changed since 1.6.1?
Davaris
 
Posts: 2
Joined: Fri Oct 16, 2009 7:58 am

Re: Python-Ogre 1.6.4 Available

Postby andy » Sat Oct 31, 2009 5:23 am

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
Python-Ogre: High Performance Graphics and Gaming Libraries for Python
andy
 
Posts: 846
Joined: Mon Jul 10, 2006 9:11 am
Location: Often Singapore..

Re: Python-Ogre 1.6.4 Available

Postby slver » Tue Nov 24, 2009 11:00 am

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.
slver
 
Posts: 1
Joined: Tue Nov 24, 2009 10:47 am
Location: shanghai,china

Re: Python-Ogre 1.6.4 Available

Postby andy » Tue Nov 24, 2009 12:32 pm

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
Python-Ogre: High Performance Graphics and Gaming Libraries for Python
andy
 
Posts: 846
Joined: Mon Jul 10, 2006 9:11 am
Location: Often Singapore..


Return to Python-Ogre

Who is online

Users browsing this forum: Google Adsense [Bot] and 2 guests