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,
> ssg
> 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
> elements
> 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
> not
> 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
> files.
> 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
> patch,

This looks like a good bit of work all round. I look forward to trying it
very soon.

Regards

Vivian



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to