I need to make about 100 screenshots. I placed the object on the stage, make a screenshot, remove it and in the loop do next. The first few screenshots are good, but then sometimes there is a situation when part of meshes in the screenshot is drawn in white, with no textures. Maybe the texture does not have time to apply for a mesh? Perhaps you want to track an event has finished loading textures? Tell me, please.
Hundred screenshots problemSoftware: Away3D 4.x |
||
|
||
theMightyAtom, Sr. Member
Posted: 17 June 2014 08:43 AM Total Posts: 669 [ # 1 ] What may be happening is that you are running out of memory. I’ve come up against limits when working with large images, and I would assume working with lots of images would be the same. Try using Scout to find out. Normally when you hit the limit of VRAM the player just explodes with an exclamation mark in the middle of the screen. If it is a question of taking the screen shot before the asset is loaded you should be able to check in the AssetEvent. Good Luck! |