Alex, You can adjust this on the fly with /sim/rendering/camera-group/near-field.
What version of OSG are you using? I'm still using 2.7.8 with success, but I believe 2.8.0 is the standard Tim's coding to. Ron On Sun, 2009-02-01 at 21:19 -0800, Alex Perry wrote: > Not to resurrect an old thread, but even znear=0.1 has the cockpit and > some visible runway gutted. I had to adjust the near-field value down > as well: > > FlightGear-0.9/source/src/Main$ cvs diff -u > cvs diff: Diffing . > Index: CameraGroup.cxx > =================================================================== > RCS file: /var/cvs/FlightGear-0.9/source/src/Main/CameraGroup.cxx,v > retrieving revision 1.14 > diff -u -r1.14 CameraGroup.cxx > --- CameraGroup.cxx 9 Jan 2009 23:16:44 -0000 1.14 > +++ CameraGroup.cxx 2 Feb 2009 05:17:01 -0000 > @@ -455,7 +455,7 @@ > bindMemberToNode(gnode, "znear", cgroup, &CameraGroup::_zNear, .1f); > bindMemberToNode(gnode, "zfar", cgroup, &CameraGroup::_zFar, 120000.0f); > bindMemberToNode(gnode, "near-field", cgroup, &CameraGroup::_nearField, > - 100.0f); > + 0.1f); > return cgroup; > } > > > > On Fri, Jan 9, 2009 at 6:38 AM, Torsten Dreyer <tors...@t3r.de> wrote: > >> Hello, > >> > >> What happen now with the Cockpit view > >> Getting now the cockpit cutted > > That's the near clipping pane, > > you might want to add > > <sim> > > <rendering> > > <camera-group> > > <znear type="double">0.1</znear> > > </camera-group> > > </rendering> > > </sim> > > > > in your model-set.xml > > > > Torsten > >> > >> In addition to it , i have never seen, clouds so well displayed in > >> reality, look like soldiers in parade :) > >> this made laughing, guy whom i tried to demonstrate FG. :( :( > > Cloudstreets - glider pilots love these ;-) > > > > Torsten > > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel