NVIDIA / NVIDIA/cuda-samples

VolumeRender using glulookAt

Open
#365 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
9.6k
Forks
2.4k
Avg merge
53m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the volumeRender sample and comparing its glRotatef/glTranslate path with the attempted glulookAt camera-coordinate path. Reproduce the empty or partial-volume view while varying the camera coordinates; done means the sample renders the full volume reliably with the intended camera movement.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.