Hundred screenshots problem

Software: Away3D 4.x

Alexey L, Newbie
Posted: 17 June 2014 06:30 AM   Total Posts: 1

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.

   

Avatar
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.
It will be hardware specific, i.e. if you try it on other machines you will get different results.

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!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X