flower trianglemesh limitation.

IgorPirie

21-12-2015 05:16:56

It is known linit for convex as 256 faces, but is exists strange bug for limit generation from .flower to .nxs as "trianglemesh"(physx devs make no limits for last). If .flower file size more then 12mb in result convertation .nxs file is 0kb size. :x

It exists external interior model with big detalization. And external soft generate unlimited by size physics files.

insider

22-12-2015 07:38:27

It is known linit for convex as 256 faces, but is exists strange bug for limit generation from .flower to .nxs as "trianglemesh"(physx devs make no limits for last). If .flower file size more then 12mb in result convertation .nxs file is 0kb size. :x

It exists external interior model with big detalization. And external soft generate unlimited by size physics files.


That's a negative, I just converted a 17mb .flower file and got out a 3mb .nxs file, kindly recheck your scenario, it's been a while since I did the .xml,.flower,.nxs way so I might not remember much.
Anyway here's my post from way back with the right way to do it i.e. flower->nxs

http://www.ogre3d.org/forums/viewtopic.php?f=1&t=66917

Regards

Insider

IgorPirie

26-12-2015 17:19:56

That's a negative, I just converted a 17mb .flower file and got out a 3mb .nxs file

its good. maby i write some uncorrect limits like "more then 12 mb".

Continuing my issue i shared my model probe .

Model Probe: https://drive.google.com/file/d/0B-mxhq5kj4rwSVhrMTlsc2RZYzg/view?usp=sharing

stats:
CenterCity_fbx.mesh (size: 49 067 kb)
CenterCity_fbx.mesh.xml (size: 144.268 kb)
CenterCity_fbx.flower (size: 45 322kb)
CenterCity_fbx.nxs - is 0 kb.

second test with more small size of modelfoles also FAIL is:
serpentine city_obj.mesh (size: 9 065 kb)
serpentinecity_obj.mesh.xml (size: 78 078 kb)
serpentinecity_obj.flower (size: 23 635 kb)
serpentinecity_obj.nxs (size: 0 kb)

third test is wit POSITIVE result:

DeltaGlyderlanded_obj.mesh (4 623 kb)
DeltaGlyderlanded_obj.mesh.xml (37 505 kb)
DeltaGlyderlanded_obj.flower (11 985 kb)
DeltaGlyderlanded_obj.nxs (1 781 kb)


Truing use xmltoflower.exe (from https://github.com/betajaen/flour/downloads) or truing create .flower file throught blender export plugin for generation- cause no matter effect. .nxs still null.



Currently i continue search cause of this nullsizing of triangle .nxs

...

At http://ogre3d.org/tikiwiki/Flour among limits triangle mesh generation as .nxs is next:


Triangle Meshes (*.nxs) cannot be converted from Ogre Meshes that uses shared vertices.

IgorPirie

26-12-2015 18:22:10

In searcing cause of nullsizeing i make some experiments:

1) If in .flower as opened text document delete some blocks of coordinates- (not very latge .nxs) be generated successfully.

2) Second, if delete from index script block some data, .nxs build fine.

For example : delete next part of ids fixes bug

35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 48, 43, 49, 45, 46, 47, 50, 51, 52, 53, 54,
55, 56, 57, 53, 53, 58, 59, 60, 61, 53, 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,


But this works with another parts of ids in block.

I dont know what issue, becaose as i see, deleted parts of script is perfect in serialization. There no missing commas.










Cutted flower file builds ready to game worked .nxs file, but with cutted some phys geometry.

Geometry in PhysXDebugger:



If delete data from first half of datablocks, .nxs also generated successfully.

IgorPirie

27-12-2015 14:39:37

In conclusion i write:

physlib core: changin PhysX 2.8.x version has no fixes nullsized bug of .nxs generation.


(for testing PhysX v3.2.3 need time for porting NxOgre in 3rd PhysX version. Possible this is bug of ->NxCookTriangleMesh() function that closed as closed convex generation limit in old 256 faces. According 2002 year CPU s small power :evil:. WITH OUT PHYSIX CARD PROCESSOR (hardware mode) that can easy calculate 1 million physx shapes (boxes, cones, spheres and so on) in game scene )

flour2NXS : Changing flour.exe from 0.3.5 0.4,0 to 0.4.7 and 0.4.8 also have no effects.

XML2FLOUR : blender plugin, or ruby script or compiled ogrexmltoflower.exe of version 0.4.8 also have no effect.

About:

Triangle Meshes (*.nxs) cannot be converted from Ogre Meshes that uses shared vertices.

opened testprobe .xml file all submeshes have parameter `usesharedvertices="false"`

IgorPirie

27-12-2015 14:42:49



insider wrote:

That's a negative, I just converted a 17mb .flower file and got out a 3mb .nxs file, kindly recheck your scenario, it's been a while since I did the .xml,.flower,.nxs way so I might not remember much.
Anyway here's my post from way back with the right way to do it i.e. flower->nxs



insider, did you can test by convertion my shared probemodel?

or what version NxOgre, PhysX, OgreXMLConverter, Ogre, Modeler Soft you use? :D

How you make this trick in 17 mb .flower ?? :roll: