Outline method + Sprite3D

Software: Away3D 4.x

Kvazar, Newbie
Posted: 21 November 2012 01:05 AM   Total Posts: 8

Hello.
Is it possible to use the OutlineMethod with a material on a Sprite3D?

addMethod(new OutlineMethod(0xFF00001truefalse)); 

doesn’t work

addMethod(new OutlineMethod(0xFF00001truetrue); 

Error #1034

   

Kvazar, Newbie
Posted: 24 November 2012 02:48 PM   Total Posts: 8   [ # 1 ]

Tried to apply glowfilter to the copy of texture - it works, but slow and uses 2 times more memory as a single bitmapdata.
Any ideas?

   

Kvazar, Newbie
Posted: 10 December 2012 05:16 PM   Total Posts: 8   [ # 2 ]

The problem still exists =(

   

Mario M., Newbie
Posted: 29 July 2013 03:50 PM   Total Posts: 12   [ # 3 ]

Are you creating animated sprites from movieClips?
In this case, you can add glow in Flash IDE doing some steps:

FLASH IDE:
1. Create new movieClip containing all the animated frames and call it (property name) i.e.: “container”
2. Modify the timeline adding to the new mc same frames as the inner animation. (it can be optional, depending how do you hack away code later).
3. Add glow effect to thee new mc

AWAY3D:
4. In away code, modify SpriteSheetHelper.generateFromMovieClip()
Find Line 84: sourceMC.gotoAndStop(frameNum);

add:  if (sourceMC[“container”]) sourceMC[“container”].gotoAndStop(frameNum);

Probably you can do the same only using code, but it’s the easier way I’ve found.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X