Your SlideShare is downloading. ×
0
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Relief Clipping Planes (SIGGRAPH ASIA 2008)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Relief Clipping Planes (SIGGRAPH ASIA 2008)

516

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
516
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Let me start with the results of our rendering technique that is displayed here. Our approach enables the clipping against a more general parameterization of a clipping plane. The major improvement here, is an additional height information represented by a so-called offset texture map. This parameterization produces the irregular cut-edges you can see in the animation. Further, our approach performs the automatic capping of the occurred gaps after clipping. [--CLICK--]
  • These Relief-Clipping Planes can be used to interactively create more realistic cut-away views. The advantages of our technique lays in the resulting non-regular silhouettes, and the cap-surface enables the possibility to convey more complex inner structure. The two main contributions I like to present today are the new clipping plane parameterization and our new capping approach. Our goals were the hardware accelerated implementation to achieve real-time frame rates for interactive configuration of the respective parameterizations. [--CLICK--]
  • At first let us start with the definition of a relief-clipping plane. The basic relief clipping plane parameterization consists of the following 5 parameters: the plane origin O, the direction vector U, V, distinguished to support anisotropic adjustments, a scaling factor S that can be used to adjust the texture coordinate generation for the Offset Map OM. RCP can be enhance with further attributes that define the appearance of the cap surface, such as normal or diffuse texture maps. Given a number of such relief clipping planes we can perform clipping as follows [--CLICK--]
  • A point P is clipping if this half-space test returns true [--CLICK--] To calculate the sampling coordinates T for the offset map OM, we project P onto the given plane [--CLICK--] And then compute the normalized and scaled texture coordinates for sampling [--CLICK--] The last step depends on the type of offset map used. That means it differs for 1D, 2D, or 3D texture representations. [--CLICK--]
  • This concept can be easily implemented on modern graphics hardware using shading languages. So simple that it fit onto a single slide, but it still can be optimized. Here you can see an exemplary OpenGL Shading language implementation of our clipping approach. It implements the previous mentioned steps: Compile the plane equation [--CLICK--] Project input point onto that plane [--CLICK--] Calculate texture coordinates and sample the offset texture map [--CLICK--] Perform the half-space test [--CLICK--] [--CLICK--]
  • Such function can be applied multiple time as you can see in this animation. Here we use three different offset maps which are applied within a single rendering pass. You can see also, that it is possible that relief clipping planes can be restricted in their area of influence. [--CLICK--]
  • After I present the clipping approach I’d like to focus on the second part of our contribution: the capping of occurred gaps. [--CLICK--] in this real-world example you see the surface where the crank is broken. To synthesis such picture in real-time is our goal. [--CLICK--]
  • It is important to convey and model the inner structure or material of the clipped mesh with maximal freedom for its appearance. A straight-forward solution is to derive a polygonal cap-surface a given relief-clipping plane. The rendering of such surface takes place after the clipping pass. Lets take a closer look on how such cap-surface can be created. [--CLICK--]
  • The cap-surface is generated by a 2 Phase process using dynamic mesh refinement on GPU in combination with displacement mapping and volumetric depth testing Phase A: A quad is constructed using the bounding box of clipping shape and clip-plane parameterization. The refined mesh is then displaced using the offset map and textured and shaded using specific styles. The generation of texture coordinate is similar as for the clipping approach. Phase B: Finally, the cap surface is clipped to the necessary parts. But, to apply this step we have to know where the gaps are, that have to be covered. The answer to that question is not a simple one. Lets take a closer look on our solution. [--CLICK--]
  • For standard clipping planes, capping is usually performed as a stencil technique using the back-face and front face polygon orientation information. A stencil mask of the visible back-face determine where to render the cap. Since the non-regularity of the clip-surface, this approach cannot be used for our clipping-approach. To answer the question which parts of the cap surface have to be clipped, we use an additional data structure displayed on the right. It enables a volumetric test if a point of the cap surface is inside or out-side this input mesh. The VDS is created during pre-processing. [--CLICK--]
  • Here you can see an example of an VDS created from a complex shape. The shape has a maximal depth complexity of 8 (along the z-axis). The VDS consists of eight depth maps representing layers of unique depth complexity. To use this data type we’ve made the following assumptions: The Clipped mesh has to be solid The Clipped mesh has to be static for optimal performance [--CLICK--]
  • So after such a representation is created we can perform volumetric tests on it. That means, we try to determine for a given point V if it is inside our outside the volume represented by an LDI. To model this property of being inside or outside, we use a Boolean parity which is assigned to V. That parity is determined in a two phase process. We first transform V into the 3D LDI texture space and then perform ray-marching through the depth maps. [--CLICK---]
  • Finally, let me draw some conclusions, I’ve presented a real-time rendering technique for relief-clipping planes that can be fully implemented on modern GPU. Our approach is applicable to arbitrary solid input meshes. The main drawbacks of our solution are the necessary additional data structure, that consumes additional GPU memory as well as the need for highly tessellate surfaces in order to avoid rendering artifacts For future work we‘re heading towards a generalized approach for clipping using surfaces as well as volumes. [--CLICK--]
  • Transcript

    • 1.  
    • 2. Matthias Trapp , Jürgen Döllner Hasso-Plattner-Institute, University of Potsdam, Germany Relief Clipping Planes For Real-Time Rendering
    • 3. Results
    • 4. Motivation <ul><li>Relief Clipping Planes (RCP): </li></ul><ul><li>Create more sophisticated cut-away views </li></ul><ul><li>Enables non-regular cut-surfaces </li></ul><ul><li>Contributions: </li></ul><ul><li>New clip plane parameterization </li></ul><ul><li>Automatic cap-surface generation </li></ul><ul><li>Implementation Goals: </li></ul><ul><li>Interactive configuration </li></ul><ul><li>Use hardware acceleration </li></ul>
    • 5. Relief Clip-Plane Parameterization <ul><li>O Plane Origin </li></ul><ul><li>U, V Direction Vectors </li></ul><ul><li>S = (sx,sy,sz) Scaling Vector </li></ul><ul><li>OM Offsetmap </li></ul>
    • 6. Clipping Equation
    • 7. GLSL Fragment-Shader Source
    • 8. Multiple Clipping Planes
    • 9. Capping Openings – The Goal… http://www.bmbikes.co.uk/photos/museumphotos/Broken 20R60-6 Crank.jpg Assumption: Input Mesh is SOLID.
    • 10. Capping – The Process <ul><li>Goals: </li></ul><ul><li>Convey material / inner structure of the input solid </li></ul><ul><li>Enable assisted modeling of cap-surface appearance </li></ul><ul><li>Solution: Polygonal Cap-Surface </li></ul><ul><li>Directly derived from relief-clipping plane </li></ul><ul><li>Rendering after the clipping pass </li></ul>
    • 11. Generating the Cap-Surface <ul><li>Phase A: </li></ul><ul><li>Dynamic Mesh Refinement on GPU [Boubekeur05] </li></ul><ul><li>Perform displacement, shading, texturing,… </li></ul><ul><li>Phase B: </li></ul><ul><li>Clip away “outside” parts of the cap-surface </li></ul>
    • 12. Decision Problem <ul><li>Which point P of the cap-surface is inside a solid S ? </li></ul><ul><li>Solution: Volumetric depth test </li></ul><ul><li>Needed: Additional data structure </li></ul><ul><li>Layered Depth Image (LDI) [Shade98] </li></ul><ul><li>Image-based representation of shape </li></ul><ul><li>Computed in pre-processing [Everitt01] </li></ul>
    • 13. Example of Layered Depth Image
    • 14. Volumetric Depth Test [Trapp08]
    • 15. Conclusions <ul><li>Summary </li></ul><ul><li>Advanced clipping approach </li></ul><ul><li>Real-time rendering technique </li></ul><ul><li>Fully implemented on GPU </li></ul><ul><li>Drawbacks </li></ul><ul><li>Needs additional data structure </li></ul><ul><li>Needs high-tessellated cap-surface </li></ul><ul><li>Future Work </li></ul><ul><li>Generalized approach for clipping </li></ul>
    • 16. Thank You ! - Questions ? <ul><li>Contact: </li></ul><ul><ul><li>Matthias Trapp </li></ul></ul><ul><ul><li>[email_address] </li></ul></ul><ul><ul><li>Jürgen Döllner </li></ul></ul><ul><ul><li>[email_address] </li></ul></ul><ul><ul><li>Computer Graphics Systems Group </li></ul></ul><ul><ul><li>http://www.hpi.uni-potsdam.de/doellner/ </li></ul></ul>

    ×