[Flightgear-devel] Default effects for cockpit

2012-01-16 Thread thorsten . i . renk
I've noticed recently more or less by accident and to my dismay that model-default.eff is used both by models placed in the scenery and by typical aircraft 3d cockpits. This is rapidly looking like a bad idea when a more detailed atmosphere model enters the game - the terrain haze shader has

Re: [Flightgear-devel] Default effects for cockpit

2012-01-16 Thread Emilian Huminiuc
On Monday 16 January 2012 11:34:23 thorsten.i.r...@jyu.fi wrote: I've noticed recently more or less by accident and to my dismay that model-default.eff is used both by models placed in the scenery and by typical aircraft 3d cockpits. This is rapidly looking like a bad idea when a more

Re: [Flightgear-devel] Default effects for cockpit

2012-01-16 Thread thorsten . i . renk
This behaviour is hardcoded, as there needs to be a default fallback effect/shader when none is specified in the model and shaders are turned on. Yes, I know that - but can you somehow catch that it's a cockpit you're loading rather than a scene model and hard-code that pointing to a different

Re: [Flightgear-devel] Default effects for cockpit

2012-01-16 Thread Vivian Meazza
thorsten I've noticed recently more or less by accident and to my dismay that model-default.eff is used both by models placed in the scenery and by typical aircraft 3d cockpits. This is rapidly looking like a bad idea when a more detailed atmosphere model enters the game - the terrain

Re: [Flightgear-devel] Default effects for cockpit

2012-01-16 Thread Stuart Buchanan
On Mon, Jan 16, 2012 at 10:40 AM, Thorsten Renk wrote: This behaviour is hardcoded, as there needs to be a default fallback effect/shader when none is specified in the model and shaders are turned on. Yes, I know that - but can you somehow catch that it's a cockpit you're loading rather than

Re: [Flightgear-devel] Default effects for cockpit

2012-01-16 Thread thorsten . i . renk
If I understand this correctly, you want to change the default behaviour for the scenery models while leaving the cockpit as is with the current default behaviour? Does it also involve changing the behaviour of the non-cockpit parts of the aircraft model? That depends... For most external

Re: [Flightgear-devel] Default effects for cockpit

2012-01-16 Thread thorsten . i . renk
I don't think you want to be changing the behaviour for all cockpits, just the one that is your aircraft. For other aircraft (AI/MP), you want them to fade etc. just like the scenery and the rest of the aircraft model. We seriously show cockpits over MP?? I actually wouldn't want to show

Re: [Flightgear-devel] Default effects for cockpit

2012-01-16 Thread Frederic Bouvier
And with Project Rembrandt waiting in the wings is this worth doing at this stage at all? Project Rembrandt seems to be about something different - detailed rendering of shadows in the near zone (~15 km) - what I do is about approximate rendering of atmospheric shading in the far zone