www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Dinin on March 08, 2015, 03:15:53 pm
-
Hi,
just a short question about processtime for world.renderScene() and world.draw().
I have a world with about 20-25 Objects with 770 Polys.
The objects are keyframe animated and the textures are 128x128.
So one renderScene takes about 6ms and world.draw takes between 30-40ms.
Is this a normal time or am i doing somithing wrong ?
I'm testing on a htc one m8.
thx
Dinin
-
Are all the objects animated?
-
Yes all objects are animated.
-
In that case, it's a reasonable performance. If you want to increase it...maybe you can reduce the amount of animated objects? What kind of are these objects/animations?
-
I'm trying to create a zombie game and the objects are zombies running, attacking ... so human animation.
How much does reducing the polygons improve the performance ? It 1:1 ? so if i reduce the polygons to 1/2 is there double performance ?
-
Hard to tell...i don't think that it's 1:1, but i might be wrong. The actual animation processing is rather cheap. What's expensive is transfering the modified vertices to the GPU.