-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
render only foregound in Blender #37
Comments
I think you could modify the composition node in Blender to get the foreground only rendering from RGB_output_node.
|
Oops sorry I didn't notice this issue. If you want the foreground image with a shadow and transparent background, you need to first turn off the shadow catcher of the render layer:
change it to bpy.context.view_layer.cycles.use_pass_shadow_catcher = False Now To save the generated image, you need to connect current render node's Image socket
But a preferable way is creating another RGB_output_node for clearness. |
Let me know if you need more specific help. @bbzh |
Hi Yifan,
Thanks for the great code release. The paper shows the foreground-only rendering from Blender (see below), but the code only produces the final composed image. Would you please advise how to change the code to render the foreground only?
The text was updated successfully, but these errors were encountered: