Exporting 3d scene in image file

Software: Away3D 4.x

Black Moon, Newbie
Posted: 04 August 2011 06:37 AM   Total Posts: 1

How i can save whole 3d scene in image file (gif, png, jpeg or other)?
In DX I can save frontbuffer data to file. Does away3d have some tool for saving 3d scenes?:coolhmm:

   

rdoi, Member
Posted: 04 April 2014 02:22 PM   Total Posts: 86   [ # 1 ]

Old post resurrected…

Take a look in the method Context3D.drawToBitmapData().

It is a bit tricky because it has to be called in specific rendering moment, but doing right it will fill a BitmapData you can then dump to a image file.

   

Avatar
theMightyAtom, Sr. Member
Posted: 04 April 2014 08:06 PM   Total Posts: 669   [ # 2 ]

Try using

view.renderer.queueSnapshot(myBitmapData);
view.render();

That will fill the bitmapData with the next completely rendered frame.

Good Luck!

   

hjimage, Newbie
Posted: 13 May 2014 02:42 AM   Total Posts: 4   [ # 3 ]
arronlee - 04 April 2014 07:58 AM

Hi, Black Moon.
Have you ever found your way out? How about saving 3d scene in image file with the help of someimage saving SDK? Have you ever tried to fo so? I am not so sure about whether it is the best solution to this problem, but you can google it and select a professional 3rd party imaging toolkit whose way of processing is simple and fast to help you with the related work. Remember to check its free trial package first if possible. I hope you success. Good luck.

Best regards,
Arron

hi, arrolee. this only works for normal image, not 3D sene. but thanks anyway for sharing this amazing image sdk.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X