Author Topic: scene background transparency  (Read 152 times)

udi c   «   on: July 21, 2011, 12:05:27 PM »
Hello everyone.
first of all thank you for taking the time to read my question.
i have a 3d scene as an swf and trying to import it into a new fla.
i wish to have the background of the scene to be transparent so the underlying image, which is the background of the fla, can be seen through it (thus creating an illusion that the 3d object in the scene is floating above it.)
because i'm a beginner, i have trouble finding a way to do it by myself.
can anyone please help me.
thank you.
udi.

Ariel Nehmad   «   Reply #1 on: July 22, 2011, 05:24:13 PM »
if you are using version 1.x, the scene by default is transparent, so, when you create the flare3d scene/viewer - new Scene3D( container ), you can use as a container an empty sprite.

var sprite:Sprite = new Sprite()
addChild(sprite);
var scene:Scene3D = new Viewer3D(sprite)
....

in molehill version, you can not do that, because the stage3d is behind all 2d content.

udi c   «   Reply #2 on: July 25, 2011, 12:33:59 PM »

Hi Ariel.
Thank you for your quick reply.
I don't think I explained myself well. (or I didn't understand your answer in my "context").
My intention is to show a 2D scene with Layers in it. Somewhere in one of the middle layers I want to insert the 3D swf (which will not have any 2D objects in it). I want to know if the bottom layers (under the "3d" layer) will be visible.
thank you.
udi.