Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The bulit-in texture doesn't load correctly #53

Open
iota11 opened this issue Jun 28, 2020 · 2 comments
Open

The bulit-in texture doesn't load correctly #53

iota11 opened this issue Jun 28, 2020 · 2 comments

Comments

@iota11
Copy link

iota11 commented Jun 28, 2020

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?

@benelot
Copy link
Owner

benelot commented Jul 14, 2020

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.

@genericUsername5
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants