Skip to content
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

Running blender_render.py #5

Closed
samgr55 opened this issue Feb 24, 2022 · 1 comment
Closed

Running blender_render.py #5

samgr55 opened this issue Feb 24, 2022 · 1 comment

Comments

@samgr55
Copy link

samgr55 commented Feb 24, 2022

First of all I'd like to thank you for making this phenomenal experience and make it available for testing.
Running the nvdiffrast can be really straight forward and easy for rendering but I'm having some understanding problem with rendering the code inside the blender so please bear with me :)

How do I run the rendering inside the blender? Is it by script editor? [I tried it but it gives me errors]
Is it by running it as command ?

I just need to understand the methodology of rendering that in blender since it's a utility and not included in the Tutorial.

Thank you so much.

@bathal1
Copy link
Collaborator

bathal1 commented Feb 25, 2022

Hi,
The blender_render.py script is intended to be run gfrom the command line like so :
blender -b scene.blend --python path/to/blender_render.py -- [args]

In practice, this command call is constructed in the function blender_render defined in scripts/preamble.py. This function is called from the Jupyter Notebooks used to generate the figures.

@samgr55 samgr55 closed this as completed Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants