-
Notifications
You must be signed in to change notification settings - Fork 349
Closed
Labels
bugSomething isn't workingSomething isn't workingrenderWarp renderer for viz and debugWarp renderer for viz and debug
Milestone
Description
Bug Description
When using wp.render.UsdRenderer.render_points
for multiple points, providing an array of colors
does not result in different colors for different points for me.
My code looks is more or less the following:
points = get_points() # Nx3 torch tensor
colors = torch.stack([torch.arange(points.shape[0]) / points.shape[0]] * 3, dim=-1)
renderer.render_points("pointcloud", points.cpu().numpy(), radius=0.1, colors=colors.cpu().numpy().tolist())
However, instead of rendering each point in the corresponding color, all points appear to be rendered in the first color (colors[0]
). Rendering the points individually in a for-loop resullts in correct rendering, but is incredibly slow for a large number of points.
Is there a way to use the render_points
method with varying colors?
Additional information:
- A while ago, colors where not displayed in IsaacSim at all [BUG] Colors not showing in Isaacsim #480, which has since been resolved. I don't know if there is a connection.
- I am saving stages as
.usda
asusd
in the most recent warp version + IsaacSim seems to be currently not compatible ( [QUESTION] Dependency Version Specification #462 )
System Information
Warp v.1.7.0
Isaacsim 4.5
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingrenderWarp renderer for viz and debugWarp renderer for viz and debug