drawing the view3d as bitmapdata

Software: Away3D 4.x

maneatingsheep, Newbie
Posted: 21 November 2011 05:00 PM   Total Posts: 12

hi all
i’m trying to draw my model on top of some 2d stuff.
the best way was to draw it to a bitmapdata using:

view3D.render();
view3D.renderer.swapBackBuffer false;
view3D.stage3DProxy.context3D.drawToBitmapData(bmData); 
view3D.renderer.swapBackBuffer true

but as soon as i bring filters into play i get the dreaded

“All buffers need to be cleared every frame before drawing.” error

please tell me how to solve it, and i’ll show you a really cool way to receive your bitmapdata export with a transparent background wink

   

maneatingsheep, Newbie
Posted: 21 November 2011 05:14 PM   Total Posts: 12   [ # 1 ]

this thread was posted twice by mistake. please reply to the other one

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X