3dct / 3dct/open_iA

3D Renderer: volume cropped by 1 in every direction

未关闭
#40 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug help wanted
主要语言
C++
星标
48
派生
19
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
computer-graphics, cpp
领域
computer-graphics, desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。