When I create a Box and export it, I get a mesh with 6 submeshes, one for each side. Wouldn't it be more efficient if it was just one submesh? Since the operationtype the exporter uses is triangle_list, and the box has the same material on all sides, this shouldn't be a problem, or am I wrong?
Is there something I have to do before exporting to get all sides into one submesh or is it an optimization for the exporter that is still on the todo list?
3dsexporter question: too many submeshes?
-
- Gremlin
- Posts: 182
- Joined: Tue Jan 25, 2005 7:56 am
- Location: Germany
-
- OGRE Expert User
- Posts: 286
- Joined: Fri Nov 01, 2002 3:54 pm
- Location: Berlin & Nuremberg, Germany
- x 1
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- Gremlin
- Posts: 182
- Joined: Tue Jan 25, 2005 7:56 am
- Location: Germany
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- OGRE Expert User
- Posts: 286
- Joined: Fri Nov 01, 2002 3:54 pm
- Location: Berlin & Nuremberg, Germany
- x 1
Dragging the material onto the objects or subobjects is actually not the same.:wumpus: wrote:Might be a stupid question, but how do I change the MatID? The three submeshes already have the same 3ds material dragged to them so that's not it.
- select object (woah!)
- use edit mesh modifier
- use select poly mode
- scroll down in the modifier dialog
- now you can select by mat id and assign a new id
- You may have to select the polys for each of the 6 standard mat ids and then reassign them. IIRC, sometimes it didn't work to apply one mat id to the whole thing.
Oh, and is the correct name 'submaterial id' ? I'm not sure...
That's all off the top of my head, so it may not be totally accurate.
-psy
-
- Gremlin
- Posts: 182
- Joined: Tue Jan 25, 2005 7:56 am
- Location: Germany