NVIDIA / warp

A Python framework for high performance GPU simulation and graphics

Home Page:https://nvidia.github.io/warp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

render_points does not accept wp.array

jc211 opened this issue · comments

In the function render_points in OpenGLRenderer: np.array(points) does not work when points = state.particle_q. In other words when points is a wp.array. This error is raised:

RuntimeError("Item indexing is not supported on wp.array objects")

Hi @jc211,

Thank you for reporting this issue! We will have a fix for this in the next release.