Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-22 Thread Erik Hofman
Tim Moore wrote: > Till went on vacation right around the time I checked his work in; I'm sure > he'll > have comments when he gets back. On the other hand, feel free to check in > improvements. Ok, thanks. I'll do. Erik -

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-22 Thread Tim Moore
Erik Hofman wrote: > Tim Moore wrote: >> I've committed a version of Till Busch's terrain effects, as seen at >> LinuxTag. >> I know that he hasn't finished tuning them, and I've changed his landmass >> effect >> to use the base terrain texture, which he's not entirely in agreement with :) >> Nev

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-22 Thread Erik Hofman
Tim Moore wrote: > I've committed a version of Till Busch's terrain effects, as seen at LinuxTag. > I know that he hasn't finished tuning them, and I've changed his landmass > effect > to use the base terrain texture, which he's not entirely in agreement with :) > Nevertheless, they are great exa

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-19 Thread Erik Hofman
Victhor Foster wrote: > Want a backtrace? No, it's expected behavior. Erik -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-19 Thread Ron Jensen
On Wed, 2009-08-19 at 09:44 -0600, dave perry wrote: > I just turned on the effects and noted that we now see snow above about > 8,000 MSL. That would be real for winter but not summer. Where is this > set? Can the snow lever be set by the season or date? > Exciting improvements already! > >

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-19 Thread Victhor Foster
Want a backtrace? > Victhor Foster wrote: >> I tried applying the patch and editing it to change "float n=0.06 + >> dot(nvL[0], a);" to "float n=0.06 + dot(nvL, a);", but my framerate >> hasn't improved. What's the problem? >> > > Probably that the shaders work differently than I expected and that

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-19 Thread Erik Hofman
Victhor Foster wrote: > I tried applying the patch and editing it to change "float n=0.06 + > dot(nvL[0], a);" to "float n=0.06 + dot(nvL, a);", but my framerate > hasn't improved. What's the problem? > Probably that the shaders work differently than I expected and that the error triggered

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-19 Thread Victhor Foster
I tried applying the patch and editing it to change "float n=0.06 + dot(nvL[0], a);" to "float n=0.06 + dot(nvL, a);", but my framerate hasn't improved. What's the problem? > Erik Hofman wrote: >> I wrote: >> >>> Ahh, that line should read: >>> >>> float n=0.06 + dot(nvL, a); >>> >>> instead o

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-19 Thread dave perry
Erik Hofman wrote: > I wrote: > >> Ahh, that line should read: >> >> float n=0.06 + dot(nvL, a); >> >> instead of: >> >> float n=0.06 + dot(nvL[0], a); >> > > Which brings the frame rate back to what it was :-/ > Maybe it might be a good idea to specify which of the effects you want > to t

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Matthias Boerner
Hi, On 08/09/2009 01:03 PM, Erik Hofman wrote: > Torsten Dreyer wrote: >> With this patch, I get a number of >> >> No render bin number specified in render bin section >> No render bin name specified in render bin section > > I already got them before the patch.. > > Erik yes, I got this error al

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Erik Hofman
I wrote: > Ahh, that line should read: > > float n=0.06 + dot(nvL, a); > > instead of: > > float n=0.06 + dot(nvL[0], a); Which brings the frame rate back to what it was :-/ Maybe it might be a good idea to specify which of the effects you want to turn on or not? Chances are I could care less

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Erik Hofman
> Martin Spott wrote: >> This patch is probably not for everyone. At my end I'm reading the >> following message in the terminal: >> >> FRAGMENT glCompileShader "" FAILED >> FRAGMENT Shader "" infolog: >> 0(27) : error C7011: implicit cast from "float" to "vec4" >> >> glLinkProgram "Shaders/landma

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Erik Hofman
Martin Spott wrote: > This patch is probably not for everyone. At my end I'm reading the > following message in the terminal: > > FRAGMENT glCompileShader "" FAILED > FRAGMENT Shader "" infolog: > 0(27) : error C7011: implicit cast from "float" to "vec4" > > glLinkProgram "Shaders/landmass.vert;

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Erik Hofman
Torsten Dreyer wrote: > With this patch, I get a number of > > No render bin number specified in render bin section > No render bin name specified in render bin section I already got them before the patch.. Erik -- Let

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Torsten Dreyer
With this patch, I get a number of No render bin number specified in render bin section No render bin name specified in render bin section Anybody else? Torsten -- Let Crystal Reports handle the reporting - Free Crystal

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Martin Spott
Hi Erik, Erik Hofman wrote: > This patch already doubles my frame rate: > http://home.telfort.nl/sp004798/emh/fragshaders.diff This patch is probably not for everyone. At my end I'm reading the following message in the terminal: FRAGMENT glCompileShader "" FAILED FRAGMENT Shader "" infolog: 0(2

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-09 Thread Erik Hofman
Tim Moore wrote: > I've committed a version of Till Busch's terrain effects, as seen at LinuxTag. > I know that he hasn't finished tuning them, and I've changed his landmass > effect > to use the base terrain texture, which he's not entirely in agreement with :) > Nevertheless, they are great exam

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Jacob Burbach
> Hi on my wish list for eye candy would be: > > 1. Shadows (aircraft shadows cast on to itself and onto the ground.) > > 2. Wet runways that reflect some sort of foggy, fuzzy something or other. > Like glass effects except more wet runway-ish. > > 3. Proper landing lights that illuminate the scene

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Curtis Olson
On Sat, Aug 8, 2009 at 3:20 PM, Stuart Buchanan wrote: > However, it's possible that the 3d clouds and trees are being loaded in a > different > way to the new shaders, in a way that is sub-optimal. I'm sure Tim will > know :) > > So, we now have shaders for trees, clouds and terrain. Particles ne

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Stuart Buchanan
Curtis Olson wrote: > For what it's worth, 3d clouds seem to run reasonably fast by themselves, > but if you have 3d clouds + these new shader effects (or existing effects > like rain/snow) then my frame rates come grinding to nearly a halt. > Switching to 2d clouds with these new shader effec

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread AJ MacLeod
On Saturday 08 August 2009 19:55:19 Curtis Olson wrote: > Hi AJ, > > Under a scenario with these shaders (and/or rain&snow), fly up into the 3d > cloud lyaer so you are punching through the puffy clouds. Are you still > getting 20 fps? I don't see much difference between flying above the puffy cl

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Curtis Olson
Hi AJ, Under a scenario with these shaders (and/or rain&snow), fly up into the 3d cloud lyaer so you are punching through the puffy clouds. Are you still getting 20 fps? Thanks, Curt. On Sat, Aug 8, 2009 at 1:52 PM, AJ MacLeod wrote: > On Saturday 08 August 2009 19:39:26 Victhor Foster wrote

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread AJ MacLeod
On Saturday 08 August 2009 19:39:26 Victhor Foster wrote: > I'm also suffering from the same problem. I can get nearly 25 fps > without the new shaders/rain/snow. I would just like to clarify that I'm perfectly content with the drop in fps that I'm seeing - I think it's entirely commensurate with

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Victhor Foster
I'm also suffering from the same problem. I can get nearly 25 fps without the new shaders/rain/snow. Hi, >For what it's worth, 3d clouds seem to run reasonably fast by themselves, but if you have 3d clouds + these new shader effects (or existing effects like >rain/snow) then my frame rat

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Heiko Schulz
Hi, >For what it's worth, 3d clouds seem to run reasonably fast by themselves, but >if you have 3d clouds + these new shader effects (or existing effects like >>rain/snow) then my frame rates come grinding to nearly a halt. Switching to >2d clouds with these new shader effects puts me back up t

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Curtis Olson
On Sat, Aug 8, 2009 at 1:23 PM, AJ MacLeod wrote: > On Saturday 08 August 2009 11:26:00 Tim Moore wrote: > > I've committed a version of Till Busch's terrain effects, as seen at > > LinuxTag. I know that he hasn't finished tuning them, and I've changed > his > > landmass effect to use the base ter

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread AJ MacLeod
On Saturday 08 August 2009 11:26:00 Tim Moore wrote: > I've committed a version of Till Busch's terrain effects, as seen at > LinuxTag. I know that he hasn't finished tuning them, and I've changed his > landmass effect to use the base terrain texture, which he's not entirely in > agreement with :)

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Curtis Olson
On Sat, Aug 8, 2009 at 5:26 AM, Tim Moore wrote: > I've committed a version of Till Busch's terrain effects, as seen at > LinuxTag. > I know that he hasn't finished tuning them, and I've changed his landmass > effect > to use the base terrain texture, which he's not entirely in agreement with > :)

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Vivian Meazza
I wrote: > > I've committed a version of Till Busch's terrain effects, as seen at > > LinuxTag. > > I know that he hasn't finished tuning them, and I've changed his > landmass > > effect > > to use the base terrain texture, which he's not entirely in agreement > with > > :) > > Nevertheless, the

Re: [Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Vivian Meazza
Tim Moore wrote > I've committed a version of Till Busch's terrain effects, as seen at > LinuxTag. > I know that he hasn't finished tuning them, and I've changed his landmass > effect > to use the base terrain texture, which he's not entirely in agreement with > :) > Nevertheless, they are great

[Flightgear-devel] Till Busch's terrain shaders

2009-08-08 Thread Tim Moore
I've committed a version of Till Busch's terrain effects, as seen at LinuxTag. I know that he hasn't finished tuning them, and I've changed his landmass effect to use the base terrain texture, which he's not entirely in agreement with :) Nevertheless, they are great examples of using the new effect