Author Topic: Perlin Noise Terrain Raycasting with SSAO and SSDM  (Read 2393 times)

0 Members and 1 Guest are viewing this topic.

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2785
    • View Profile
Perlin Noise Terrain Raycasting with SSAO and SSDM
« on: September 14, 2010, 07:32:07 AM »
Quote
The demo is an experiment to combine terrain raycasting of perlin noise generated terrain with screen space ambient occlusions (SSAO) and screen space displacement mapping (SSDM).

The terrain is generated at the beginning of the demo as a 1024x256x1024 sized perlin noise volume data in CUDA, which is raycasted in the demo using distance functions for acceleration.

After the first hit is found, the screen-space normal vector is computed for shading and for the SSDM. The SSDM is not achieved using a stack of textures as this leads to problems in case of overlapping areas for large displacements. Instead, the SSDM is achieved in a post-process using a high-resolution triangle mesh with two triangles per pixel. That is the reason why sometimes articafts near the screen-boundary can be observed.

The ones of you adept in CG may play around with the shader thats included.

Here the link to the Demo (needs an NVidia card as it uses CUDA)

And the link to the video: http://www.youtube.com/watch?v=f4bYYWnQbSU

-Sven

http://voxels.blogspot.com

[via]

Reliable download mirror