problem i use the nxs cloth file,

ljenjoylife

19-10-2009 04:12:06

i use the flour0.4
flour --cloth cube.flower ------> cube.nxs

but when i use it like: NxOgre::ClothDescription desc;
desc.mMesh = NxOgre::MeshManager::getSingleton()->load("media:cube.nxs");


it crashes: debug error, heap corruption detected

why? i cann`t solve it.

betajaen

19-10-2009 10:21:42

Try testing the cloth.nxs using Flour first.

flour --cupcake cube.nxs

If Flour can load it, then most likely it's an archive or path problem.

ljenjoylife

19-10-2009 12:20:28

yeah, it says "shape could no be loaded"

but, why?
is there something wrong with my .flower file?

betajaen

19-10-2009 13:10:26

Could be.

Is the cloth.nxs filesize; 0?

ljenjoylife

19-10-2009 14:06:14

no, its size isn`t zero.
and i open it with ultraedit, i can see the .nxs type : nxs.clth.....

can u show me how you create the cloth file? in your example, you create the flag from the .xcl file sucessfully.
i still cann`t make it with few days work.