Hi
I would like to create a mesh “by code”. In Away 3 Ive used methods/classes like:createVertex, Face, createSurface, setUVsToFace. How can I work this out in Away 4?
T76
How to buid meshSoftware: Away3D 4.x |
||
taurus76, Newbie
Posted: 01 December 2011 09:46 AM Total Posts: 4 Hi I would like to create a mesh “by code”. In Away 3 Ive used methods/classes like:createVertex, Face, createSurface, setUVsToFace. How can I work this out in Away 4? T76 |
||
Fabrice Closier, Administrator
Posted: 01 December 2011 10:17 AM Total Posts: 1265 [ # 1 ] Take a look at tools.MeshHelper |
||
taurus76, Newbie
Posted: 20 January 2012 12:10 PM Total Posts: 4 [ # 2 ] Thanks Fabrice! My problem is that I have a set of Vertex (polygons, rectangles). Methods from MeshHelper/FaceHelper want arrays of triangles with UVs. Im able to triangulate in 2D, but doing the same in 3D is too much for me. Have you came across a method to triangulate array of 3D Points? T76 |