Possible Performance Tuning

Software: Away3D 4.x

sai_student, Newbie
Posted: 20 February 2012 09:51 PM   Total Posts: 6

I’ve been using Away3D 4.0 for around a month and really love it.
Right now, I’m having low framerate on my Away3d app and I wonder if there is anyway to improve.

Got 60fps for 3419 polygons model / 15 for 26228 polygons model
http://aithinkso.net/temp/test_mikuNanoha/  3000 polygon example
http://aithinkso.net/temp/test_mikuLatShiki/  26228 polygon example
(I didn’t make a good loader function so you might have to refresh browser again after the first load is complete for the program to work correctly)
*for firefox, chrome only, don’t know why there is problem with IE.


Explanation :
- Model parts is create using MeshHelper.build function.
- All of the model part use dynamic vertex in the sense that the animation is performed by updating all vertex data.
- For the animation part, I simply use subGeometry.updateVertexData(changeVertexData) to update the animation.


my question is , I want to know whether there is something I overlook which is possible in Away3d.
Example such as
- draw only visible plane ?
- update the vertex directly without using updateVertexData() ?
- double buffering ?
- etc.


Would be appreciate for any tuning tips .
Also, If possible, I would like the documentation to get back up as soon as possible.

Thanks

   

jtopaz, Member
Posted: 19 April 2012 03:54 PM   Total Posts: 53   [ # 1 ]

hi sai_student,

I start working on loading pmd, vmd file and I find your post.
Your example is great.

Jason
Thanks

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X