Skip to content

Commit

Permalink
Merge branch 'no-render' into fetch-no-render
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge-a-mendez committed Nov 29, 2023
2 parents 9356cd7 + fbf4713 commit f94d4d6
Show file tree
Hide file tree
Showing 6 changed files with 1,191 additions and 815 deletions.
12 changes: 6 additions & 6 deletions igibson/objects/particles.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,12 +433,12 @@ def _load_particle(self, particle):
# First load the particle normally.
body_id = super(WaterStream, self)._load_particle(particle)

# Set renderer instance settings on the particles.
instances = self._simulator.renderer.get_instances()
for instance in instances:
if instance.pybullet_uuid == body_id:
instance.roughness = 0
instance.metalness = 1
# # Set renderer instance settings on the particles.
# instances = self._simulator.renderer.get_instances()
# for instance in instances:
# if instance.pybullet_uuid == body_id:
# instance.roughness = 0
# instance.metalness = 1

return body_id

Expand Down
Loading

0 comments on commit f94d4d6

Please sign in to comment.