kurisusan
15-06-2010 13:39:59
Hi,
I'm not sure if this is possible, but I am using NxOgre to create multiple rigid bodies and coming to render the frame rate is become increasingly slow. The entities are very primitive, just 2x4x2 cubes with a very simple texture.
I have looked into OgreInstancedGeometry to try and improve rendering but as OgreInstancedGeometry only creates a batch object with one scene node instead of separate entities which means I cant use NxOgre on each entity.
Is there any way to implement an InstancedGeometry for NxOgre ? The only way I can think of is to use a modified Scenenode that can attach an instanced object or create a modified Entity with _updateMoved overridden so it instead moves the InstancedObject within the OgreInstancedGeometry batch.
Please help!
Cheers
I'm not sure if this is possible, but I am using NxOgre to create multiple rigid bodies and coming to render the frame rate is become increasingly slow. The entities are very primitive, just 2x4x2 cubes with a very simple texture.
I have looked into OgreInstancedGeometry to try and improve rendering but as OgreInstancedGeometry only creates a batch object with one scene node instead of separate entities which means I cant use NxOgre on each entity.
Is there any way to implement an InstancedGeometry for NxOgre ? The only way I can think of is to use a modified Scenenode that can attach an instanced object or create a modified Entity with _updateMoved overridden so it instead moves the InstancedObject within the OgreInstancedGeometry batch.
Please help!
Cheers