[sldev] branches/shadow-draft missing llrender.cpp

Eric M. Tulla (BigPapi Linden) tulla at lindenlab.com
Mon Jun 2 09:13:35 PDT 2008


This is to be expected. Dave's first email mentioned that the feature 
would require at least a GeForce 8 to run.  Enabling it on 7 series or 
lower hardware will have similarly bad results.

Dante Tucker wrote:
> I've been distributing this viewer to a group of mine for testing. So 
> far In 100% of cases, 7 series Nvidia cards crash on the last step. 8 
> and 9 series seem to have no problem.
>
> On Sat, May 31, 2008 at 10:59 AM, Robin Cornelius 
> <robin.cornelius at gmail.com <mailto:robin.cornelius at gmail.com>> wrote:
>
>     Dave Parks wrote:
>     > So getting the awesome out of that branch is a little obscure:
>     >
>     > 1) Make sure atmospheric shaders and avatar hardware skinning
>     are enabled.
>     > 2) Make sure the debug setting RenderDeferred is set to FALSE
>     > 3) Set RenderUseFBO to TRUE
>     > 4) Set RenderDeferred to TRUE
>     >
>     > It's only been tested on GeForce 8 cards in Windows (Vista and
>     XP), but
>     > I don't see why it shouldn't work in linux.  I'd be amazed if it
>     works
>     > in OSX since it relies on branching in the shader and a large
>     > instruction count limit.  It's also quite unoptimized and VERY
>     > experimental.
>
>     With all that i mind i tried anyway but get a crash, now i am not
>     sure i
>      am starting the options up incorrectly or if anything else should be
>     disabled first. Latest SVN on (my) linux crashes when trying to do
>     something with the shaders, it crashes when i try step 4. Also i'm
>     on a
>     64 bit system if that matters and i'm pushing my luck with my Geforce
>     7100, but though i would see what happened anyway even if it ran
>     slowly.
>
>
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Loading shader file:
>     deferred/pointLightV.glsl class 1
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Looking in
>     /usr/share/omvviewer/app_settings/shaders/class1/deferred/pointLightV.glsl
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Loading shader file:
>     deferred/pointLightF.glsl class 1
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Looking in
>     /usr/share/omvviewer/app_settings/shaders/class1/deferred/pointLightF.glsl
>     2008-05-31T14:49:49Z INFO: dumpObjectLog: Fragment info
>     -------------
>     (8) : warning C7531: global type sampler2DRect requires "#extension
>     GL_ARB_texture_rectangle : enable" before use
>     (58) : warning C7011: implicit cast from "vec4" to "vec3"
>     (58) : warning C7011: implicit cast from "vec4" to "vec3"
>     (58) : warning C7011: implicit cast from "vec4" to "vec3"
>
>     2008-05-31T14:49:49Z INFO: mapUniformTextureChannel: Assigned to
>     texture
>     channel 0
>     2008-05-31T14:49:49Z INFO: mapUniformTextureChannel: Assigned to
>     texture
>     channel 1
>     2008-05-31T14:49:49Z INFO: mapUniformTextureChannel: Assigned to
>     texture
>     channel 2
>     2008-05-31T14:49:49Z INFO: mapUniformTextureChannel: Assigned to
>     texture
>     channel 3
>     2008-05-31T14:49:49Z INFO: mapUniformTextureChannel: Assigned to
>     texture
>     channel 4
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Loading shader file:
>     deferred/sunLightV.glsl class 1
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Looking in
>     /usr/share/omvviewer/app_settings/shaders/class1/deferred/sunLightV.glsl
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Loading shader file:
>     deferred/sunLightF.glsl class 1
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Looking in
>     /usr/share/omvviewer/app_settings/shaders/class1/deferred/sunLightF.glsl
>     2008-05-31T14:49:49Z WARNING: linkProgramObject: GLSL Linker Error:
>     2008-05-31T14:49:49Z WARNING: dumpObjectLog: Fragment info
>     -------------
>     (9) : warning C7531: global type sampler2DRect requires "#extension
>     GL_ARB_texture_rectangle : enable" before use
>     (227) : warning C7549: OpenGL does not allow C style initializers
>     (268) : warning C7011: implicit cast from "int" to "float"
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (262) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (271) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (267) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>     (274) : error C6013: Only arrays of texcoords may be indexed in this
>     profile, and only with a loop index variable
>
>     2008-05-31T14:49:49Z WARNING: createShader: Failed to link shader:
>     Deffered Sun Shader
>     2008-05-31T14:49:49Z WARNING: createShader: Failed to link using
>     shader
>     level 1. Trying again using shader level 0.
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Loading shader file:
>     deferred/sunLightV.glsl class 0
>     2008-05-31T14:49:49Z INFO: loadShaderFile: GLSL Shader file not found:
>     deferred/sunLightV.glsl
>     2008-05-31T14:49:49Z INFO: loadShaderFile: Loading shader file:
>     deferred/sunLightF.glsl class 0
>     2008-05-31T14:49:49Z INFO: loadShaderFile: GLSL Shader file not found:
>     deferred/sunLightF.glsl
>     2008-05-31T14:49:49Z WARNING: createShader: Failed to link shader:
>     Deffered Sun Shader
>     2008-05-31T14:49:49Z
>     x86_64-linux-client-release/llrender/llrendertarget.cpp(159) : error
>     2008-05-31T14:49:49Z ERROR: addColorAttachment: WTF?
>
>
>     _______________________________________________
>     Click here to unsubscribe or manage your list subscription:
>     /index.html
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>   

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Quidquid latine dictum sit, altum sonatur."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Eric M. Tulla
tulla at lindenlab.com
Graphics Programmer
Linden Lab
1 Broadway Street, 14th Floor
Cambridge, MA 02142
cell: 617.388.7971



More information about the SLDev mailing list