vc71 + Dagon(1.2.3) NxTutorial Errors

Ox41464b

21-11-2006 01:41:56

Affected NxTutorials:
102 Sphere and Torque,
103 Capsule,
104 Convex Shapes,
105 (Materials),
114 Concave Shapes,
201 Joints,
202 Joints with Limits,
204 Joints Springs,
206 Breakable Joints,
303 User contacts Report,

ogre.graphics.log:
00:58:01: WARNING: Mesh instance 'NxOgre.ErrorCube' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
00:58:01: Registering ResourceManager for type NxSCM

NxOgre.physics.log:
00:58:01.000001 Starting up NxOgre using versions:
-> PhysX SDK 2.6.2
-> Hardware None installed or none found.
-> NxOgre NxOgre 0.4.RC2.Debug (Compatible: yes) (Debug version)
-> Ogre 1.2.3 'Dagon'
00:58:01.000001 Started.
00:58:01.000001 Creating scene 'Main'.

Suspected: Filename:"sphere.50cm.mesh" (but not the .mesh file)
after replaced with Filename:"sphere.2m.mesh", everything works without error.
This part really confuse me..., any sphere.*.mesh FILE works, as long its not "cm"
any Explaination why this bugs occured really appreciated

Full Log: [http://ogre.garasi.web.id/NxTutorials_ErrorLog.zip 32k]
vc71.Solutions: [http://ogre.garasi.web.id/NxOgre.Solution.vc71.zip 82k]
Binary Debug: [http://ogre.garasi.web.id/NxTutorials_ErrorBinary.zip 3MB] (build with vc71 + Dagon 1.2.3)
Uhm... vcexpress + Eihort working without this "cm" error

and also...
120x - nShapes
Assertion failed!
Program: ...rary\NxOgre\tutorials\nxTutorial120x_debug.exe
File: x:\library\nxogre\source\nxogre_shape.cpp Line: 848
Expression: status && "Convex cooking failed"

betajaen

21-11-2006 08:19:19

Alright, it seems that sphere mesh doesn't like Dagon anymore. I notice your using VS7.1, I wonder if that may be effecting it - some how.

Oh anything with convex shapes in debug mode won't work, it's to do with cooking, memory macros and so on.

Ox41464b

21-11-2006 09:30:43

Alright, it seems that sphere mesh doesn't like Dagon anymore.

actually its nothing todo with the .mesh files,
but the naming only... if the filename have cm its will not works
try replacing sphere.50cm.mesh with sphere.2m.mesh
and... DANG! Same error occured...

and also to try, replace string:"sphere.50cm.mesh" with another "name.mesh"
Its will works perfect...

mySphere = mScene->createBody(
"mySphere", // Name
"sphere.50cm.mesh", // sphere.50cm.mesh Mesh name to use
new sphereShape(0.5f), // Sphere Shape with a 0.5 metre radius
10.0f, // Density
Vector3(3,1.5,0) // Where to put it
);

became:
mySphere = mScene->createBody(
"mySphere",
"sphere.others.mesh", //and copy sphere.50cm.mesh into this filename
new sphereShape(0.5f),
10.0f,
Vector3(3,1.5,0)
);


um... at least that what i found..

betajaen

21-11-2006 09:50:20

That's gone to point beyond bizarre.