Embed presentation
Downloaded 67 times



































![Path Rendering Example (1 of 3) Let’s draw a green concave 5-point star even-odd fill style non-zero fill style Path specification by string of a star GLuint pathObj = 42; const char *pathString ="M100,180 L40,10 L190,120 L10,120 L160,10 z"; glPathStringNV(pathObj,GL_PATH_FORMAT_SVG_NV, strlen(pathString),pathString); Alternative: path specification by data static const GLubyte pathCommands[5] = { GL_MOVE_TO_NV, GL_LINE_TO_NV, GL_LINE_TO_NV, GL_LINE_TO_NV, GL_LINE_TO_NV, GL_CLOSE_PATH_NV }; static const GLshort pathVertices[5][2] = { {100,180}, {40,10}, {190,120}, {10,120}, {160,10} }; glPathCommandsNV(pathObj, 6, pathCommands, GL_SHORT, 10, pathVertices);](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fsiggraph2012gpuacceleratedpathrendering-120820121254-phpapp02%2f75%2fSIGGRAPH-2012-GPU-Accelerated-2D-and-Web-Rendering-36-2048.jpg&f=jpg&w=240)












































Mark Kilgard's talk focuses on advancements in GPU-accelerated 2D graphics and web rendering, highlighting NVIDIA's approach to optimizing path rendering using a 'stencil, then cover' method for improved efficiency and quality. The presentation covers various applications, rendering standards, and the benefits of integrating resolution-independent graphics into web content. It aims to demonstrate how modern GPUs can significantly enhance rendering processes for both 3D and 2D content, making them essential for interactive visual computing.



































![Path Rendering Example (1 of 3) Let’s draw a green concave 5-point star even-odd fill style non-zero fill style Path specification by string of a star GLuint pathObj = 42; const char *pathString ="M100,180 L40,10 L190,120 L10,120 L160,10 z"; glPathStringNV(pathObj,GL_PATH_FORMAT_SVG_NV, strlen(pathString),pathString); Alternative: path specification by data static const GLubyte pathCommands[5] = { GL_MOVE_TO_NV, GL_LINE_TO_NV, GL_LINE_TO_NV, GL_LINE_TO_NV, GL_LINE_TO_NV, GL_CLOSE_PATH_NV }; static const GLshort pathVertices[5][2] = { {100,180}, {40,10}, {190,120}, {10,120}, {160,10} }; glPathCommandsNV(pathObj, 6, pathCommands, GL_SHORT, 10, pathVertices);](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fsiggraph2012gpuacceleratedpathrendering-120820121254-phpapp02%2f75%2fSIGGRAPH-2012-GPU-Accelerated-2D-and-Web-Rendering-36-2048.jpg&f=jpg&w=240)










































