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
I'm currently toying around with the heigthfield.py example for PyBullet since I want to use it for a project. But there seems to be a problem with the rendering of the heightfield.
If you initialize the heightfield with only 0.0 values ( simply swap the variable heightPerturbationRange on line 28 for a 0.0 ), and you enable updateHeightField, such that the heightfield gets changed each timestep, you will find that the heightfield does not update visually anymore. If you turn on wireframe view though, everything looks fine. The objects in the example move according to the updated heightmap, but it doesn't get rendered for the camera.
Is there anything I'm missing here or is this a bug? Is there any way to fix or circumvent it? Thanks !
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I'm currently toying around with the heigthfield.py example for PyBullet since I want to use it for a project. But there seems to be a problem with the rendering of the heightfield.
If you initialize the heightfield with only 0.0 values ( simply swap the variable heightPerturbationRange on line 28 for a 0.0 ), and you enable updateHeightField, such that the heightfield gets changed each timestep, you will find that the heightfield does not update visually anymore. If you turn on wireframe view though, everything looks fine. The objects in the example move according to the updated heightmap, but it doesn't get rendered for the camera.
Is there anything I'm missing here or is this a bug? Is there any way to fix or circumvent it? Thanks !
Beta Was this translation helpful? Give feedback.
All reactions