Multy clone slow

Software: Away3D 4.x

Avatar
loth, Sr. Member
Posted: 16 March 2012 01:46 PM   Total Posts: 236

hello in my demo ChamaSlot i use many clone

i add tree or reed generator on terrain
(tree have physical box attached)
(reed have only 2 color material)

when i clone many of them fps slow down

any solution ?

 

   

Avatar
Matse, Sr. Member
Posted: 16 March 2012 02:15 PM   Total Posts: 149   [ # 1 ]

Spread your cloning over several frames instead of doing them all in a tight loop, if you want to keep the framerate from slowing down.
Not sure how many you can do at once, you’ll have to try and tune.

   

Avatar
loth, Sr. Member
Posted: 16 March 2012 06:19 PM   Total Posts: 236   [ # 2 ]

thanks, your right i update reed with timer event
next step optimise the PoissonDisk population

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X