[Aqsis-commits] SF.net SVN: aqsis:[2862] trunk/testing/regression
Brought to you by:
ltatkinson,
pgregory
From: <c4...@us...> - 2009-07-26 08:27:18
|
Revision: 2862 http://aqsis.svn.sourceforge.net/aqsis/?rev=2862&view=rev Author: c42f Date: 2009-07-26 08:27:09 +0000 (Sun, 26 Jul 2009) Log Message: ----------- Add test case for triangle grid + DoF rendering artifacts. ( bug fixed in git commit 1e36ddb97745ed7c7b1bdaa85a1b1706d4c85f8e ) Modified Paths: -------------- trunk/testing/regression/RIBs/DepthOfField/jobs.cfg Added Paths: ----------- trunk/testing/regression/RIBs/DepthOfField/triangle_grid_dof_bug.rib trunk/testing/regression/reference/triangle_grid_dof_bug.tif Modified: trunk/testing/regression/RIBs/DepthOfField/jobs.cfg =================================================================== --- trunk/testing/regression/RIBs/DepthOfField/jobs.cfg 2009-06-26 07:05:08 UTC (rev 2861) +++ trunk/testing/regression/RIBs/DepthOfField/jobs.cfg 2009-07-26 08:27:09 UTC (rev 2862) @@ -19,3 +19,20 @@ sampling artifacts. """) +RenderJob("", "triangle_grid_dof_bug.rib", + description=""" + <p><b>Bugfix: Triangles render incorrectly in the presence of focal blur.</b></p> + <p> + Triangular grids are just square grids with a diagonal cut line. They have + special-case code to make sure that only samples on one side of the cut line + actually hit the surface. The circle of confusion offset needs to be taken + into account when performing the cut line test, otherwise some samples + incorrectly miss and others incorrectly hit the surface. + </p> + <p> + The test case contains two triangles which fit together to make a + white square; the centre is in focus. With the bug in evidence, there + will be an obvious blurry black diagonal across the square from top to + bottom. The top-right side was also sharp rather than blurred. + </p> + """) Added: trunk/testing/regression/RIBs/DepthOfField/triangle_grid_dof_bug.rib =================================================================== --- trunk/testing/regression/RIBs/DepthOfField/triangle_grid_dof_bug.rib (rev 0) +++ trunk/testing/regression/RIBs/DepthOfField/triangle_grid_dof_bug.rib 2009-07-26 08:27:09 UTC (rev 2862) @@ -0,0 +1,29 @@ +Display "triangle_grid_dof_bug.tif" "file" "rgb" "string compression" "lzw" +#Display "triangle_grid_dof_bug.tif" "framebuffer" "rgb" + +PixelSamples 4 4 +Format 200 200 1 + +ShadingRate 1 + +Projection "perspective" "fov" [ 60 ] +Translate 0 0 2 +Rotate 30 1 0 0 + +DepthOfField 10 20 2 + +WorldBegin + + PointsPolygons [3 3] + [ + 0 2 1 + 2 1 3 + ] + "P" [ + -1 0 0 + 0 1 0 + 0 -1 0 + 1 0 0 + ] + +WorldEnd Added: trunk/testing/regression/reference/triangle_grid_dof_bug.tif =================================================================== (Binary files differ) Property changes on: trunk/testing/regression/reference/triangle_grid_dof_bug.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. |