Re: [Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-11 Thread Erik Hofman
Curtis L. Olson wrote: On the same subject of clouds. Is anyone still using the bump mapping code in the cloud layers. I thought this yielded interesting results for the middle of the day, but didn't do the correct thing as the sun got lower and lower in the sky. It adds a lot of complexity

[Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-10 Thread David Megginson
Currently, FlightGear (SimGear, actually) always sets visibility to near-nil when the plane is inside a cloud layer -- obviously, the right and proper solution is 3D clouds, but until we have that working, or at least until we can detect whether the plane is actually near the cloudy part of a

Re: [Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-10 Thread Curtis L. Olson
David Megginson wrote: Currently, FlightGear (SimGear, actually) always sets visibility to near-nil when the plane is inside a cloud layer -- obviously, the right and proper solution is 3D clouds, but until we have that working, or at least until we can detect whether the plane is actually near

Re: [Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-10 Thread Erik Hofman
David Megginson wrote: Currently, FlightGear (SimGear, actually) always sets visibility to near-nil when the plane is inside a cloud layer -- obviously, the right and proper solution is 3D clouds, but until we have that working, or at least until we can detect whether the plane is actually near

Re: [Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-10 Thread Curtis L. Olson
Erik Hofman wrote: This is due to a faulty SGSky::modify_vis() function. Actually it has been broken since early 0.7.x as I recall it. I've never remembered to look at it prior to a release, but I would recommend to fix that function rather than to apply any kind of hack. Erik, Can you explain

Re: [Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-10 Thread David Megginson
On Mon, 10 Jan 2005 20:56:41 +0100, Erik Hofman [EMAIL PROTECTED] wrote: This is due to a faulty SGSky::modify_vis() function. Actually it has been broken since early 0.7.x as I recall it. I've never remembered to look at it prior to a release, but I would recommend to fix that function

Re: [Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-10 Thread David Megginson
On Mon, 10 Jan 2005 13:59:28 -0600, Curtis L. Olson [EMAIL PROTECTED] wrote: One issue to consider is that going to nil visibility (and not drawing the cloud plane) hides when you pass through the cloud plane. When the cloud plane intersects the near clip plane you get some ugly artifacts.

Re: [Flightgear-devel] Proposed change: visibility inside a cloud layer

2005-01-10 Thread Curtis L. Olson
David Megginson wrote: On Mon, 10 Jan 2005 13:59:28 -0600, Curtis L. Olson [EMAIL PROTECTED] wrote: One issue to consider is that going to nil visibility (and not drawing the cloud plane) hides when you pass through the cloud plane. When the cloud plane intersects the near clip plane you get