John Check wrote:
> Gene Buckle wrote:
> > Would it be possible instead to have the software render the instrument
> > panel only, and not the outside view? That would satisfy the aim of a
> > panel-only display.
>
> That would rock, especially if it would run w/o 3D hardware
The first part of that can't possible be difficult. Just find
wherever in the main loop the "render viewport" step goes and wrap it
with a test for "/sim/render-view" or whatnot. Peeking really
briefly, it looks like the whole top chunk of fgRenderFrame() in
src/Main/main.cxx could be so wrapped, all the way up to the bit at
the bottom where the panel is rendered.
The second might be difficult. The current panel architecture is
based on the idea of cheap texture composition ("layers"). That
doesn't work terribly well without hardware support. If you remove
all the work done in the current terrain rendering, it *might* work
well enough (say, 10Hz or higher) in software OpenGL, though. It
couldn't hurt to try it -- just make the above modification and run
the resulting binary against software-mode Mesa.
Andy
--
Andrew J. Ross NextBus Information Systems
Senior Software Engineer Emeryville, CA
[EMAIL PROTECTED] http://www.nextbus.com
"Men go crazy in conflagrations. They only get better one by one."
- Sting (misquoted)
_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users