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

Headless Rendering Support #258

Closed
wants to merge 2 commits into from
Closed

Headless Rendering Support #258

wants to merge 2 commits into from

Conversation

BradyAJohnston
Copy link
Owner

Lots of potential for better supporting headless rendering via python scripting.

Blender is now installable via pip, so Molecular Nodes could also be made to be installable as a pip package.

To make it feasible for working with, the creation of a number of convenience functions for dealing with the at times very finnicky Python API of Blender, to make it only a couple of lines to get a rendered image or animation. No idea how it might work dealing with the node trees, might be best to package a bunch of pre-made presets with the addon that can be used more easily with the API.

Todos:

  • Initla test with headless rendering
  • Controls for dealing with camera
  • Controls for dealing with protein styling
  • Document dependencies in .toml to make installable via pip better

image

@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.13 ⚠️

Comparison is base (9eef1ea) 53.71% compared to head (2e9b050) 53.59%.

❗ Current head 2e9b050 differs from pull request most recent head bb18cd5. Consider uploading reports for the commit bb18cd5 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #258      +/-   ##
==========================================
- Coverage   53.71%   53.59%   -0.13%     
==========================================
  Files          15       16       +1     
  Lines        1949     1961      +12     
==========================================
+ Hits         1047     1051       +4     
- Misses        902      910       +8     
Impacted Files Coverage Δ
MolecularNodes/render.py 33.33% <33.33%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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

Successfully merging this pull request may close these issues.

None yet

1 participant