|
From: James W. W. <os...@jw...> - 2005-07-31 05:10:49
|
Thanks for the feedback, guys. I came up with a plan that I think is less likely to cause problems. First, I will add APIs to explicitly optimize a TQ3TriMeshData or a TriMesh object. Second, it occurred to me that I am really talking about optimizing for the interactive renderer, and a different renderer might have a different opinion about what is a good TriMesh. Therefore, I will give the interactive renderer the job of optimizing TriMeshes on the fly. I'll use a custom element to attach an optimized version to the original object. Therefore if you call Q3TriMesh_GetData or Q3TriMesh_LockData, you will still get the original unoptimized data. |