Skip to content

Commit

Permalink
Fixed textures for Pick-Place can and cereal box (ARISE-Initiative#288)
Browse files Browse the repository at this point in the history
* adding textures and msh files

* fixing cereal, bread, and can textures

Co-authored-by: awesome-aj0123 <abhishekjoshinj@gmail.com>
  • Loading branch information
yukezhu and abhihjoshi committed Jan 21, 2022
1 parent 4478bb7 commit b76c1a2
Show file tree
Hide file tree
Showing 21 changed files with 2,747 additions and 2,680 deletions.
4 changes: 2 additions & 2 deletions robosuite/models/assets/objects/can.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<mujoco model="can">
<asset>
<mesh file="meshes/can.stl" name="can_mesh"/>
<texture file="../textures/can.png" name="tex-can"/>
<mesh file="meshes/can.msh" name="can_mesh"/>
<texture file="../textures/soda.png" name="tex-can" type="2d"/>
<material name="coke" reflectance="0.7" texrepeat="5 5" texture="tex-can" texuniform="true"/>
</asset>
<worldbody>
Expand Down
4 changes: 2 additions & 2 deletions robosuite/models/assets/objects/cereal.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<mujoco model="cereal">
<asset>
<mesh file="meshes/cereal.stl" name="cereal_mesh"/>
<texture type="cube" file="../textures/cereal.png" rgb1="1 1 1" name="tex-cereal"/>
<mesh file="meshes/cereal.msh" name="cereal_mesh"/>
<texture type="2d" file="../textures/cereal.png" rgb1="1 1 1" name="tex-cereal"/>
<material name="cereal" reflectance="0.5" texrepeat="1 1" texture="tex-cereal" texuniform="false"/>
</asset>
<worldbody>
Expand Down
2 changes: 1 addition & 1 deletion robosuite/models/assets/objects/lemon.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<mujoco model="lemon">
<asset>
<mesh file="meshes/lemon.stl" name="lemon_mesh" scale="1.5 1 1"/>
<mesh file="meshes/lemon.msh" name="lemon_mesh" scale="1.5 1 1"/>
<texture file="../textures/lemon.png" type="2d" name="tex-lemon"/>
<material name="lemon" reflectance="0.7" texrepeat="60 50" texture="tex-lemon" texuniform="true"/>
</asset>
Expand Down
Binary file added robosuite/models/assets/objects/meshes/bottle.msh
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion robosuite/models/assets/objects/meshes/bread.mtl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Blender MTL File: 'None'
# Material Count: 1

newmtl Material.002
newmtl Material.007
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Expand Down
Loading

0 comments on commit b76c1a2

Please sign in to comment.