cuda-samples icon indicating copy to clipboard operation
cuda-samples copied to clipboard

VolumeRender using glulookAt

Open andrewsilver1997 opened this issue 8 months ago • 0 comments

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.

andrewsilver1997 avatar May 08 '25 20:05 andrewsilver1997