[Aqsis-commits] SF.net SVN: aqsis:[2869] trunk/testing/regression
Brought to you by:
ltatkinson,
pgregory
From: <c4...@us...> - 2009-08-22 09:18:54
|
Revision: 2869 http://aqsis.svn.sourceforge.net/aqsis/?rev=2869&view=rev Author: c42f Date: 2009-08-22 09:18:42 +0000 (Sat, 22 Aug 2009) Log Message: ----------- Add test case for bug 2811280 Modified Paths: -------------- trunk/testing/regression/RIBs/Shading/jobs.cfg Added Paths: ----------- trunk/testing/regression/RIBs/Shading/orthofog_bug2811280.rib trunk/testing/regression/reference/orthofog_bug2811280.tif Modified: trunk/testing/regression/RIBs/Shading/jobs.cfg =================================================================== --- trunk/testing/regression/RIBs/Shading/jobs.cfg 2009-08-22 04:55:43 UTC (rev 2868) +++ trunk/testing/regression/RIBs/Shading/jobs.cfg 2009-08-22 09:18:42 UTC (rev 2869) @@ -451,3 +451,18 @@ </p> """) +RenderJob("", "orthofog_bug2811280.rib", + description=""" + <p><b>Bug 2811280: Incorrect incident ray length in orthogonal projection</b></p> + <p> + This scene shows a slanted plane with an orthographic camera. The constant + shader is applied to the surface and the standard fog atmosphere shader is + attached. This should result in a surface which varies smoothly from white + near the camera to black in the distance. + </p> + <p> + With the bug, the builtin shader variable "I" had the value (0,0,1) + regardless of the current position P, which led to the colour of the + surface being constant. + <p> + """) Added: trunk/testing/regression/RIBs/Shading/orthofog_bug2811280.rib =================================================================== --- trunk/testing/regression/RIBs/Shading/orthofog_bug2811280.rib (rev 0) +++ trunk/testing/regression/RIBs/Shading/orthofog_bug2811280.rib 2009-08-22 09:18:42 UTC (rev 2869) @@ -0,0 +1,26 @@ +Display "orthofog_bug2811280.tif" "file" "rgb" "compression" "lzw" +#Display "+orthofog_bug2811280.tif" "framebuffer" "rgb" + +Hider "hidden" "jitter" 0 +PixelSamples 1 1 + +Projection "orthographic" +Format 200 200 1 + +Translate 0 0 1 + +Atmosphere "fog" + +WorldBegin + Surface "constant" + Rotate 40 1 1 0 + Translate -1 -1 0 + Scale 2 2 1 + Patch "bilinear" + "P" [ + 0 0 0 + 1 0 0 + 0 1 0 + 1 1 0 + ] +WorldEnd Added: trunk/testing/regression/reference/orthofog_bug2811280.tif =================================================================== (Binary files differ) Property changes on: trunk/testing/regression/reference/orthofog_bug2811280.tif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |