alpha property with linesegment?

Software: Away3D 4.x

proyb2, Newbie
Posted: 04 November 2011 08:05 AM   Total Posts: 17

I drew a few lines with linesegment and add into segmentset but how do I set alpha with it so that it work well with 3rd party tween?

   

Avatar
80prozent, Sr. Member
Posted: 04 November 2011 03:16 PM   Total Posts: 430   [ # 1 ]

i wanted to change the alpha of a linersegment too, but i couldnt find any alpha property in the segmentmaterial.

would be cool if this could be added, or if someone tells us how to do it, if it is allready possible.

 Signature 

sorry…i hope my actionscript is better than my english…

   

Stephen Hopkins, Sr. Member
Posted: 05 November 2011 10:28 PM   Total Posts: 110   [ # 2 ]

Might be a bit overkill, but I made a 3D Line segment primitive because I wanted the segments to have depth shading but the normal line segment didn’t support it. I guess what I made is more like a prism with flat shading. I would need to clean it up a bit as it’s use is kind of specific right now, namely creating 3D space curves, but I could generalize it to allow you to make a prism from point a to point b.

 Signature 

http://www-scf.usc.edu/~shopkins

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X