This issue has already been addressed in the current implementation.
Tim used a slave camera to draw the near geometry while the main camera
draws the far geometry. Look in CameraGroup.cxx and in 
/sim/rendering/camera-group/znear properties. 

There is one camera that draws between 
/sim/rendering/camera-group/znear (0.1 by default) and
/sim/rendering/camera-group/near-field (100 by default) and the other
between /sim/rendering/camera-group/near-field and 
/sim/rendering/camera-group/znearzfar (120000 by default)

Regards,
-Fred


----- "Paul Guhl" a écrit :

> Curtis,
> 
> I know, it's a problem solved in FG many years ago :). I know it
> arises 
> in all simulations and has to be solved in some way. Falcon4 for
> example 
> apears to be scaling the cockpit model 10x of original size (from what
> i 
> have seen in the code).
> 
> Thanks for advice, i will check it! It was also my idea to feature 
> ordered renderinging and switching z-depth depending on the stage, now
> i 
> have to discover how :D
> 
> Thanks!
> 
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
> XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit
> performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Flightgear-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-- 
Frédéric Bouvier
http://www.youtube.com/user/fgfred64       Videos


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to