1 / 6

The idea (in 2D)

The idea (in 2D). Original normal. New normal. Change surface position (along original normal direction) by texel value. Geometry positions that corresponds to integer texel positions. Actual (integer) texel positions that can be read from file.

esma
Download Presentation

The idea (in 2D)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The idea (in 2D) Original normal New normal Change surface position (along original normal direction) by texel value Geometry positions that corresponds to integer texel positions Actual (integer) texel positions that can be read from file texture index position from visible position (float)

  2. The idea (in 3D) New normal 6. Use displaced heights to re-compute surface normal Original normal 1. texture index position from visible position (float) 5. Use interpolated value as height displacement 4. Linearly interpolated from actual texel read out 2. The four bounding integer texel positions that file texture can provide values Interpolate 3. Compute geometry positions that corresponds to these texel indices

  3. The Spaces 1. Computed visible point (Word space) 7. Transform from UV space to world space for the 4 texel positions, and use interpolated (next slide) texture results! 2. Transform to UV space 6. Transform these texel positions back to UV space 3. Transform to texel position the corresponds exactly to the visible point (float) UV space (u0,v1) Index=(u,v1) 4. bounding texel positions that can be read from file (u1,v1) Index=(u,v) (u0,v0) Index=(u1,v) Index=(u,v0) (u1,v0) 5. Compute UV vertex along integer UV-grid (u0, u1, v0, v1) grid

  4. The Interpolated Texture Texel position that corresponds exactly to the visible point (float): (u,v) 1-dv du=u-u0 dv=v-v0 1-du

  5. The Geometry New normal

  6. The Algebra Let Let

More Related