owl-project / NVISII

Apache License 2.0
319 stars 27 forks source link

texture not showing in render #139

Closed seann999 closed 2 years ago

seann999 commented 2 years ago

By modifying the urdf example, I'm trying to import an object from the YCB dataset but the texture doesn't seem to be showing up in the render. The mustard is white in the render while it is properly textured in the PyBullet GUI:

Screenshot from 2021-12-09 05-40-11

I'm using 1.1.72. Here's the code with the model: test.zip

seann999 commented 2 years ago

Ok, I figured it out. Turns out there was a useless space in the MTL file, after map_Kd texture_map.png (so map_Kd texture_map.png), and that works for PyBullet but doesn't for NVISII.