I have been working with the following I have my models brought them
in from Prefab.
I have been looking at http://www.wemakedotcoms.com/_exp/hype/900Cubes/main.html
and applied some filters the same way he did with the hype framework.
That proved to be a costly error because I spent upwards of 8 hours
tracking down why I couldn't click on my fish in my fish tank.  The
reason was because I had applied the filter to a layer that was higher
than everything else and as a result it would capture all my clicks :
(  So the I started looking at applying the filters to only the fish
and some other objects but I can't ever see the filter I won't break
but it never renders.

Then I was looking at 
http://away3d.googlecode.com/svn/branches/lite/bin/ExLayer.swf
and that works well their I am perplexed though because I can't seem
to get a filter:(

///////////////////////////////
var fish:Object3D=twFishOne;
// twFishOne is a class of TwFish1 extends ObjectContainer3D this was
put together with PreFab
//


var layer:Sprite = new Sprite();

view.scene.addChild(fish);
fish.layer = layer;
view.addChild(fish.layer);
fish.layer.filters = [new GlowFilter(0xFFFFFF, 1, 40, 40, 80, 1)];
fish.layer.filters =[new BlurFilter(2,20,1)];
twFishOne.name = "fish" + i;

///////////////////////////////////////////////////////////////////////////////

In short this is what I am trying to make it look like only clickable:
You can zoom around with the scroll wheel.

http://i-create.org/actionscript/sweetTides/TweetTank1.html
http://i-create.org/actionscript/sweetTides/TweetTank2.html - without
filters

In the end I would like the experiment to be something kind of like
this that I worked on with webGL but you won't be able to see unless
you have a firefox nightly build. It is a 3D mashup of twitter
results.  I want the flash version analyze the sound and have the fish
swim and glow to the music.  I am really stuck on this layer thing
filter issue right now.

Another question can I make a filter that is attached to the whole
view port or stage non-interactive ?

http://i-create.org/2010/04/26/webgl-tweettank-built-with-c3dl-part-2/

Anyway If I can get this to work I will be more than happy to repost
the code so others can learn from it as well.  Thanks for the advice.


Reply via email to