LogicReinc / LogicReinc.BlendFarm

A stand-alone Blender Network Renderer
GNU General Public License v3.0
414 stars 35 forks source link

Import settings from current project into BlendFarm #61

Closed amSnoop closed 11 months ago

amSnoop commented 1 year ago

Note: I'm by no means a professional, but I really wanted this functionality for myself and figured other people might want it to. If the code is too messy or the solution is too "hacky," then no hard feelings and I'll just keep it on my fork for whoever stumbles upon it.


This feature update adds the ability to upload the active project's settings into blendfarm so that you don't have to manually set them each time you load a project or restart the app. Works best if the client is running on a computer that has a render node as well. Functions by sending the file to one node and having it open blender and run a script to extract the settings from it.

Settings that can be imported include:

That last option creates a dropdown menu that indicates which camera is currently active in the scene, but also allows you to choose any other camera to render with instead. This can enable you to use all of the render farm's power to see what the scene will look like from various angles.

Current Limitations:

To be improved:

LogicReinc commented 1 year ago

Hey @amSnoop , At a glance it looks fine (besides some files that are not supposed to be commited). However it has a lot of overlap with a system I was already planning on making soon. So I'll most likely just make sure it has feature parity with the things ya added as it doesn't add much work. Soon I plan on integrating Blender parsing for resource dependencies which effectively requires similar logic but a bit more complicated.

Can't say when I'll be creating that version, since its hard finding a free weekend. But I hope to do it at least this month.

For now Ill keep your PR open if anyone wants to find it, and close it when feature parity is reached.

LogicReinc commented 11 months ago

Most of these have been implemented in V1.1.5, due to business trip this took longer than expected. If you are missing anything else let me know, creating an issue or something.