[ODE] Duplicated vertices for trimeshes

Arturo Colorado Garín acolorado at telefonica.net
Tue Feb 22 18:34:55 MST 2005


>When I load a model I create a second copy of the vertex data, stripping 
>off all data except for the position (originally it has normal & uv).

That's what I do, too.

>Another reason to do this would be if the model is split by material into 
>submodels.  At this point, it is possible to combine duplicate verts, 
>eliminate them, and update the index list.

Right, it can be done on the fly directly from the "render mesh".

>However, I haven't done this, and I don't think I'll need to - I can't 
>imagine the performance impact would be that great to warrant it.

I agree. However I would like to hear from someone who has already tried it. 
Maybe I'll try it in the future, once my exporter is working and I have 
bigger worlds to play with.


Thanks,

--Arturo Colorado.



More information about the ODE mailing list