can segmentMaterial in Away3D have a color, if so how would i do that?
I want to make wireframes in white on a black background, I expect that is the default, but any advice would be good.
SegmentMaterial color wireframesSoftware: Away3D 4.x |
||
amcc, Newbie
Posted: 25 July 2012 05:28 PM Total Posts: 10 can segmentMaterial in Away3D have a color, if so how would i do that? I want to make wireframes in white on a black background, I expect that is the default, but any advice would be good. |
||
Richard Olsson, Administrator
Posted: 26 July 2012 08:39 AM Total Posts: 1192 [ # 1 ] For segments the color is actually set on the segments themselves. So when you create a segment, set the startColor and endColor properties, and the color will be interpolated between those two. |
||
amcc, Newbie
Posted: 26 July 2012 11:16 AM Total Posts: 10 [ # 2 ] Thanks for the quick answer I’m going to be importing a model and want it displayed as wireframe. So perhaps this is the wrong method. I last used away3d 4 in January but have just returned to it. Back then the only way of making wireframes was the wireframe bitmap material method. I was hoping that a true wireframe display was in the api somewhere. Any ideas? |