CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
m
→‎Status: update status as per devel list comments, for future reference
m (→‎Status: update status as per devel list comments, for future reference)
Line 74: Line 74:


There are probably some hard-coded assumptions in the terrain loading part of either SG or FG.<ref>https://sourceforge.net/p/flightgear/mailman/message/37058200/</ref>
There are probably some hard-coded assumptions in the terrain loading part of either SG or FG.<ref>https://sourceforge.net/p/flightgear/mailman/message/37058200/</ref>
For now, it seems we 'Cant Use' CompositeViewer because of $reasons in the Effects code. Maybe the reason is simply that it needs some work to move away from the single CameraGroup, however.<ref>https://sourceforge.net/p/flightgear/mailman/message/37059939/</ref>


Jules shared the patches so that people more familiar with OSG can hopefully make some progress here.<ref>https://sourceforge.net/p/flightgear/mailman/message/37058676/</ref>
Jules shared the patches so that people more familiar with OSG can hopefully make some progress here.<ref>https://sourceforge.net/p/flightgear/mailman/message/37058676/</ref>


He also added lots of diagnostics trying to figure out why scenery isn't being loaded: https://sourceforge.net/u/cgdae/flightgear/ci/eea77c18e29a7a8660a0e4b61fa687d937d0997e/
He also added lots of diagnostics trying to figure out why scenery isn't being loaded: https://sourceforge.net/u/cgdae/flightgear/ci/eea77c18e29a7a8660a0e4b61fa687d937d0997e/
when loading, we call <code>SceneryPager::PagerRequest::doRequest(SceneryPager* pager)</code> which calls <code>pager->requestNodeFile()</code> which is an alias for
<code>osgDB::DatabasePager::requestNodeFile()</code>.
With vanilla fgfs, this eventually results in a call to: <code>simgear/simgear/scene/tgdb/ReaderWriterSTG.cxx:700:ReaderWriterSTG::readNode()</code>
But with the CompositeViewer changes, this never seems to happen.
Presumably osgDB::DatabasePager::requestNodeFile() is making some sort of callback after it has (while running in a separate thread) loaded the requested file.<ref>https://sourceforge.net/p/flightgear/mailman/message/37059972/</ref>


{{See also|Draw masks}}
{{See also|Draw masks}}

Navigation menu