Open bbbbubble opened 1 month ago
@bbbbubble
No one can answer this question? It seems like a very basic problem...
The feature you request is currently not part of blenderproc. Feel free to implement it and submit a PR. It should work similar to the old SegMapRenderer (https://github.com/DLR-RM/BlenderProc/blob/main/blenderproc/python/renderer/SegMapRendererUtility.py#L269), but instead of using a single color per object, you would need to connect the roughness texture with the emission shader.
PS: Please use this issue for further comments
@bbbbubble
No one can answer this question? It seems like a very basic problem...
The feature you request is currently not part of blenderproc. Feel free to implement it and submit a PR. It should work similar to the old SegMapRenderer (https://github.com/DLR-RM/BlenderProc/blob/main/blenderproc/python/renderer/SegMapRendererUtility.py#L269), but instead of using a single color per object, you would need to connect the roughness texture with the emission shader.
PS: Please use this issue for further comments
Thank you! I have made it work. ^^
@bbbbubble
Hi! Could you share the code of rendering roughness images here?
Describe your feature request
As dicussed in #1105 , with this piece of code, we can output roughness/metallic images with default values of roughness/metallic.
However, if we have objects with roughness/metallic textures, the results are wrong: Any solutions? Thanks!
Describe a possible solution
No response