Object Transparency

Software: Away3D 4.x

Tom.de, Newbie
Posted: 23 May 2012 04:53 PM   Total Posts: 30

Hey everyone,

this is probably a bit of a beginner question but I am not sure how to best solve it at this point.

Let’s say I have a more or less complex character model, consisting out of several sub meshes (eyeballs, eyelids, etc.)
It works perfectly.

Now in certain cases the character model will obscure another object I actually have to see. Therefore, I make the character model temporarily transparent.

Gameplay wise the perfect solution. (The both have to occupy the same space on screen but I want to see what’s behind the character model.)

In order to make the character model transparent I apply a ColourTransform, setting alpha to about 0.4.

Again, this works perfectly but looks rather ugly because now I can see the eyeballs floating within the model etc.
Is there a “prettier” way to achieve this effect? (So I can see through the model without seeing what is within it?)

Does that make sense?

   

Richard Olsson, Administrator
Posted: 16 June 2012 02:16 PM   Total Posts: 1192   [ # 1 ]

I’m afraid not, apart from making sure that your entire character is the same renderable (a single SubGeometry/SubMesh within a Geometry/Mesh) but then you’ll have problems with animating things individually. I’m afraid this sounds like something that will be hard to solve with a general-purpose 3D engine using the rendering pipeline that Away3D uses.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X