Re: [Flightgear-devel] Very bad surprise with last FG cvs
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 - 1.14 +++ CameraGroup.cxx 2 Feb 2009 05:17:01 - @@ -455,7 +455,7 @@ bindMemberToNode(gnode, znear, cgroup, CameraGroup::_zNear, .1f); bindMemberToNode(gnode, zfar, cgroup, CameraGroup::_zFar, 12.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=double0.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 -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel -- 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
Re: [Flightgear-devel] Very bad surprise with last FG cvs
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 - 1.14 +++ CameraGroup.cxx 2 Feb 2009 05:17:01 - @@ -455,7 +455,7 @@ bindMemberToNode(gnode, znear, cgroup, CameraGroup::_zNear, .1f); bindMemberToNode(gnode, zfar, cgroup, CameraGroup::_zFar, 12.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=double0.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
Re: [Flightgear-devel] Very bad surprise with last FG cvs
gerard robin wrote: Hello, What happen now with the Cockpit view Getting now the cockpit cutted Here two snapshots: the first one is done with an older fg CVS version ( 17-12-2008) still running on my system http://pagesperso-orange.fr/GRTux/Before-was-right.jpg the second one done with the last CVS version (today) running on an other system http://pagesperso-orange.fr/GRTux/Now-is-wrong.jpg Same aircraft , same pilot position 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. :( :( cheers I think this has something to do with the camera adjustments Tim has been doing to fix the black box bug some of us had, there is a --prop you can use to adjust the camera, can't remember what it is. Maybe Tim could reply? -- Michael Smith mdsmi...@highland.net (mdsmith2) -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
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=double0.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 -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
On vendredi 09 janvier 2009, Torsten Dreyer 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=double0.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 Thanks, the problem is coming up to most of the Aircrafts For instance c172p, do they have to modified too ? That will be a lot of work :( -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
Hi, On Jan 9, 2009, at 11:38 PM, 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=double0.1/znear /camera-group /rendering /sim in your model-set.xml It works on fg/cvs, but it crashes 1.9.0 since no camera groups are created if you give a camera-group tag without specifying any camera configs. It is safer to settle znear property from Nasal after the camera groups are created. Doing so in a FDM-initialized listener is enough for this case. However, I really want Tim to change it in cpp code. I believe that the default value of znear must be less than 0.25 for avoiding my- cockpit-is-cut-away thingie. I know this is for avoiding flicker thingies, but Tat -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
On vendredi 09 janvier 2009, gerard robin wrote: On vendredi 09 janvier 2009, Torsten Dreyer wrote: That's the near clipping pane, you might want to add sim rendering camera-group znear type=double0.1/znear /camera-group /rendering /sim in your model-set.xml Torsten Torsten Thanks, the problem is coming up to most of the Aircrafts For instance c172p, do they have to modified too ? That will be a lot of work :( Or, why don't we have such parameter within preference.xml file ? then any cockpit will come back like before, without any missing part. Cheers -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
- gerard robin a écrit : On vendredi 09 janvier 2009, Torsten Dreyer 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=double0.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 Thanks, the problem is coming up to most of the Aircrafts For instance c172p, do they have to modified too ? That will be a lot of work :( This is part of Tim's work to make shadows usable. -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery - album photo http://fgsd.sourceforge.net/ FlightGear Scenery Designer -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
Frederic Bouvier wrote: - gerard robin a écrit : On vendredi 09 janvier 2009, Torsten Dreyer 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=double0.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 Thanks, the problem is coming up to most of the Aircrafts For instance c172p, do they have to modified too ? That will be a lot of work :( This is part of Tim's work to make shadows usable. -Fred Can we all live with a default near plane value of .25? I'll check that in tonight. In the meantime, you can set the property on the command line. Tim -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
On vendredi 09 janvier 2009, Tim Moore wrote: Frederic Bouvier wrote: - gerard robin a écrit : On vendredi 09 janvier 2009, Torsten Dreyer 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=double0.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 Thanks, the problem is coming up to most of the Aircrafts For instance c172p, do they have to modified too ? That will be a lot of work :( This is part of Tim's work to make shadows usable. -Fred Can we all live with a default near plane value of .25? I'll check that in tonight. In the meantime, you can set the property on the command line. Tim Just tested, and working we may have it in preferences.xml file or within .fgfs/preferences.xml . Then, instead of modification within source ..this could be the naswer -- Gérard http://pagesperso-orange.fr/GRTux/ J'ai décidé d'être heureux parce que c'est bon pour la santé. Voltaire -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
On Fri, 9 Jan 2009, Tim Moore wrote: Can we all live with a default near plane value of .25? I'll check that in tonight. In the meantime, you can set the property on the command line. No, 0.25 is too much for my Submarine Scout (and most likely for the bubble sextant instrument too, though that one isn't in CVS yet). If we are still aiming for a bug fix release (1.9.1?) I think we should keep the near plane setting at it's old 0.1 value until after that release. Would it be possible to split the near and far cameras into near, middle and far cameras to keep the near plane close even when we get shadows? Cheers, Anders -- --- Anders Gidenstam WWW: http://www.gidenstam.org/FlightGear/ -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] Very bad surprise with last FG cvs
Tim Moore wrote: Can we all live with a default near plane value of .25? I don't think so, the C172 cockpit frame looks quite strange with 0.25, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -- -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel