You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the OpenGLRenderer with example_rigid_soft_contact.py the following error is thrown:
File "...\warp\examples\sim\example_rigid_soft_contact.py", line 106, in render
self.renderer.end_frame()
File "...\warp\render\render_opengl.py", line 1858, in end_frame
self.allocate_shape_instances()
File "...\warp\render\render_opengl.py", line 2381, in allocate_shape_instances
self.update_instance_colors()
File "...\warp\render\render_opengl.py", line 2331, in update_instance_colors
colors1 = np.array(colors1, dtype=np.float32)
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (3,) + inhomogeneous part.
I got similar behaviour when modifying the example_mesh.py example to use the OpenGL renderer. Also, when rendering the .usd with the USD renderer in blender it seems that the particles' positions are not changing on every frame, though that could be specific to blender.
Also, when rendering the .usd with the USD renderer in blender it seems that the particles' positions are not changing on every frame, though that could be specific to blender.
Bug Description
When using the
OpenGLRenderer
withexample_rigid_soft_contact.py
the following error is thrown:Here is the example code for completeness:
System Information
No response
The text was updated successfully, but these errors were encountered: