resolution independent nurbs curves rendering using
play

Resolution Independent NURBS Curves Rendering using Programmable - PowerPoint PPT Presentation

Resolution Independent NURBS Curves Rendering using Programmable Graphics Pipeline Rami Santina CCT International Graphicon 2011 Moscow, Russia September 2011 Motivation Visualize NURBS Curves: Resolution independence Fast


  1. Resolution Independent NURBS Curves Rendering using Programmable Graphics Pipeline Rami Santina CCT International Graphicon 2011 Moscow, Russia September 2011

  2. Motivation ● Visualize NURBS Curves: ● Resolution independence ● Fast Rendering, and pre-processing. ● Minimal memory storage. ● Resolution independent UI and CAD drawing in a 3D Scene. ● On embedded devices! R Santina, CCT International - Graphicon 2011 2

  3. Background ● NURBS Curves: ● Provides additional DoF namely, Weights. ● Fewer Control Points to describe complex shapes ● Widely used in CAD. ● NURBS Visualization: ● Heavy pre-processing. ● Common approach: Convert to Bezier data. (SVG...) - Post Design Visualization R Santina, CCT International - Graphicon 2011 3

  4. Related Work GPU NURBS Rendering, using textures Resolution Independent, Bezier Curves Direct evaluation of nurbs curves and surfaces on the gpu, Krishnamurthy et al. 2007 Resolution independent curve rendering using Images from referenced authors/papers programmable graphics hardware , Loop Blinn 2005 R Santina, CCT International - Graphicon 2011 4

  5. Our Method: Input ● Set of outlines (shape's boundaries). ● Vertices are of two types: off-curve, on-curve. ● Each vertex has x, y, z, w as attributes. R Santina, CCT International - Graphicon 2011 5

  6. Our Method: Input ● Convert curved parts of the outlines to a set of triplets. ● Each triplet has one off-curve → curved triangle ● The inner regions → non-curved triangles. (Triangulation) R Santina, CCT International - Graphicon 2011 6

  7. Modified Delaunay Triangulation. 4 Outlines 3 Loops For each outline: - Triangulation done Independently. - No cleanup phase. - No extra triangles. R Santina, CCT International - Graphicon 2011 7

  8. Rendering – Quadratic Curve ● Let the control points be: ● Perform a Triple Knot insertion. K= [0 0 0 1 1 1] ● Assign P i as texture Coordinates to each curved triangle R Santina, CCT International - Graphicon 2011 8

  9. Rendering – Quadratic Curve ● Derive the implicit form of the curve. ● Using the implicit function we can check if a fragment is in ( f < 0 ) or out . ● Setting P 1 =[1/2 -1/2] for out , we can always render in. R Santina, CCT International - Graphicon 2011 9

  10. Rendering – Quadratic Curve ● Each curved triangle can be manipulated using w 1 Equiv to LoopBlinn2005 We note that the Curve is Aliased . ● R Santina, CCT International - Graphicon 2011 10

  11. Rendering Regions: Frag. Shader ● Compute using the chain rule: where R Santina, CCT International - Graphicon 2011 11

  12. Anti Aliasing ● Compute the signed distance: ● Classify: R Santina, CCT International - Graphicon 2011 12

  13. Anti Aliasing ● For curved triangles – done. ● Non curved: ● MSAA – General Case. ● VBAA – Two pass rendering R Santina, CCT International - Graphicon 2011 13

  14. Implementation - API ● Part of Jogl Open Source Project! ● Graph API: RI shapes, Text and User Interface http://jogamp.org R Santina, CCT International - Graphicon 2011 14

  15. Application ● P&ID visualization: (Desktop & Mobile) Visual Project Controls http://c3d.com R Santina, CCT International - Graphicon 2011 15

  16. Conclusion & Future Work ● Presented a method for rendering NURBS curve ● Resolution Independent ● Mobile ready! (OpenGL ES2 impl) ● No heavy preprocessing and memory usage. ● Future work: ● Resolution Independent User Interface and UI Design tool. ● Resolution independent P&ID viewer R Santina, CCT International - Graphicon 2011 16

  17. Thank you! R Santina, CCT International - Graphicon 2011 17

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend