After NXS files created cant move files to media folder(0.9)

toglia

14-05-2008 17:55:12

I have always used my .mesh files to load convex shapes in the scene, some while ago I discovered NxOgre (0.9) had cooked all my meshes into nxs files and I really don't know much theory but I thought they´re maybe faster to load.

Anyway, I started using these nxs files instead of the meshes perfectly (for some reason) but now I cant move these file to my media folder, my app only works if they´re beside the exe.

Can anyone tell me the main differences between a mesh and a nxs file? I know these nxs files have to be way lighter...

Thanks for the help.

betajaen

14-05-2008 17:58:30

The NXS files can be read directly into PhysX. Where as the Ogre meshes ones have to be converted to NXS files (into memory) then fed into PhysX. It is quicker to cook them off-line and store them alongside with your meshes. The NXS files themselves are just collision information; vertices; faces, etc all optimized for PhysX. Without texture coordinates and even normals.

You can put them in different folders in Bleeding, probably not in 0.9