PDA

View Full Version : ray tracing


TarkaDahl
10-12-2010, 06:45 AM
Hi all,

I've been playing around with shaders and getting some reasonable results. I've just started looking at ray tracing, working off an example I've found on the internet at http://www.siafoo.net/snippet/200.

From what I can gather the fragment shader gets the positions of the ray entering and exiting the cube by rendering one texture front face and one back face and getting the maxLength of the ray from that - is there a way to do this using vizard? or is there another way of doing this?

Thanks

TarkaDahl
10-22-2010, 03:57 AM
Hi all

The following website has some more example of volume rendering.

http://old.vrvis.at/via/resources/course-volgraphics-2004/
the article "GPU-Based Ray Casting (http://old.vrvis.at/via/resources/course-volgraphics-2004/slides/SIGGRAPH04_Part02.pdf)" was good.

Any help with the question raised above would be nice.

Thanks