pybullet-gym
pybullet-gym copied to clipboard
The bulit-in texture doesn't load correctly
Hi all:
I just switch my system from ubuntu to windows, and I found that all of the built-in textures can't be loaded. I just run the demo scene in pybullet gym official examples, and clearly the "checker" wasn't loaded correctly.
I checked the scene file in pybulletgym/envs/asset/mjcf/ground.xml, where it describes
<texture builtin="checker" height="100" name="texplane" rgb1="0 0 0" rgb2="0.8 0.8 0.8" type="2d" width="100"/>
So, am I seeking the wrong file, or are there any more packages needed to install to load the built-in textures?
So it works on linux but not on windows? I think the textures are certainly implemented on the pybullet/bullet3 side, so that should certainly work. I would check if it works on the pybullet examples themselves, and if not, open an issue there. I rely on the underlying pybullet which loads textures and builds the simulations from the xml files.
I experience the same issue.
The pybullet examples from pybullet/bullet3 examples work for me, i.e. if I run:
python3 -m pybullet_envs.examples.enjoy_TF_AntBulletEnv_v0_2017may it will render the checker background correctly.
I have tried this with python 3.5 and python 3.8 on Ubuntu 20.04 with the same result.