pybullet-gym icon indicating copy to clipboard operation
pybullet-gym copied to clipboard

The bulit-in texture doesn't load correctly

Open iota11 opened this issue 5 years ago • 2 comments

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. Y7C003 ZSHF1R EV_JBGISQ 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?

iota11 avatar Jun 28 '20 08:06 iota11

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.

benelot avatar Jul 14 '20 11:07 benelot

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.

genericUsername5 avatar Jan 13 '21 08:01 genericUsername5