I want to draw a 3D irregular shape by a array of vertex. Is there any API function can do that?
Thanks in advance.
How to draw a 3d irregular shape, anybody help?Software: Away3D 3.x |
||
scutterry, Newbie
Posted: 17 August 2011 01:46 AM Total Posts: 17 |
||
Richard Olsson, Administrator
Posted: 17 August 2011 05:14 AM Total Posts: 1192 [ # 1 ] Look at how the built-in parsers build meshes from different formats. If you read the source for the OBJ parser for instance you should be able to see how a mesh can be built. |
||
|
||
|
||
|
||
scutterry, Newbie
Posted: 17 August 2011 10:01 AM Total Posts: 17 [ # 5 ]
Sorry, I described the requirement in a unclear way. that’s just some outline vertecs. The outline of irregular shape include right angle, round corner. And each round corner has 30 vertecs. I have no idear how to use these vertecs to draw a irregular shape. and UV mapping. |