dinvog
20-03-2007 17:12:49
Hey
I am using Ogre Eihort 1.4 (SDK) with PhysX_6.12.02_SystemSoftware, PhysX_2.6.2_SDK_Core and NxOgre.0.4.RC3 . I have gone through all the tutorials (well most of them), everything worked beautifully with a little bit of help from the other threads .
But now I am struggling with the convexShape procedure. I have read through the following thread http://www.ogre3d.org/phpBB2addons/view ... onvexshape
I somewhat understood a little bit about how the vertex data is retrieved from the mesh files and then used.
What I do not understand is what is the format of mesh files? I have created mesh files in 3dsmax and exported them using LEXI exporter. They work in eihort but do not work in convexShape to make the collision model. It compiles but when I run in release mode after the loading screen it crashes.
If I use the mesh in tutorial it executes fine. also I tried the mesh upgrade but that did not change anything, still gives me the warning.
The mesh itself is just a capsule that tapers a bit on one side.
I am also trying to create a tunnel like a hollow cylinder, but that i guess that is not a convex figure. But first I need to figure out what type of mesh files can the convexShape procedure use
Thanks
I am using Ogre Eihort 1.4 (SDK) with PhysX_6.12.02_SystemSoftware, PhysX_2.6.2_SDK_Core and NxOgre.0.4.RC3 . I have gone through all the tutorials (well most of them), everything worked beautifully with a little bit of help from the other threads .
But now I am struggling with the convexShape procedure. I have read through the following thread http://www.ogre3d.org/phpBB2addons/view ... onvexshape
I somewhat understood a little bit about how the vertex data is retrieved from the mesh files and then used.
What I do not understand is what is the format of mesh files? I have created mesh files in 3dsmax and exported them using LEXI exporter. They work in eihort but do not work in convexShape to make the collision model. It compiles but when I run in release mode after the loading screen it crashes.
...
22:26:33: *** Initializing OIS ***
22:26:33: Texture: bgui.exit.png: Loading 1 faces(PF_A8R8G8B8,22x22x1) with 4 generated mipmaps from Image. Internal format is PF_A8R8G8B8,22x22x1.
22:26:33: Texture: pause.png: Loading 1 faces(PF_A8R8G8B8,22x22x1) with 4 generated mipmaps from Image. Internal format is PF_A8R8G8B8,22x22x1.
22:26:33: Texture: debug.png: Loading 1 faces(PF_A8R8G8B8,22x22x1) with 4 generated mipmaps from Image. Internal format is PF_A8R8G8B8,22x22x1.
22:26:33: Texture: bgui.pointer.png: Loading 1 faces(PF_A8R8G8B8,24x24x1) with 4 generated mipmaps from Image. Internal format is PF_A8R8G8B8,24x24x1.
22:26:33: Texture: gui_pause.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
22:26:33: Font nxogrefontusing texture size 512x256
22:26:33: Info: Freetype returned null for character 160 in font nxogrefont
22:26:33: Texture: nxogrefontTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
22:26:33: Mesh: Loading nx.bodyguide.mesh.
22:26:33: WARNING: nx.bodyguide.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
22:26:33: Texture: bodyguide1m.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
22:26:33: Registering ResourceManager for type NxSCM
22:26:33: Mesh: Loading Capsule01.mesh.
22:26:33: WARNING: Capsule01.mesh is an older format ([MeshSerializer_v1.30]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
If I use the mesh in tutorial it executes fine. also I tried the mesh upgrade but that did not change anything, still gives me the warning.
The mesh itself is just a capsule that tapers a bit on one side.
I am also trying to create a tunnel like a hollow cylinder, but that i guess that is not a convex figure. But first I need to figure out what type of mesh files can the convexShape procedure use
Thanks