if you had a displacement map texture with a full mip chain. and each mip was the maximum heights (not the average height) scaled down of the mip before it, wouldnt that be a way to reduce texture sampling - marching the ray across?
How come this has never come up anywhere on the net? (as far as ive checked) Does it suck compared or not work?
It would require sampling a desired level, so youd have to make sure you stopped at the right from eye distance.
raytracing displacement maps, quadtree method
Started by rouncer, Aug 27 2012 08:00 AM
2 replies to this topic
#1
Posted 27 August 2012 - 08:00 AM
you used to be able to fit a game on a disk, then you used to be able to fit a game on a cd, then you used to be able to fit a game on a dvd, now you can barely fit one on your harddrive.
#2
Posted 27 August 2012 - 10:18 AM
Try looking into this presentation - http://www.google.cz...1S2wu2SZGzkCoIw
It shows something called quadtree displacement mapping and thats exactly what you're looking for. Note that it probably will be outperformed by SAH KD-tree in real world scenarios (SAH KD-tree will just be a little better than quadtree on terrain that's not too plannar) + terrain is static (you can pre-compute the KD-tree, no need to do it at processing time).
It shows something called quadtree displacement mapping and thats exactly what you're looking for. Note that it probably will be outperformed by SAH KD-tree in real world scenarios (SAH KD-tree will just be a little better than quadtree on terrain that's not too plannar) + terrain is static (you can pre-compute the KD-tree, no need to do it at processing time).
My blog about game development (and not just game development) - http://gameprogramme...y.blogspot.com/
If you don't know how to speed up application, go "roarrrrrr!", hit the compiler with the club and use -O3 :D
If you don't know how to speed up application, go "roarrrrrr!", hit the compiler with the club and use -O3 :D
#3
Posted 27 August 2012 - 10:41 AM
thanks man.
you used to be able to fit a game on a disk, then you used to be able to fit a game on a cd, then you used to be able to fit a game on a dvd, now you can barely fit one on your harddrive.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












