cuda-samples
cuda-samples copied to clipboard
VolumeRender using glulookAt
Hi,
In volumeRender, instead of using vanilla glRotatef/glTranslate function, I also tried glulookAt function by assuming the center is (0, 0, 0) then varying the camera coordinates. But sometimes I only saw a empty image of part of the volume. I feel like the camera is fixed all the time and the volume is moving with some distance to the camera.
Can you help me with it? Thank you in advance.