Skip to content

procedural kitchens exported to urdf do not have textures? #10

Open
@RussTedrake

Description

@RussTedrake
from scene_synthesizer.procedural_scenes import kitchen
scene = kitchen(seed=None)
scene.export('kitchen.urdf')

Gives me a wonderful array of kitchen environment geometries. Awesome!

It looks like all of the resulting assets have a simple default gray color, e.g.

    <visual name="refrigerator_shelf_4">
      <geometry>
        <box size="0.6223100385705346 0.5043856382790842 0.01"/>
      </geometry>
      <origin xyz="0.0 0.05 0.07500000000000001" rpy="0.0 -0.0 0.0"/>
      <material name="refrigerator_shelf_4_main_color">
        <color rgba="0.4 0.4 0.4 1.0"/>
      </material>

(the objs that get generated also don't have any materials specified)

I've seen textured scenes in your paper, e.g.:
Image

Based on my first read of the code, I don't see those textures being created/attached during the scene creation anywhere from the kitchen gen entry point. Might you be able to advise me on how I can get them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions