Draw an arbitrary 3d polygons

Hi,



I need to render a set of polygons obtained from file.



Each polygon has number of vertices unknown beforehand.



I am using TriMesh for such a purpose. Everything is quite clear, except indices - they must split each polygon forming complete coverage of polygon with triangles. Of course, I can handle this, but I was thinking maybe there are more convenient tools to render an arbitrary polygon in JME?



Thanks,

Sergey

No, I'd say using TriMesh is fine. Maybe you come up with some utility class to create them from more abstract data? If so, maybe you want to contribute it?

Cheers,

Normen