accroding to the numerical display color on a plane.
how to achieve color effect ?
how to set gradient color use AS3?
how to achieve color effect ?Software: Away3D 4.x |
||
datouaizi, Member
Posted: 10 February 2012 11:39 AM Total Posts: 98
|
||
theMightyAtom, Sr. Member
Posted: 10 February 2012 12:21 PM Total Posts: 669 [ # 1 ] You would read the color from the bitmapData of the BitmapMaterial assigned to the Plane using ordinary getPixel(). |
||
theMightyAtom, Sr. Member
Posted: 10 February 2012 12:26 PM Total Posts: 669 [ # 2 ] Ah, you mean how do you create the gradient, rather than how to read it? Good Luck! |
||
|
||
theMightyAtom, Sr. Member
Posted: 10 February 2012 01:16 PM Total Posts: 669 [ # 4 ] Interesting. |
||
|
||
theMightyAtom, Sr. Member
Posted: 10 February 2012 02:43 PM Total Posts: 669 [ # 6 ] OK, then my original answer was right, just draw into the bitmapData of the BitmapMaterial |