Skip to content

Commit

Permalink
Merge branch 'develop' into iss_356_bop_update
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSmeyer committed Dec 7, 2021
2 parents 1d0e1ec + 57146b3 commit 050d7a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blenderproc/scripts/visHdf5Files.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def vis_file(path, keys_to_visualize=None, rgb_keys=None, flow_keys=None, segmap

# Select only a subset of keys if args.keys is given
if keys_to_visualize is not None:
keys = [key for key in data.keys() if key in keys_to_visualize]
keys = [key for key in data.keys() if key_matches(key, keys_to_visualize)]
else:
keys = [key for key in data.keys()]

Expand Down
4 changes: 2 additions & 2 deletions examples/basics/material_manipulation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ In this example we demonstrate how to select materials in the scene using `gette
Execute this in the BlenderProc main directory:

```
blenderproc run examples/basics/material_manipulation/main.py examples/basics/material_manipulation/scene.obj examples/basics/material_manipulation examples/basics/material_manipulation/output
blenderproc run examples/basics/material_manipulation/main.py examples/basics/material_manipulation/scene.obj images examples/basics/material_manipulation/output
```

* `examples/basics/material_manipulation/main.py`: path to the python file.
* `examples/basics/material_manipulation/scene.obj`: path to the object file with the basic scene.
* `examples/basics/material_manipulation`: path to a folder with .jpg textures to be used in the sampling process.
* `images`: path to a folder with .jpg textures to be used in the sampling process.
* `examples/basics/material_manipulation/output`: path to the output directory.

## Visualization
Expand Down

0 comments on commit 050d7a1

Please sign in to comment.