1 / 7

Bump Mapping

Bump Mapping. Efecto de relieve a los polígonos. Bump Mapping. Por si un polígono es siempre plano, no tiene relieve Si queremos dotarle de relieve debemos subdividir el polígono en polígonos que definan mejor el relieve O bien utilizar técnicas que lo simulen. Emboss Mapping.

hagop
Télécharger la présentation

Bump Mapping

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. Bump Mapping Efecto de relieve a los polígonos Jose María Buades Rubio

  2. Bump Mapping Por si un polígono es siempre plano, no tiene relieve Si queremos dotarle de relieve debemos subdividir el polígono en polígonos que definan mejor el relieve O bien utilizar técnicas que lo simulen

  3. Emboss Mapping • Técnica más sencilla para dar efecto de relieve • El relieve se define en una textura RGB, tal que r = g = b  0.5 • Se calcula su textura inversa RGB(1-r, 1-g, 1-b) r = g = b  0.5 • bump + inv_bump = 1.0

  4. Emboss MappingTextura relieve

  5. Emboss Mapping • Se calcula la proyección de la posición de la luz sobre el plano del polígono • Se desplaza un textura sobre la otra en la dirección de la proyección de la luz • La cantidad de desplazamiento viene dada por el ángulo de incidencia sobre el polígono

  6. Emboss MappingResultados

  7. Ejemplo: Demo.zip

More Related