Ron Jensen wrote:
> On Mon, 2009-08-10 at 22:28 +0000, Martin Spott wrote:
>> Tim,
>>
>> Tim Moore wrote:
>>> Ron Jensen wrote:
>>>> For some reason scenery textures are no longer being loaded by fgviewer?
>>>>
>>> This is the "fault" of the new effects code. Effects rely on the FlightGear
>>> property tree and on some custom OSG handling. I started pulling what was
>>> needed into fgviewer.
>> You've probably misunderstood 'fgviewer'. As far as I can tell, one of
>> the ideas behind this nice tool had been to create a lightweight viewer
>> component _without_ pulling in tons of inter-dependencies which are so
>> omnipresent in FlightGear.
I understand fgviewer well enough to know that it was buggy even without
the effects code: various bits were subtly different from how things are
done in fgfs. As far as lightweight goes, Ron has actually run the tool
before giving his opinion. If you're worried about memory usage, well, I'm
sure you've heard of demand paging, copy on write, and all that.
>> It's a bit sad that what is actually meant to be a useful feature (the
>> effects stuff) finally has such a huge impact on the design - I have to
>> admit that I didn't see this coming when you proposed to "add" the
>> shader effects infrastructure.
I'm not sure what you mean by "large impact on the design." If you really
care about why it is hard to make a useful standalone viewer program I
can go into greater detail, but the effects system doesn't change that
much.
>>
>> Cheers,
>>      Martin.
> 
> Actually, on my system "fgviewer" loads in ~3 seconds and
> "fgfs --fgviewer" loads in ~5 seconds.  That's acceptably light-weight
> to me.  And the "w" key works to turn on wireframes.
> 
> Thanks Tim!

You're welcome!

Tim

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to