ray tracing height fields
DESCRIPTION
Ray Tracing Height Fields. Aran Shirdavani And Frank ow. This image was created using Terrain – a fractal terrain generator. Computer Generated Terrain. Generated Terrain by * Create 3D Mesh * Ray Tracing on 3D Mesh - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/1.jpg)
ARAN SHIRDAVANIAND
FRANK OW
Ray Tracing Height Fields
![Page 2: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/2.jpg)
Computer Generated Terrain
This image was created using Terrain – a fractal terrain generator
![Page 3: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/3.jpg)
Create 3D Mesh
Generated Terrain by • * Create 3D Mesh
1) * Ray Tracing on 3D Mesh
2) * Compute each Pixel by intersect each Ray with each triangle on the 3D Mesh.
![Page 4: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/4.jpg)
Height Map
6 1 85 4 6 1 8 4
63 7 3 41 8 5 9 0
3 218 0 416 4 81 85 165
189 165 1 8 4 97 6 26
748 4 512 84 85 695 5 2
41 8 96 23 2 8 8 56
0 3 54 4 56 7 8 78
5 4 8 2 6 74 8 4
![Page 5: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/5.jpg)
![Page 6: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/6.jpg)
![Page 7: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/7.jpg)
![Page 8: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/8.jpg)
![Page 9: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/9.jpg)
![Page 10: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/10.jpg)
Tricky bits…imagine this is 3D
![Page 11: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/11.jpg)
More tricky bits… traversing at an angle in 3 dimensions
![Page 12: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/12.jpg)
Resolving Visibility
Height
![Page 13: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/13.jpg)
Resolving Visibility in Section
![Page 14: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/14.jpg)
Resolving Visibility in Section
![Page 15: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/15.jpg)
Resolving Visibility in Section
![Page 16: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/16.jpg)
Calculating Surface Normals
Px-1,y+1 Px,y+1 Px+1,y+1 Px-1,y Px,y Px+1,y Px-1,y-1 Px,y-1 Px+1,y-1
![Page 17: Ray Tracing Height Fields](https://reader036.vdocuments.us/reader036/viewer/2022062410/568162a4550346895dd32199/html5/thumbnails/17.jpg)
Questions?