trier
05-30-2006, 03:00 AM
Hello folks.
I am working on a gpu raycaster for my thesis and i works pretty well. First i used the multipass algotithm were you render front and the back faces of a cube, in order to get the starting position and the ray direction. But now i have implemented the single pass method where you should be able to derive the direction vector
form the camera position and the interpolated vertexposition. But it looks kind of strange and when i move the camera it kind of scews, and every article i have read say that it is so easy. So the question is if some of you have a solution to this problem?
Thanks in advance Trier
I am working on a gpu raycaster for my thesis and i works pretty well. First i used the multipass algotithm were you render front and the back faces of a cube, in order to get the starting position and the ray direction. But now i have implemented the single pass method where you should be able to derive the direction vector
form the camera position and the interpolated vertexposition. But it looks kind of strange and when i move the camera it kind of scews, and every article i have read say that it is so easy. So the question is if some of you have a solution to this problem?
Thanks in advance Trier