|
| Roger Clark |
Post
#1
|
|
Member Group: Members Posts: 19 Joined: 17-November 06 Member No.: 531 |
Hi,
I'm new to Sandy, and have created some 3D spinning models plants in the solar system. However rotate then render speed of the models (spheres) seems to be dependent upon whether I apply the skin before or after I attach the sphere to the TransformationGroup i.e. This code... var tg1:TransformGroup = new TransformGroup(); tg1.addChild( sphere ); bg.addChild( tg1 ); sphere.setSkin(worldSkin);// Put skin on last - this seems to make it rotate then render - faster renders much faster than this code var tg1:TransformGroup = new TransformGroup(); sphere.setSkin(worldSkin);// Putting the skin on now, slows down rotation / rendering tg1.addChild( sphere ); bg.addChild( tg1 ); As the skin is a child of the sphere I would have expected the resultant object tree to look the same, hence the rotation then render speed be the same. I estimate the code at the top runs 4 or 5 times faster than the code at the bottom. Is this a know issue? Thanks Roger |
| fjr |
Post
#2
|
|
Advanced Member Group: Members Posts: 40 Joined: 12-August 06 Member No.: 255 |
Really? I don't see any difference in fps speed =/
But your theory really makes sense. Maybe this will affect the render speed on slower computer. I am not sure though. I have Pentium 4 3.4 Ghz and nVidia gForce 6800 256 Mb. |
| Lo-Fi Version | Time is now: 26th July 2007 - 09:16 PM |