forked from blender/blender
Create possibility to provide render settings via BlenderSceneDelegate #41
No reviewers
Labels
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#41
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-349"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Hydra render addons could provide additional settings for
BlenderSceneDelegate
, like HdRPR could ask for directMaterialXFilename
.Technical steps
Engine
: addedEngine::set_sync_setting(), Engine::set_render_setting()
. Added corresponded functions topython.cc
andbpy_hydra.py
.BlenderSceneDelegate
:BlenderSceneDelegate::set_setting()
.MaterialData::init()
toexport_mtlx()
andwrite_material_network_map()
.Tested. Works fine.
@ -22,3 +22,3 @@
bpy_hydra.register_plugins(["/path/to/plugin")])
def get_delegate_settings(self, engine_type):
def get_sync_settings(self, engine_type):
Consider to add a note that these settings refer to keys that Hydra asks.
@ -22,3 +16,3 @@
private:
/* Singleton class instance */
using FinalEngine::FinalEngine;
Why did you move it here?
PreviewEngine
should be created viaPreviewEngine::create()
therefore constructor moved to private section.@ -74,3 +80,3 @@
pass
def get_delegate_settings(self, engine_type):
def get_sync_settings(self, engine_type):
We need explanations of how these methods should be used / overridden