3dct / 3dct/open_iA

3D Renderer: volume cropped by 1 in every direction

Offen
#40 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug help wanted
Vorherrschende Sprache
C++
Sterne
48
Forks
19
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

With raycast renderer (=software renderer), in the 3D renderer the volume is cropped by 1 voxel in every direction:

![problem-jw](https://user-images.githubusercontent.com/1629217/61126031-b1bfa300-a4ab-11e9-9c95-05682ad4801d.png)

The problem seems to only exist for the software renderer; the GPU renderer however produces strange results for small volumes.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Look at the raycast renderer (software renderer) code in the 3D rendering module. The issue mentions the volume is cropped by 1 voxel in every direction. Start by finding the volume bounds handling in the raycasting algorithm, likely in a file related to volume rendering or raycasting. Compare with the GPU renderer's bounds handling to see the difference. Check for off-by-one errors in loop bounds or coordinate transformations. Running the software renderer on a small test volume can help verify the fix.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
computer-graphics, cpp
Bereich
computer-graphics, desktop
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.