GPU-Accelerated Path Rendering - Presentation - GTC 2012
GPU-Accelerated Path Rendering - Presentation - GTC 2012
GPU-Accelerated Path Rendering - Presentation - GTC 2012
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
“Stencil, then Cover”<strong>Path</strong> Stroke Covering• Specify a path• Specify arbitrary path transformation– Projective (4x4) allowed– Depth values can be generated fordepth testingcover strokepath commandper-pathfill regionoperationspathfront-endprojectivetransformclipping &scissoringpathobjectsampleaccessibility• Sample accessibility determined– Accessibility can be limited by anyor all ofper-sampleoperationswindow, depth& stencil tests• Scissor test, depth test, stenciltest, view frustum, userdefinedclip planes, samplemask, stipple pattern, andwindow ownershipper-fragment orper-sampleshadingstencilupdatetypically zero• Conservative covering geometry usesstencil to “cover” stroked path– Determined by prior stencil stepcolorbufferprogrammablepathshadingstencilbuffer