Merge branch 'master' of gitorious.org:fg/fgdata
This commit is contained in:
commit
f3d25efdb7
7 changed files with 1036 additions and 31 deletions
|
@ -2,11 +2,31 @@
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>Effects/display</name>
|
<name>Effects/display</name>
|
||||||
<parameters>
|
<parameters>
|
||||||
<exposure type="float"><use>/sim/rendering/rembrandt/exposure</use></exposure>
|
|
||||||
<show-buffers type="bool"><use>/sim/rendering/rembrandt/show-buffers</use></show-buffers>
|
<show-buffers type="bool"><use>/sim/rendering/rembrandt/show-buffers</use></show-buffers>
|
||||||
<bloom type="bool"><use>/sim/rendering/rembrandt/bloom</use></bloom>
|
<bloom type="bool"><use>/sim/rendering/rembrandt/bloom</use></bloom>
|
||||||
<bloom-strength type="float"><use>/sim/rendering/rembrandt/bloom-strength</use></bloom-strength>
|
<bloom-strength type="float"><use>/sim/rendering/rembrandt/bloom-strength</use></bloom-strength>
|
||||||
<bloom-buffers type="bool"><use>/sim/rendering/rembrandt/bloom-buffers</use></bloom-buffers>
|
<bloom-buffers type="bool"><use>/sim/rendering/rembrandt/bloom-buffers</use></bloom-buffers>
|
||||||
|
<texture n="0">
|
||||||
|
<image>Textures\noise_tex.jpg</image>
|
||||||
|
<filter>linear-mipmap-linear</filter>
|
||||||
|
<wrap-s>repeat</wrap-s>
|
||||||
|
<wrap-t>repeat</wrap-t>
|
||||||
|
<internal-format>normalized</internal-format>
|
||||||
|
</texture>
|
||||||
|
|
||||||
|
<cinema>
|
||||||
|
<vignette><use>/sim/rendering/rembrandt/cinema/vignette</use></vignette>
|
||||||
|
<inner-circle><use>/sim/rendering/rembrandt/cinema/inner-circle</use></inner-circle>
|
||||||
|
<outer-circle><use>/sim/rendering/rembrandt/cinema/outer-circle</use></outer-circle>
|
||||||
|
<color-shift><use>/sim/rendering/rembrandt/cinema/color-shift</use></color-shift>
|
||||||
|
<red-shift><use>/sim/rendering/rembrandt/cinema/red-shift</use></red-shift>
|
||||||
|
<green-shift><use>/sim/rendering/rembrandt/cinema/green-shift</use></green-shift>
|
||||||
|
<blue-shift><use>/sim/rendering/rembrandt/cinema/blue-shift</use></blue-shift>
|
||||||
|
<distortion><use>/sim/rendering/rembrandt/cinema/distortion</use></distortion>
|
||||||
|
<distortion-factor><use>/sim/rendering/rembrandt/cinema/distortion-factor</use></distortion-factor>
|
||||||
|
<color-fringe><use>/sim/rendering/rembrandt/cinema/color-fringe</use></color-fringe>
|
||||||
|
<color-fringe-factor><use>/sim/rendering/rembrandt/cinema/color-fringe-factor</use></color-fringe-factor>
|
||||||
|
</cinema>
|
||||||
|
|
||||||
<buffer-nw-enabled><use>/sim/rendering/rembrandt/debug-buffer[0]/enabled</use></buffer-nw-enabled>
|
<buffer-nw-enabled><use>/sim/rendering/rembrandt/debug-buffer[0]/enabled</use></buffer-nw-enabled>
|
||||||
<buffer-nw-name><use>/sim/rendering/rembrandt/debug-buffer[0]/name</use></buffer-nw-name>
|
<buffer-nw-name><use>/sim/rendering/rembrandt/debug-buffer[0]/name</use></buffer-nw-name>
|
||||||
|
@ -17,6 +37,217 @@
|
||||||
<buffer-se-enabled><use>/sim/rendering/rembrandt/debug-buffer[3]/enabled</use></buffer-se-enabled>
|
<buffer-se-enabled><use>/sim/rendering/rembrandt/debug-buffer[3]/enabled</use></buffer-se-enabled>
|
||||||
<buffer-se-name><use>/sim/rendering/rembrandt/debug-buffer[3]/name</use></buffer-se-name>
|
<buffer-se-name><use>/sim/rendering/rembrandt/debug-buffer[3]/name</use></buffer-se-name>
|
||||||
</parameters>
|
</parameters>
|
||||||
|
<technique n="9">
|
||||||
|
<predicate>
|
||||||
|
<and>
|
||||||
|
<property>/sim/rendering/rembrandt/night-vision</property>
|
||||||
|
<equal>
|
||||||
|
<value type="float">0.0</value>
|
||||||
|
<float-property>/sim/rendering/rembrandt/show-buffers</float-property>
|
||||||
|
</equal>
|
||||||
|
</and>
|
||||||
|
</predicate>
|
||||||
|
<pass>
|
||||||
|
<render-bin>
|
||||||
|
<bin-number>99999</bin-number>
|
||||||
|
<bin-name>RenderBin</bin-name>
|
||||||
|
</render-bin>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>0</unit>
|
||||||
|
<type>buffer</type>
|
||||||
|
<name>lighting</name>
|
||||||
|
</texture-unit>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>1</unit>
|
||||||
|
<type>buffer</type>
|
||||||
|
<name>bloom-3</name>
|
||||||
|
</texture-unit>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>2</unit>
|
||||||
|
<type>buffer</type>
|
||||||
|
<name>spec-emis</name>
|
||||||
|
</texture-unit>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>3</unit>
|
||||||
|
<type>buffer</type>
|
||||||
|
<name>diffuse</name>
|
||||||
|
</texture-unit>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>4</unit>
|
||||||
|
<image><use>texture[0]/image</use></image>
|
||||||
|
<filter><use>texture[0]/filter</use></filter>
|
||||||
|
<wrap-s><use>texture[0]/wrap-s</use></wrap-s>
|
||||||
|
<wrap-t><use>texture[0]/wrap-t</use></wrap-t>
|
||||||
|
<internal-format><use>texture[0]/internal-format</use></internal-format>
|
||||||
|
</texture-unit>
|
||||||
|
|
||||||
|
<program>
|
||||||
|
<vertex-shader>Shaders/fullscreen.vert</vertex-shader>
|
||||||
|
<fragment-shader>Shaders/night-vision.frag</fragment-shader>
|
||||||
|
</program>
|
||||||
|
<uniform>
|
||||||
|
<name>lighting_tex</name>
|
||||||
|
<type>sampler-2d</type>
|
||||||
|
<value type="int">0</value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>bloom_tex</name>
|
||||||
|
<type>sampler-2d</type>
|
||||||
|
<value type="int">1</value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>spec_emis_tex</name>
|
||||||
|
<type>sampler-2d</type>
|
||||||
|
<value type="int">2</value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>color_tex</name>
|
||||||
|
<type>sampler-2d</type>
|
||||||
|
<value type="int">3</value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>noise_tex</name>
|
||||||
|
<type>sampler-2d</type>
|
||||||
|
<value type="int">4</value>
|
||||||
|
</uniform>
|
||||||
|
|
||||||
|
<uniform>
|
||||||
|
<name>bloomEnabled</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value type="bool"><use>bloom</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>bloomStrength</name>
|
||||||
|
<type>float</type>
|
||||||
|
<value><use>bloom-strength</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>bloomBuffers</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value><use>bloom-buffers</use></value>
|
||||||
|
</uniform>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
|
<technique n="10">
|
||||||
|
<predicate>
|
||||||
|
<and>
|
||||||
|
<or>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</or>
|
||||||
|
<equal>
|
||||||
|
<value type="float">0.0</value>
|
||||||
|
<float-property>/sim/rendering/rembrandt/show-buffers</float-property>
|
||||||
|
</equal>
|
||||||
|
</and>
|
||||||
|
</predicate>
|
||||||
|
<pass>
|
||||||
|
<render-bin>
|
||||||
|
<bin-number>99999</bin-number>
|
||||||
|
<bin-name>RenderBin</bin-name>
|
||||||
|
</render-bin>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>0</unit>
|
||||||
|
<type>buffer</type>
|
||||||
|
<name>lighting</name>
|
||||||
|
</texture-unit>
|
||||||
|
<texture-unit>
|
||||||
|
<unit>1</unit>
|
||||||
|
<type>buffer</type>
|
||||||
|
<name>bloom-3</name>
|
||||||
|
</texture-unit>
|
||||||
|
|
||||||
|
<program>
|
||||||
|
<vertex-shader>Shaders/fullscreen.vert</vertex-shader>
|
||||||
|
<fragment-shader>Shaders/cinema.frag</fragment-shader>
|
||||||
|
</program>
|
||||||
|
<uniform>
|
||||||
|
<name>lighting_tex</name>
|
||||||
|
<type>sampler-2d</type>
|
||||||
|
<value type="int">0</value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>bloom_tex</name>
|
||||||
|
<type>sampler-2d</type>
|
||||||
|
<value type="int">1</value>
|
||||||
|
</uniform>
|
||||||
|
|
||||||
|
<uniform>
|
||||||
|
<name>bloomEnabled</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value type="bool"><use>bloom</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>bloomStrength</name>
|
||||||
|
<type>float</type>
|
||||||
|
<value><use>bloom-strength</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>bloomBuffers</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value><use>bloom-buffers</use></value>
|
||||||
|
</uniform>
|
||||||
|
|
||||||
|
<uniform>
|
||||||
|
<name>vignette</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value><use>cinema/vignette</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>innerCircle</name>
|
||||||
|
<type>float</type>
|
||||||
|
<value><use>cinema/inner-circle</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>outerCircle</name>
|
||||||
|
<type>float</type>
|
||||||
|
<value><use>cinema/outer-circle</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>colorShift</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value><use>cinema/color-shift</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>redShift</name>
|
||||||
|
<type>float-vec3</type>
|
||||||
|
<value><use>cinema/red-shift</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>greenShift</name>
|
||||||
|
<type>float-vec3</type>
|
||||||
|
<value><use>cinema/green-shift</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>blueShift</name>
|
||||||
|
<type>float-vec3</type>
|
||||||
|
<value><use>cinema/blue-shift</use></value>
|
||||||
|
</uniform>
|
||||||
|
|
||||||
|
<uniform>
|
||||||
|
<name>distortion</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value><use>cinema/distortion</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>distortionFactor</name>
|
||||||
|
<type>float-vec3</type>
|
||||||
|
<value><use>cinema/distortion-factor</use></value>
|
||||||
|
</uniform>
|
||||||
|
|
||||||
|
<uniform>
|
||||||
|
<name>colorFringe</name>
|
||||||
|
<type>bool</type>
|
||||||
|
<value><use>cinema/color-fringe</use></value>
|
||||||
|
</uniform>
|
||||||
|
<uniform>
|
||||||
|
<name>colorFringeFactor</name>
|
||||||
|
<type>float</type>
|
||||||
|
<value><use>cinema/color-fringe-factor</use></value>
|
||||||
|
</uniform>
|
||||||
|
</pass>
|
||||||
|
</technique>
|
||||||
<technique n="11">
|
<technique n="11">
|
||||||
<pass>
|
<pass>
|
||||||
<render-bin>
|
<render-bin>
|
||||||
|
@ -89,11 +320,6 @@
|
||||||
<type>sampler-2d</type>
|
<type>sampler-2d</type>
|
||||||
<value type="int">5</value>
|
<value type="int">5</value>
|
||||||
</uniform>
|
</uniform>
|
||||||
<uniform>
|
|
||||||
<name>exposure</name>
|
|
||||||
<type>float</type>
|
|
||||||
<value type="float"><use>exposure</use></value>
|
|
||||||
</uniform>
|
|
||||||
<uniform>
|
<uniform>
|
||||||
<name>showBuffers</name>
|
<name>showBuffers</name>
|
||||||
<type>bool</type>
|
<type>bool</type>
|
||||||
|
|
86
Shaders/cinema.frag
Normal file
86
Shaders/cinema.frag
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
uniform sampler2D lighting_tex;
|
||||||
|
uniform sampler2D bloom_tex;
|
||||||
|
|
||||||
|
uniform bool colorShift;
|
||||||
|
uniform vec3 redShift;
|
||||||
|
uniform vec3 greenShift;
|
||||||
|
uniform vec3 blueShift;
|
||||||
|
|
||||||
|
uniform bool vignette;
|
||||||
|
uniform float innerCircle;
|
||||||
|
uniform float outerCircle;
|
||||||
|
|
||||||
|
uniform bool distortion;
|
||||||
|
uniform vec3 distortionFactor;
|
||||||
|
|
||||||
|
uniform bool colorFringe;
|
||||||
|
uniform float colorFringeFactor;
|
||||||
|
|
||||||
|
uniform vec2 fg_BufferSize;
|
||||||
|
// uniform float osg_SimulationTime;
|
||||||
|
// uniform float shutterFreq;
|
||||||
|
// uniform float shutterDuration;
|
||||||
|
|
||||||
|
uniform bool bloomEnabled;
|
||||||
|
uniform float bloomStrength;
|
||||||
|
uniform bool bloomBuffers;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec2 c1 = gl_TexCoord[0].xy;
|
||||||
|
vec2 initialCoords = c1;
|
||||||
|
vec2 c2;
|
||||||
|
|
||||||
|
if (distortion) {
|
||||||
|
c1 = 2.0 * initialCoords - vec2(1.,1.);
|
||||||
|
c1 *= vec2( 1.0, fg_BufferSize.y / fg_BufferSize.x );
|
||||||
|
float r = length(c1);
|
||||||
|
|
||||||
|
c1 += c1 * dot(distortionFactor.xy, vec2(r*r, r*r*r*r));
|
||||||
|
c1 /= distortionFactor.z;
|
||||||
|
|
||||||
|
c1 *= vec2( 1.0, fg_BufferSize.x / fg_BufferSize.y );
|
||||||
|
c1 = c1 * .5 + .5;
|
||||||
|
|
||||||
|
if (colorFringe) {
|
||||||
|
c2 = 2.0 * initialCoords - vec2(1.,1.);
|
||||||
|
c2 *= vec2( 1.0, fg_BufferSize.y / fg_BufferSize.x );
|
||||||
|
r = length(c2);
|
||||||
|
|
||||||
|
c2 += c2 * dot(distortionFactor.xy*colorFringeFactor, vec2(r*r, r*r*r*r));
|
||||||
|
c2 /= distortionFactor.z;
|
||||||
|
|
||||||
|
c2 *= vec2( 1.0, fg_BufferSize.x / fg_BufferSize.y );
|
||||||
|
c2 = c2 * .5 + .5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
vec4 color = texture2D( lighting_tex, c1 );
|
||||||
|
if (bloomEnabled && bloomBuffers)
|
||||||
|
color += bloomStrength * texture2D( bloom_tex, c1 );
|
||||||
|
|
||||||
|
if (distortion && colorFringe) {
|
||||||
|
color.g = texture2D( lighting_tex, c2 ).g;
|
||||||
|
if (bloomEnabled && bloomBuffers)
|
||||||
|
color.g += bloomStrength * texture2D( bloom_tex, c2 ).g;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (colorShift) {
|
||||||
|
vec3 col2;
|
||||||
|
col2.r = dot(color.rgb, redShift);
|
||||||
|
col2.g = dot(color.rgb, greenShift);
|
||||||
|
col2.b = dot(color.rgb, blueShift);
|
||||||
|
color.rgb = col2;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (vignette) {
|
||||||
|
vec2 c = 2.0 * initialCoords - vec2(1.,1.);
|
||||||
|
c = c * vec2( 1.0, fg_BufferSize.y / fg_BufferSize.x );
|
||||||
|
float l = length(c);
|
||||||
|
float f = smoothstep( innerCircle, innerCircle * outerCircle, l );
|
||||||
|
color.rgb = (1 - f) * color.rgb;
|
||||||
|
}
|
||||||
|
// if ((osg_FrameNumber % 6) == 0)
|
||||||
|
// f = 1.0;
|
||||||
|
|
||||||
|
gl_FragColor = color;
|
||||||
|
}
|
|
@ -6,7 +6,6 @@ uniform sampler2D bufferNE_tex;
|
||||||
uniform sampler2D bufferSW_tex;
|
uniform sampler2D bufferSW_tex;
|
||||||
uniform sampler2D bufferSE_tex;
|
uniform sampler2D bufferSE_tex;
|
||||||
|
|
||||||
uniform float exposure;
|
|
||||||
uniform bool showBuffers;
|
uniform bool showBuffers;
|
||||||
|
|
||||||
uniform bool bloomEnabled;
|
uniform bool bloomEnabled;
|
||||||
|
@ -18,14 +17,6 @@ uniform bool bufferNE_enabled;
|
||||||
uniform bool bufferSW_enabled;
|
uniform bool bufferSW_enabled;
|
||||||
uniform bool bufferSE_enabled;
|
uniform bool bufferSE_enabled;
|
||||||
|
|
||||||
vec3 HDR(vec3 L) {
|
|
||||||
L = L * exposure;
|
|
||||||
L.r = L.r < 1.413 ? pow(L.r * 0.38317, 1.0 / 2.2) : 1.0 - exp(-L.r);
|
|
||||||
L.g = L.g < 1.413 ? pow(L.g * 0.38317, 1.0 / 2.2) : 1.0 - exp(-L.g);
|
|
||||||
L.b = L.b < 1.413 ? pow(L.b * 0.38317, 1.0 / 2.2) : 1.0 - exp(-L.b);
|
|
||||||
return L;
|
|
||||||
}
|
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
vec2 coords = gl_TexCoord[0].xy;
|
vec2 coords = gl_TexCoord[0].xy;
|
||||||
vec4 color;
|
vec4 color;
|
||||||
|
@ -42,13 +33,11 @@ void main() {
|
||||||
color = texture2D( lighting_tex, coords );
|
color = texture2D( lighting_tex, coords );
|
||||||
if (bloomEnabled && bloomBuffers)
|
if (bloomEnabled && bloomBuffers)
|
||||||
color = color + bloomStrength * texture2D( bloom_tex, coords );
|
color = color + bloomStrength * texture2D( bloom_tex, coords );
|
||||||
//color = vec4( HDR( color.rgb ), 1.0 );
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
color = texture2D( lighting_tex, coords );
|
color = texture2D( lighting_tex, coords );
|
||||||
if (bloomEnabled && bloomBuffers)
|
if (bloomEnabled && bloomBuffers)
|
||||||
color = color + bloomStrength * texture2D( bloom_tex, coords );
|
color = color + bloomStrength * texture2D( bloom_tex, coords );
|
||||||
//color = vec4( HDR( color.rgb ), 1.0 );
|
|
||||||
}
|
}
|
||||||
gl_FragColor = color;
|
gl_FragColor = color;
|
||||||
}
|
}
|
||||||
|
|
42
Shaders/night-vision.frag
Normal file
42
Shaders/night-vision.frag
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
// Night vision effect inspired by http://www.geeks3d.com/20091009/shader-library-night-vision-post-processing-filter-glsl/
|
||||||
|
|
||||||
|
uniform sampler2D color_tex;
|
||||||
|
uniform sampler2D lighting_tex;
|
||||||
|
uniform sampler2D bloom_tex;
|
||||||
|
uniform sampler2D spec_emis_tex;
|
||||||
|
uniform sampler2D noise_tex;
|
||||||
|
|
||||||
|
uniform bool bloomEnabled;
|
||||||
|
uniform float bloomStrength;
|
||||||
|
uniform bool bloomBuffers;
|
||||||
|
|
||||||
|
uniform vec2 fg_BufferSize;
|
||||||
|
uniform float osg_SimulationTime;
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
vec2 coords = gl_TexCoord[0].xy;
|
||||||
|
vec4 color;
|
||||||
|
vec2 uv;
|
||||||
|
uv.x = 0.4*sin(osg_SimulationTime*50.0);
|
||||||
|
uv.y = 0.4*cos(osg_SimulationTime*50.0);
|
||||||
|
vec3 n = texture2D(noise_tex, (coords*3.5) + uv).rgb;
|
||||||
|
|
||||||
|
vec2 c1 = coords + (n.xy*0.005);
|
||||||
|
color = texture2D( lighting_tex, c1 );
|
||||||
|
if (bloomEnabled && bloomBuffers)
|
||||||
|
color = color + bloomStrength * texture2D( bloom_tex, c1 );
|
||||||
|
|
||||||
|
float lum = dot(color.rgb, vec3(.3, .59, .11));
|
||||||
|
color.rgb *= (4.0 - 3.0*smoothstep(0.2, 0.3, lum));
|
||||||
|
|
||||||
|
// color.rgb += texture2D( spec_emis_tex, c1 ).b;
|
||||||
|
// color.rgb += texture2D( bloom_tex, c1 ).rgb;
|
||||||
|
color.rgb = (color.rgb + (n*0.2)) * vec3(0.1, 0.95, 0.2);
|
||||||
|
|
||||||
|
vec2 c = 2.0 * coords - vec2(1.,1.);
|
||||||
|
c = c * vec2( 1.0, fg_BufferSize.y / fg_BufferSize.x );
|
||||||
|
float l = length(c);
|
||||||
|
float f = smoothstep( 0.7, 1.1, l );
|
||||||
|
color.rgb = (1 - f) * color.rgb;
|
||||||
|
gl_FragColor = color;
|
||||||
|
}
|
BIN
Textures/noise_tex.jpg
Normal file
BIN
Textures/noise_tex.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
|
@ -52,7 +52,7 @@
|
||||||
</enable>
|
</enable>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
<empty>
|
<empty>
|
||||||
<pref-width>66</pref-width>
|
<pref-width>63</pref-width>
|
||||||
</empty>
|
</empty>
|
||||||
<text>
|
<text>
|
||||||
<label>Strength</label>
|
<label>Strength</label>
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
</enable>
|
</enable>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
<empty>
|
<empty>
|
||||||
<pref-width>-4</pref-width>
|
<pref-width>-7</pref-width>
|
||||||
</empty>
|
</empty>
|
||||||
<text>
|
<text>
|
||||||
<label>Strength</label>
|
<label>Strength</label>
|
||||||
|
@ -152,9 +152,9 @@
|
||||||
</enable>
|
</enable>
|
||||||
</text>
|
</text>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<hrule/>
|
<hrule/>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<halign>left</halign>
|
<halign>left</halign>
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
</checkbox>
|
</checkbox>
|
||||||
<empty>
|
<empty>
|
||||||
<pref-width>45</pref-width>
|
<pref-width>42</pref-width>
|
||||||
</empty>
|
</empty>
|
||||||
<text>
|
<text>
|
||||||
<label>Map size</label>
|
<label>Map size</label>
|
||||||
|
@ -195,7 +195,7 @@
|
||||||
</combo>
|
</combo>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
|
@ -231,10 +231,10 @@
|
||||||
<property>/sim/rendering/shadows/filtering</property>
|
<property>/sim/rendering/shadows/filtering</property>
|
||||||
</text>
|
</text>
|
||||||
<empty>
|
<empty>
|
||||||
<pref-width>67</pref-width>
|
<pref-width>222</pref-width>
|
||||||
</empty>
|
</empty>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
|
@ -289,18 +289,14 @@
|
||||||
<property>/sim/rendering/shadows/num-cascades</property>
|
<property>/sim/rendering/shadows/num-cascades</property>
|
||||||
</text>
|
</text>
|
||||||
<empty>
|
<empty>
|
||||||
<pref-width>67</pref-width>
|
<pref-width>222</pref-width>
|
||||||
</empty>
|
</empty>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group>
|
<group>
|
||||||
<layout>hbox</layout>
|
<layout>hbox</layout>
|
||||||
<halign>right</halign>
|
<halign>right</halign>
|
||||||
|
|
||||||
<empty>
|
|
||||||
<pref-width>130</pref-width>
|
|
||||||
</empty>
|
|
||||||
|
|
||||||
<text>
|
<text>
|
||||||
<label>Cascades</label>
|
<label>Cascades</label>
|
||||||
<enable>
|
<enable>
|
||||||
|
@ -373,6 +369,642 @@
|
||||||
<object-name>shadow-cascade-4</object-name>
|
<object-name>shadow-cascade-4</object-name>
|
||||||
</binding>
|
</binding>
|
||||||
</input>
|
</input>
|
||||||
|
<empty>
|
||||||
|
<pref-width>147</pref-width>
|
||||||
|
</empty>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<hrule/>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>left</halign>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Night vision</label>
|
||||||
|
<name>night-vision</name>
|
||||||
|
<property>/sim/rendering/rembrandt/night-vision</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>night-vision</object-name>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<hrule/>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>left</halign>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Vignette</label>
|
||||||
|
<name>vignette</name>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>vignette</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
</enable>
|
||||||
|
</checkbox>
|
||||||
|
<empty>
|
||||||
|
<pref-width>34</pref-width>
|
||||||
|
</empty>
|
||||||
|
<text>
|
||||||
|
<label>Inner circle</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>inner-circle</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.5</max>
|
||||||
|
<step>0.01</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/inner-circle</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>inner-circle</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>12345678</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/inner-circle</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>right</halign>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Outer circle</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>outer-circle</name>
|
||||||
|
<min>1.0</min>
|
||||||
|
<max>2.0</max>
|
||||||
|
<step>0.01</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/outer-circle</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>outer-circle</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>12345678</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/outer-circle</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/vignette</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<empty>
|
||||||
|
<pref-width>222</pref-width>
|
||||||
|
</empty>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>left</halign>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Color shift</label>
|
||||||
|
<name>color-shift</name>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>color-shift</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
</enable>
|
||||||
|
</checkbox>
|
||||||
|
<empty>
|
||||||
|
<pref-width>37</pref-width>
|
||||||
|
</empty>
|
||||||
|
<text>
|
||||||
|
<label>Red shift</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>red-shift-r</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/red-shift/x</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>red-shift-r</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/red-shift/x</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>red-shift-g</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/red-shift/y</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>red-shift-g</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/red-shift/y</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>red-shift-b</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/red-shift/z</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>red-shift-b</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/red-shift/z</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>right</halign>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Green shift</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>green-shift-r</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/green-shift/x</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>green-shift-r</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/green-shift/x</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>green-shift-g</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/green-shift/y</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>green-shift-g</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/green-shift/y</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>green-shift-b</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/green-shift/z</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>green-shift-b</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/green-shift/z</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>right</halign>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<label>Blue shift</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>blue-shift-r</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/blue-shift/x</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>blue-shift-r</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/blue-shift/x</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>blue-shift-g</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/blue-shift/y</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>blue-shift-g</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/blue-shift/y</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>blue-shift-b</name>
|
||||||
|
<min>0.0</min>
|
||||||
|
<max>1.0</max>
|
||||||
|
<step>0.004</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/blue-shift/z</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>blue-shift-b</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/blue-shift/z</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-shift</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>left</halign>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Distortion</label>
|
||||||
|
<name>distortion</name>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>distortion</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
</enable>
|
||||||
|
</checkbox>
|
||||||
|
<empty>
|
||||||
|
<pref-width>48</pref-width>
|
||||||
|
</empty>
|
||||||
|
<text>
|
||||||
|
<label>Factors</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>distortion-factor-x</name>
|
||||||
|
<min>-0.5</min>
|
||||||
|
<max>0.5</max>
|
||||||
|
<step>0.01</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion-factor/x</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>distortion-factor-x</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion-factor/x</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>distortion-factor-y</name>
|
||||||
|
<min>-0.5</min>
|
||||||
|
<max>0.5</max>
|
||||||
|
<step>0.01</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion-factor/y</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>distortion-factor-y</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion-factor/y</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>distortion-factor-z</name>
|
||||||
|
<min>0.5</min>
|
||||||
|
<max>1.5</max>
|
||||||
|
<step>0.001</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion-factor/z</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>distortion-factor-z</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>1234</label>
|
||||||
|
<format>%.2f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion-factor/z</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<halign>left</halign>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Color fringe</label>
|
||||||
|
<name>color-fringe</name>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-fringe</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>color-fringe</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</checkbox>
|
||||||
|
<empty>
|
||||||
|
<pref-width>42</pref-width>
|
||||||
|
</empty>
|
||||||
|
<text>
|
||||||
|
<label>Factor</label>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-fringe</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
|
<slider>
|
||||||
|
<name>color-fringe-factor</name>
|
||||||
|
<min>0.96</min>
|
||||||
|
<max>1.04</max>
|
||||||
|
<step>0.001</step>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-fringe-factor</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
<object-name>color-fringe-factor</object-name>
|
||||||
|
</binding>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-fringe</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</slider>
|
||||||
|
<text>
|
||||||
|
<label>12345678</label>
|
||||||
|
<format>%.3f</format>
|
||||||
|
<live>true</live>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-fringe-factor</property>
|
||||||
|
<enable>
|
||||||
|
<and>
|
||||||
|
<not><property>/sim/rendering/rembrandt/night-vision</property></not>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/distortion</property>
|
||||||
|
<property>/sim/rendering/rembrandt/cinema/color-fringe</property>
|
||||||
|
</and>
|
||||||
|
</enable>
|
||||||
|
</text>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<hrule/>
|
<hrule/>
|
||||||
|
|
|
@ -72,6 +72,36 @@ Started September 2000 by David Megginson, david@megginson.com
|
||||||
<bloom type="bool" userarchive="y">true</bloom>
|
<bloom type="bool" userarchive="y">true</bloom>
|
||||||
<bloom-strength type="float" userarchive="y">1.0</bloom-strength>
|
<bloom-strength type="float" userarchive="y">1.0</bloom-strength>
|
||||||
<bloom-buffers type="bool">true</bloom-buffers>
|
<bloom-buffers type="bool">true</bloom-buffers>
|
||||||
|
<night-vision type="bool">false</night-vision>
|
||||||
|
<cinema>
|
||||||
|
<vignette type="bool">false</vignette>
|
||||||
|
<inner-circle type="float" userarchive="y">0.8</inner-circle>
|
||||||
|
<outer-circle type="float" userarchive="y">1.3</outer-circle>
|
||||||
|
<color-shift type="bool">false</color-shift>
|
||||||
|
<red-shift>
|
||||||
|
<x type="float" userarchive="y">.393</x>
|
||||||
|
<y type="float" userarchive="y">.769</y>
|
||||||
|
<z type="float" userarchive="y">.189</z>
|
||||||
|
</red-shift>
|
||||||
|
<green-shift>
|
||||||
|
<x type="float" userarchive="y">.349</x>
|
||||||
|
<y type="float" userarchive="y">.686</y>
|
||||||
|
<z type="float" userarchive="y">.168</z>
|
||||||
|
</green-shift>
|
||||||
|
<blue-shift>
|
||||||
|
<x type="float" userarchive="y">.272</x>
|
||||||
|
<y type="float" userarchive="y">.534</y>
|
||||||
|
<z type="float" userarchive="y">.131</z>
|
||||||
|
</blue-shift>
|
||||||
|
<distortion type="bool">false</distortion>
|
||||||
|
<distortion-factor>
|
||||||
|
<x type="float" userarchive="y">0.0</x>
|
||||||
|
<y type="float" userarchive="y">0.0</y>
|
||||||
|
<z type="float" userarchive="y">1.0</z>
|
||||||
|
</distortion-factor>
|
||||||
|
<color-fringe type="bool">false</color-fringe>
|
||||||
|
<color-fringe-factor type="float" userarchive="y">1.0</color-fringe-factor>
|
||||||
|
</cinema>
|
||||||
<exposure type="float" userarchive="y">1.0</exposure>
|
<exposure type="float" userarchive="y">1.0</exposure>
|
||||||
<use-color-for-depth type="bool">false</use-color-for-depth>
|
<use-color-for-depth type="bool">false</use-color-for-depth>
|
||||||
<no-16bit-buffer type="bool">true</no-16bit-buffer>
|
<no-16bit-buffer type="bool">true</no-16bit-buffer>
|
||||||
|
|
Loading…
Reference in a new issue