[SOLVED] what is the limit of flour

deshan

20-01-2010 04:37:11

Hi
I am eager to know limitation of flour if have any
Suppose I have a very complex model(house). And i am going to make a trainglemesh for that model using flour. Does the flour can manage to create the traingle mesh for the whole object at once. Or does it limit to some finite set of traingles?
Of course I can create seperate traingle meshes for each and every object in the house and place them in the correct positions later. But can i do this at once using flour?

spacegaier

20-01-2010 09:04:43

Can't tell xou excact number, but I recently tried to convert a flower file with 324 vertices unsuccessfully, but 193 were okay (convexes though).

Either betajaen can tell us the number or you have to have a look at the Flour code which is somewhere available (check the links in the sticky threads here or in the NxOgre portal).

betajaen

20-01-2010 09:43:54

http://nxogre.org/flour

Near the bottom

deshan

20-01-2010 12:01:18

hmmm.. Thank you. Both of you.
This is what I understood.
If I create Convex mesh - It is dynamic thing and accept less than 255 polygons and any point set can be the input
If I create triangle mesh - It is static thing and accept more than 255 polygons and requires input of point set and vertices

Am I correct?

spacegaier

20-01-2010 12:24:39

No, your convex may have at maximum 255 Vertices (not polygons since a polygon at least consist of 3 Vertices).

betajaen

20-01-2010 13:07:38

Convex
- Dynamic or Static
- Has a vertices limit (255)
- Triangles are optional

TriangleMesh
- Static only
- No limit on vertices
- Needs triangles

deshan

20-01-2010 16:21:40

ahhh.... Got it!
I have used triangle mesh multiple times. without knowing theory what behind it.
Both of you, thank you very much..