[sldev] [VWR] Shadows on Linux

Opensource Obscure open at autistici.org
Sat Oct 18 10:37:17 PDT 2008




On Sat, 18 Oct 2008 08:35:43 -0500, Soft <soft at lindenlab.com> wrote:
> On Sat, Oct 18, 2008 at 6:09 AM, Opensource Obscure <open at autistici.org>
> wrote:
>>
>> Are shadows present in the Linux codebase?
>>
>> Which branch should I check out,
>> and which steps should I take before and after compiling the
>> sources in order to enable shadows (if possible at all) ?
> 
> Shadows are merged into the maint-render-8 branch, and should merge up
> to trunk after not very long. I don't know if Linux is yet at parity
> on shadows. Perhaps others can help out here.

rev 99647 from maint-render-8 branch built without errors,
and shadows are working:
http://www.flickr.com/photos/opensourceobscure/2952254820

:) thanks for this feature!

at the moment the viewer crashes very often here, sometimes even 
before I can see the world. this was a main problem at first 
because I couldn't enable the RenderDeferred and RenderUseFBO 
options in Advanced menu > Debug Settings

(you need to enable those options to actually enable shadows)

when the viewer crashes, the error message is
"ERROR: checkTextureChannels: GL texture state corruption detected"

as a workaround in order to enable RenderUseFBO and RenderDeferred 
options without having to get in-world, i think one could add these 
lines in a settings file 
(maybe ~/.secondlife/user_settings/settings_developer.xml ?)


<key>RenderUseFBO</key>
<map>
<key>Comment</key>
<string>Whether we want to use GL_EXT_framebuffer_objects.</string>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<boolean>1</boolean>
</map>

<key>RenderDeferred</key>
<map>
<key>Comment</key>
<string>Use deferred rendering pipeline.</string>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<boolean>1</boolean>
</map>


Opensource Obscure
--
http://friendfeed.com/oobscure



More information about the SLDev mailing list