When using the slice filter in Ascent without explicitly specifying a camera, the automatically computed camera position can be aligned nearly parallel to the slice plane. In these cases, the slice is rendered edge-on and appears empty (black image), even though the slice operation itself is successful.
This behavior is misleading, as it suggests the slice failed when it is actually a viewing issue.
Steps to Reproduce:
- Use a dataset with bounds similar to:
- x ∈ [-0.05, 0.05]
- y ∈ [-0.05, 0.05]
- z ∈ [0, 1]
- Create a slice:
type: "slice"
params:
point: {x: 0.0, y: 0.0, z: 0.5}
normal: {x: 1.0, y: 0.0, z: 0.0}
- Do not specify a camera (use default rendering).
Observed Behavior:
- The rendered image appears black or empty.
- This gives the impression that the slice failed.
Expected Behavior:
- The slice should be visible under default camera settings, or
- The system should avoid placing the camera nearly parallel to the slice plane.
When using the slice filter in Ascent without explicitly specifying a camera, the automatically computed camera position can be aligned nearly parallel to the slice plane. In these cases, the slice is rendered edge-on and appears empty (black image), even though the slice operation itself is successful.
This behavior is misleading, as it suggests the slice failed when it is actually a viewing issue.
Steps to Reproduce:
Observed Behavior:
Expected Behavior: