Topic awaiting preservation: Voxel Rendering (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-27-2005 17:26
I was just thinking about making a voxel rendered (in relation to this month's 20 liner ;p ). However, there was one thing I was wondering about - interpolation. That is, you make a map randomly or whatever, and you trace out a ray to find the appropriate height value for each span. However, as almost invariably this point will not lie exactly on one of the values of the map, you have to find the appropriate height. So, would you interpolate from the 4 surrounding points? It seems that this would take a massive amount of calculation for each frame, and even then getting a good algorithm for it would be troublesome - any suggestions? |
Paranoid (IV) Inmate From: France |
posted 04-27-2005 17:59
Indeed, you should interpolate from the 4 surrounding points. |
Bipolar (III) Inmate From: Cranleigh, Surrey, England |
posted 04-27-2005 18:06
poi: where d'ya think I got the idea? ;p |
Paranoid (IV) Inmate From: France |
posted 04-27-2005 18:17
quote: hehe |
Paranoid (IV) Inmate From: USA |
posted 04-27-2005 20:29
http://www.rpi.edu/~laporj2/media/code/voxel/ |