Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
A little note about performance; very crucial
Topic Started: Mar 13 2009, 11:38 PM (471 Views)
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
I was doing a little benchmarking today and ran across an interesting thing. I ran a test which did 500 raytracing calls for a 10000 polygon mesh each step, and I got about 70 fps. I scaled the mesh by a factor of 100 and guess what. The fps went down to about 1. So, what I gathered from the test were two things: 1. Keep your mesh as small as possible (small polycounts and small size.) 2. Small physical size is just as important as small poly counts, if not more so.

I knew size had some affect towards collision performance, but I had no idea the effect was so considerably immense. My guess is the ray tracing uses some sort of frustrum culling. :ermm:

To those in disbelief, yes, I did scale the mesh in the modeling software (not per step.)
Edited by Eansis, Mar 13 2009, 11:39 PM.
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
Dr. Best
Member Avatar
Administrator
[ *  *  *  *  *  * ]
It is not frustum culling, it is a ray intersection test for bounding boxes, which is performed before the triangle intersection test. And it is done for terrain tiles and for models, which do not use skinning. Models with skinning and primitives do not do it.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply