betajaen
07-10-2008 20:40:55
What?
This is Flour 0.3.1 (unstable), this is a complete rewrite of the existing Flour. It is regarded as unstable as it works with Ogre 1.6.0 RC1, NxOgre 1.0.22T4 and the code is less than 24 hours old.
This flour has:
- Conversion functions to Ogre to NXS,XSK (Triangle, Convex and Skeleton)
- Auto create mesh functions to NXS, XSK (Triangle, Convex and Skeleton)
- Testing functions for Ogre
- Testing functions for Meshes
- An early copy of the Ogre/NXS viewer.
Unfortunately I could not make it in time to port the height field code over, tomorrow I will work on it.
Download
Ideally you should have the old flour (so it can copy and create the proper manifests). You can download the flour executable from here, you can put it in the existing flour directory (in Program Files) which was created with the original flour installer. You can rename it to flour, or keep it as it is.
To see if it works, run a dos prompt and do.
Brief tutorial
View an Ogre mesh
To convert an Ogre mesh (nxs or xsk)
Create a skeleton (xsk) in the shape of a cube
I've found that skeleton sizes usually work best at half the meshes size and take off 20%. In this case; a 1m cube has a skeleton size of 0.4m
Perform a test on NxOgre (check to see if it's compiled correctly)
Perform a test on a mesh (nxs or xsk)
Access the help features
This is Flour 0.3.1 (unstable), this is a complete rewrite of the existing Flour. It is regarded as unstable as it works with Ogre 1.6.0 RC1, NxOgre 1.0.22T4 and the code is less than 24 hours old.
This flour has:
- Conversion functions to Ogre to NXS,XSK (Triangle, Convex and Skeleton)
- Auto create mesh functions to NXS, XSK (Triangle, Convex and Skeleton)
- Testing functions for Ogre
- Testing functions for Meshes
- An early copy of the Ogre/NXS viewer.
Unfortunately I could not make it in time to port the height field code over, tomorrow I will work on it.
Download
Ideally you should have the old flour (so it can copy and create the proper manifests). You can download the flour executable from here, you can put it in the existing flour directory (in Program Files) which was created with the original flour installer. You can rename it to flour, or keep it as it is.
To see if it works, run a dos prompt and do.
flour test
Brief tutorial
View an Ogre mesh
flour view barrel.mesh
To convert an Ogre mesh (nxs or xsk)
flour convert in: barrel.mesh, into: convex, out: barrel.nxs
Create a skeleton (xsk) in the shape of a cube
flour make file: test.xsk, type: skeleton, generate: box, size: 0.4 0.4 0.4
I've found that skeleton sizes usually work best at half the meshes size and take off 20%. In this case; a 1m cube has a skeleton size of 0.4m
Perform a test on NxOgre (check to see if it's compiled correctly)
flour test
Perform a test on a mesh (nxs or xsk)
flour test type: mesh, file: mesh.nxs, verbose: yes
Access the help features
flour
flour what-is view
flour what-is test
flour what-is make
flour what-is test
flour what-is convert