Filters on mesh

Software: Away3D 4.x

Avatar
TrueSign, Member
Posted: 13 May 2012 11:53 AM   Total Posts: 57

Hi,

I would like to add glow filter to mesh on mouse over but I got an error: Cannot create property filters on away3d.entities.Mesh. So how can I add as3 filter glow to 3d mesh object.
I have used this code:

var glow:GlowFilter = new GlowFilter(0xf6b900,0.8,6,6,2,1,false,false);
_myMesh.filters [glow]

It doesn’t have to be glow filter. I just want to mark mesh somehow to show mouse is over. Any techniques on mouse over and mouse out on 3d object that I can use?

   

Samuel Girardin, Member
Posted: 13 May 2012 03:59 PM   Total Posts: 74   [ # 1 ]

Hi,

You can have a look to this example :

https://github.com/away3d/away3d-examples-fp11/blob/master/src/Intermediate_MouseInteraction.as


Samuel

   

Avatar
TrueSign, Member
Posted: 13 May 2012 04:13 PM   Total Posts: 57   [ # 2 ]

Great. Thank you Samuel.

   

Drumbo, Newbie
Posted: 13 May 2012 07:11 PM   Total Posts: 17   [ # 3 ]

I’m also trying to add a ‘glow’ effect to an individual mesh. I’ve toyed with the different methods but there’s nothing that really fits the bill. Applying filters to the whole view isn’t what I’m after. Any ideas?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X