From: Steve Ingamells [mailto:firstname.lastname@example.org]
Sent: Sunday, June 21, 2009 7:32 PM
To: 'Stellarium developers public mailing list'
Subject: [Stellarium-pubdevel] ***SPAM(-1.4)*** RE: ***SPAM(-1.4)*** RE:Shader fortone conversionHi Mike,I edited the Atmosphere constructor in stellarium\src\modules\Atmosphere.cpp as follows:Atmosphere::Atmosphere(void) :viewport(0,0,0,0),skyResolutionY(44), posGrid(NULL), colorGrid(NULL), indices(NULL),
averageLuminance(0.f), eclipseFactor(1.), lightPollutionLuminance(0), useShader(false)
// turn off shaders completely
qDebug() << "Use vertex shader for atmosphere rendering.";
....which ensures that it will disable shaders even if the OpenGL version is 2.I suppose there may be a way to disable OpenGL 2 support in the graphics drivers but I don't know of one. Or it may be possible to create a shader file that does absolutely nothing (about which I have absolutely no idea), which would at least mean no messing about with the innards of Stellarium!Hope this helps.Best,SteveHi Steve,
From: Lone Hiker [mailto:email@example.com]
Sent: Sunday, June 21, 2009 2:57 AM
Subject: Re: [Stellarium-pubdevel] ***SPAM(-1.4)*** RE: Shader fortone conversion
Exactly how do you disable shaders when compiling? Where does the 'useShader=false' flag go?
I'm having a different issue with the shader when trying to change the night sky color and I'd like to disable it until Fabien or someone else can address my post.
> From: firstname.lastname@example.org
> To: email@example.com
> Date: Tue, 16 Jun 2009 18:59:18 +0100
> Subject: [Stellarium-pubdevel] ***SPAM(-1.4)*** RE: Shader for tone conversion
> Hi Fabien,
> I have just got back into Stellarium stuff and built revision 4705 for
> Windows (XP Pro SP3) and although my laptop's graphics card claims to be
> OpenGL 2.0 compliant, it crashes on startup just after logging that it will
> use shaders. Recompiling with useShader=false makes it work fine.
> Hardware is a Dell latitude D810 with ATI Radeon 300X (64MB). I have the
> latest drivers from Dell. I don't have any other supposedly OpenGL-2.0
> hardware with which to test, unfortunately.
> If there's any further info that would help, please let me know.
> Best regards,
> Steve Ingamells
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.