Mathias Fröhlich wrote:
> Sent: 08 October 2004 07:24
> To: [EMAIL PROTECTED]; FlightGear developers discussions
> Subject: [Flightgear-devel] [PATCH] crease for ac3d files and speedup
> Hi all,
> During the past days I have done some profiling on flightgear. One final
> outcome of that work was, that most time is spent in ssg routines (yes,
> not OpenGL!!). The problems are the huge amount of small leaf nodes we get
> from the ac file loader. That vertex optimization pass makes this a bit
> better but there was still room for improovement.
> I have now changed the ac3d file loader to first collect all surface
> of a leaf object and then split them to a minimum number of leaf nodes
> according to material and colour properties.
> For my local setup (radeon 9100, athlon XP 2400+) this gave me a framerate
> speedup up to 40% (16 fps -> 26fps, for the c172 rendered in a window to
> hit the ancient radeons fill rate limit). I would guess that the average
> speedup is about 25%-30%.
> As a /sideeffect/ it was now easy to implement the crease tag for ac3d
> Ac3d models look now the same as in ac3d.
> Attached is a patch to todays plib anoncvs.
> Is sombody there with cvs write access to plib? Can somebody apply this
This looks like a good bit of work all round. I look forward to trying it
Flightgear-devel mailing list