Issues.00130 - lordmundi/wikidoctest GitHub Wiki
00130: allow models to be loaded more quickly
Summary: allow models to be loaded more quickly
Created: 2009–02–13 16:33
Status: Released
Category: Request
From: frankie
Version: 2.0
Released_In: 2.1
Description:
when a model is loaded that isn't in the model cache, it can sometimes take a long time to perform triangle meshing and get it cached off. if the model is large, it can sometimes appear to the user that DOUG has locked up or is not doing anything.
This is a request to speed up the process, and possibly provide a progress indicator for the process to the user.
Comments
I have improved the performance of the tri-stripping and hashing code used during model loading and also added a second yellow progress bar that shows up to indicate tri-mesh progress on models who's meshing will take longer than 1/10th of a second, this should help to eliminate the mistaken assumption that DOUG/EDGE has locked up when in fact it is processing (meshing) a large model. The changes effected both the "libviewer" and "libdsp" libraries.
frankie September 09, 2009, at 05:27 PM: Made the commits from the changes above, but it looks like many of the cases where it appears that DOUG has locked up is not due to triangle meshing, but due to processing going on inside the model loader itself. I'm going to close this issue and open another one to ask for functionality for the ac3d loader to report progress or show some sort of indication of activity (see Issue 00187).
Associated Commits
| commit | 8ce4bdbc50b04f254006c248df73e75353651c39
link7 |
||
| Author: | Frank Graffagnino
|
| Date: | Wed Sep 9 17:10:15 2009 -0500
|
| Message: | [@Issue 00130: Speed up model loading
This speeds up triangle meshing and also adds in a yellow progress bar when triangle meshing occurs. Note that many of the slow loading models are not due to triangle meshing, but rather file parsing in the loader and as such, this will do nothing to help those issues. @] |
Affected Files:
lib_Linux_FC3/libdsp.a | Bin 735058 -> 753154 bytes
lib_Linux_FC3/libdsp_s.so | Bin 605584 -> 622877 bytes
lib_Linux_FC3/libviewer.a | Bin 1004964 -> 973440 bytes
lib_Linux_FC3/libviewer_s.so | Bin 841762 -> 830078 bytes
4 files changed, 0 insertions(+), 0 deletions(-)