-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
We observe a cylinder rendering issue in OSPRay 3.2.0, which seems to occur whenever the length of the cylinder exceeds a certain threshold.
This is an animation showing a cylinder that extends from (0,0,0) to (x,0,0) with x varying from 0 to 30,000.

The issue occurs for any cylinder radius, cylinder axis, camera direction, and projection type:


The cylinder is rendered using the curve geometry type:
geometry = ospray::cpp::Geometry("curve");
geometry.setParam("type", OSP_DISJOINT);
geometry.setParam("basis", OSP_LINEAR);
geometry.setParam("vertex.position_radius", ...); // Two vertices (vec4f)
geometry.setParam("index", ...); // uint32 indices[1] = {0}
geometry.commit();We have noticed this problem only now, because in our application (OVITO), scenes are typically smaller than 10,000 length units.
Metadata
Metadata
Assignees
Labels
No labels