Flour doesn't work

MindCalamity

13-08-2011 04:19:48

So, I'm trying to convert a mesh exported from blender 2.5 and converted into flower with the ruby script, but the result I'm getting is always an empty .nxs file.

In detail:

My mesh file:

http://pastebin.com/vAxZN97E

The produced flower file

http://pastebin.com/JfDs12MR

The commands:


D:\Libraries\flour>conv.rb convex mesh.xml
[Warning] =====================================================================
"materials.txt" does not exist in this folder. It is recommended you use one
to convert Ogre submesh names, into the PhysX material identifier equivalent.
Simply open up a text editor, and for each sub mesh name. Write it down
followed by a space (or two) with the PhysX material identifier, i.e:
grass 3
ogre_tusks 2
===============================================================================
- Wrote mesh.xml.flower


then

D:\Libraries\flour>flour convert --type=convex mesh.xml.flower
>> Converted mesh.xml.flower into mesh.xml.nxs
OK.


And the resulting mesh.xml.nxs is an empty file.

EDIT: When I worked with NxOgre a while ago it worked perfectly, then I was using Blender 2.49 and it's exporter, I thought the problem was in that, so I re-exported the mesh through the old exporter and the result was still the same, so it's not that.

Terry

13-08-2011 07:10:05

Can you let us have the file in a file format so we can download i will try in GD_VRD.

.mesh or xml will do.

Thanks
Terry

MindCalamity

13-08-2011 14:03:39

Can you let us have the file in a file format so we can download i will try in GD_VRD.

.mesh or xml will do.

Thanks
Terry


Here you go:

http://www.mediafire.com/?ghd5oilhc1zx770

That's my whole flour folder.

It has the exported mesh and the converted .nxs and .flower inside.

MindCalamity

15-08-2011 19:05:15

Any help ?

chengpo

17-08-2011 16:07:19

I am facing the error too,when I ruby ogrexmltoflower.rb triangle barrel.mesh.XML,the barrel.mesh.XML.flower is 62kb,it is bigger than the example's,it is 6kb,,,,,,,,,,,,,,,,,,,,,,,,,sorry my bad english................

MindCalamity

17-08-2011 20:48:53

So, any solutions to this problem ?

betajaen if you aren't too busy would you please try the mesh file I uploaded ? :?

hvalola

22-08-2011 11:07:19

hi
I am looking for instructions to use flour

when i try to use it as "flour convert mesh.flower" it crashes down what is the mistake i am doing.

MindCalamity

23-08-2011 08:40:01

hi
I am looking for instructions to use flour

when i try to use it as "flour convert mesh.flower" it crashes down what is the mistake i am doing.


That's exactly how you use it, any more details on the crash ?

BTW Any help on my problem ? :?

betajaen

23-08-2011 12:48:27

Can you paste the jist of the file in here.

Just the header, and some of the rest of the file - leave out the masses numbers of vertices and indices.

hvalola

24-08-2011 12:08:13

hi below is the link to my .flower file download link
http://www.4shared.com/file/5lP_2sJI/bullet.html

i found out that this only crash on the release mode exe not with the debug mode exe

betajaen

24-08-2011 13:30:33

Couldn't you just pasted part of it in here - like I asked? I really don't trust file sharing websites.

MindCalamity

24-08-2011 16:53:08

Couldn't you just pasted part of it in here - like I asked? I really don't trust file sharing websites.

Flower:

# 'mesh.xml' converted by OgreXMLToFlower
type convex


indexes 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329


And the resulting nxs is empty.

BTW I already added links of pastebin in my 1st post, and that's a pretty safe site, considering it's all just text.

betajaen

24-08-2011 19:07:36

That's the entire file?

There's no vertices, not even any normals.

MindCalamity

25-08-2011 01:24:04

That's the entire file?

There's no vertices, not even any normals.


I though it was weird that the file was that short... I'm going to re-export and re-convert everything and report back just in case.

hvalola

30-08-2011 11:23:19

hi
I created my .nxs file successfully but when i load in to my game
the bounding box size is small with respect to the object
my objective is to create a habour with collision .flower file is approx 12mb
what is the mistake i make?

MindCalamity

02-09-2011 19:29:14

hi
I created my .nxs file successfully but when i load in to my game
the bounding box size is small with respect to the object
my objective is to create a habour with collision .flower file is approx 12mb
what is the mistake i make?


Make sure you have applied scale in Blender (CTRL + A -> Apply Scale).