Render Mesh to Bitmap

Software: Away3D 4.x

GiGBiG, Member
Posted: 08 August 2013 03:39 PM   Total Posts: 57

Hi,
is it possible to render a mesh to a Bitmap? I don’t need a rough method like queueSnapshot, as I need a clean transparent background: my mesh uses textures with glows etc, so alpha threshold would give a terrible result.

I have a bitmap for the 3d view background (a 2^n texture), and I would like to take the screenshot of the Mesh and draw it (stretched to meet the texture proportions) upon the background texture to show the fake 3D object while keeping the rendering process easy.

Any suggestion?
Thanks

   

Sociofilm, Newbie
Posted: 31 August 2013 01:39 PM   Total Posts: 3   [ # 1 ]

I tried to create new View3D, added some geometry on it (for example, torus), rendered it and made a snapshot using method queueSnapshot(). But it’s not the good way, because View3D should be visible on the screen at that moment… I have not found a way how to create a snapshot off of the screen.

   

GiGBiG, Member
Posted: 01 September 2013 08:13 PM   Total Posts: 57   [ # 2 ]

Well, queue actually works, but it is not what I need: I need to render a 3D object on a transparent background.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X