Re: [Plib-devel] [PATCH] crease for ac3d files and speedup
Brought to you by:
sjbaker
From: Wolfram K. <w_...@rz...> - 2004-10-08 15:51:16
|
Mathias wrote: > >Hi all, > >During the past days I have done some profiling on flightgear. One final= =20 >outcome of that work was, that most time is spent in ssg routines (yes, = ssg=20 >not OpenGL!!). The problems are the huge amount of small leaf nodes we = get=20 >from the ac file loader.=20 Yes. Actually some loaders like the MDL loader are even worse, if you save out a normal CFS1 model directly after reading it from MDL into an ascii format it can well be a GB (not a MB) in size! My fix is simply to call the function to merge all hierachy nodes and to then save as ssg. File size is then normally under a MB. The main reason is simply that there are about 1000 times more nodes than needed. Of course this HUGE overhead slows down rendering a lot. >As a /sideeffect/ it was now easy to implement the crease tag for ac3d = files. >Ac3d models look now the same as in ac3d. Great! >Is sombody there with cvs write access to plib? Can somebody apply this = patch,=20 >please? If noone else does it, remind me again in a week. > Greetings > > Mathias Bye bye, Wolfram. |