Q About Newton Performane

flower85

13-07-2007 22:50:37

is newton affect on the performance
I have Scene with 1080 mesh
but when use newton it doesnt work all entities are treecoli.
is there any way to make it run

walaber

13-07-2007 23:33:08

what doesn't work exactly? please explain your problem in more detail.

flower85

14-07-2007 05:03:45

the oSceneLoader_demo_dagon doesnt run (exe)
that contain in createEntity the following code

// Attach the mesh entity to node
pObjNode->attachObject(pEntity);
//here**************************************8
OgreNewt::Collision* colDotScen = new OgreNewt::CollisionPrimitives::TreeCollision(mWorld, pObjNode, true);
OgreNewt::Body* bodDotScen = new OgreNewt::Body( mWorld, colDotScen );
delete colDotScen;
bodDotScen->attachToNode(pObjNode);
bodDotScen->setPositionOrientation(pObjNode->getPosition(), pObjNode->getOrientation());

When I run demo the runnning stop after period of times(without loading scene -black screen level)


Q2
so we spilt the scene into 2 scene
with newton + without newton
(exe) run but the performance very very low
this is our story
t