Horde3D
http://horde3d.org/forums/

Relaxed Cone Stepping for Relief Mapping
http://horde3d.org/forums/viewtopic.php?f=7&t=195
Page 1 of 1

Author:  g-l-u-k [ 27.11.2007, 09:12 ]
Post subject:  Relaxed Cone Stepping for Relief Mapping

Whether the given technology will be introduced in Horde3D?
http://developer.download.nvidia.com/bo ... 3_ch18.pdf :D

Author:  marciano [ 27.11.2007, 21:35 ]
Post subject: 

From what I remember all the magic for this technique is done in a fragment shader, so it should be no problem to use with Horde. The quality looks great but I would guess that it is a bit too heavy for excessive use in real-world applications.

Another technique that I found some time ago is iterative parallax mapping. It is easy to implement, extremely fast and scalable and the results look promising:

http://www.cescg.org/CESCG-2006/papers/TUBudapest-Premecz-Matyas.pdf

Author:  speeder [ 23.07.2008, 07:17 ]
Post subject:  Re: Relaxed Cone Stepping for Relief Mapping

In fact, that Relaxed Cone Stepping for Relief Mapping is indeed great, I was trying to implement it, but I am failing miserably (the author of the paper told me to write my own bump-map shader first, and indeed he was right, I am failing to do that too...)

Just search on internet for "policarpo" and "relief mapping", you will end somewhere on his site (or his partner site) where LOTS of papers about relief mapping are avaible.

In fact, the idea is this:

Normal relief mapping (or as some people call, offset, or parallax mapping), needs to compare with some steps, I saw several implementations using a linear search with 8 steps, that altough is quite fast, it is ugly for big depths and still inefficient

The idea of the Relaxed Cone, is be faster than a linear search, and also more precise.

Also, the technique that Policarpo invented is a "curved" relief mapping (ie: it calculates the curvature of the object, and use this data to know if a ray entered and then left the object without colliding), the result is that the object looks like a object made using Displacement mapping, but no actual displacing is done, it only do not render the pixels that the ray do not cross (ie: do not cross the texture that was moved by the offset)

The results are really intersting, and I would really love that on my game, but I have no idea on how to even code a bump-map thing >.< (I think that I need to improve my math skills)

Author:  reiko [ 30.07.2008, 15:48 ]
Post subject:  Re: Relaxed Cone Stepping for Relief Mapping

Wow, I hadn't come across [Relaxed] Cone Stepping before, and the results look great. I must try harder to keep up with current graphics papers!

Author:  DarkAngel [ 31.07.2008, 02:33 ]
Post subject:  Re: Relaxed Cone Stepping for Relief Mapping

reiko wrote:
I must try harder to keep up with current graphics papers!
Bookmark this site then http://kesen.huang.googlepages.com/ :D

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/