On Mittwoch 30 November 2005 05:41, [EMAIL PROTECTED] wrote:
> > 3. Code optimization is the hardest,
>
> Talking completely out of my butt here . . .but I remember Matthias
> Froelich's plib changes that bought us a lot of performance in this
> regard; that certainly suggests that there may still be ground to be
> gained that way.
There is. I already know something which would help further.
> But I also remember some discussion in -devel that
> a better route may be to switch to OpenSceneGraph from plib's SSG.
> I don't doubt that that's a very non-trivial route to go. I guess
> I'm just wondering what the people who actually know something about
> OpenGL coding see as our possible courses in this regard for the
> future . . .
Yes, this is indeed the reason I do not just start implementing further
improovements in ssg.
I also believe that we could benefit from OpenSceneGraph (from now called
shorter osg), but this is also a huge thing which would require some well
thought steps.
Several steps must be done before we can think about
- I know that the ac3d loader is very slow. That would require some prework.
We should also double check the other loaders we will use much.
- We would need a loader for the flightgear scenery. Not too hard, but
somebody needs to do.
- We should get rid of further scenegraph dependencies like the sgVec* stuff.
For that step I already have something prepared on my local disc which would:
Interface well with ssg, interface well with osg and is more intuitive to use
than the sg* stuff.
- Factor out an own very thin layer which hides acces to the scenegraph.
Propably with typedefs or small inlined proxy classes.
- Switch that layer to osg and start thinking if it might be beneficial to
keep that layer or better remove again it past that step.
I believe that this could be done without disturbing other development too
much.
But I also believe that this is not a one man job.
And excuse me for bringing up this on flightgear-users, it just fits that
thread even if it should better happen on -devel :)
Greetings
Mathias
--
Mathias Fröhlich, email: [EMAIL PROTECTED]
_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d