What is path rendering?
What is path rendering?
What is path rendering?
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Path Rendering Example (2 of 3)InitializationClear the stencil buffer to zero and the color buffer to blackglClearStencil(0);glClearColor(0,0,0,0);glStencilMask(~0);glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);Specify the Path's TransformglMatrixIdentityEXT(GL_PROJECTION);glMatrixOrthoEXT(GL_MODELVIEW, 0,200, 0,200, -1,1); // uses DSA!Nothing really specific to <strong>path</strong> <strong>rendering</strong> hereDSA = OpenGL’s Direct State Access extension (EXT_direct_state_access)