forked from blender/blender
Fix rendering of Final render for Storm delegate #61
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#61
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-437"
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
Final render for Storm delegate returns empty image.
Technical steps
bpy_hydra.py
that ifbl_use_gpu_context
is enabled thenupdate()
should be empty and engine cretaion and syncing has to moved torender()
. Corresponded PR for Storm Hydra addon BogdanNagirniak/blender-addons#17.FinalEngineGL -> FinalEngineGPU
as more related.FinalEngineGPU::render()
to works with Storm delegate.@ -92,6 +92,9 @@ class HydraRenderEngine(bpy.types.RenderEngine):
# final render
def update(self, data, depsgraph):
# Note: if bl_use_gpu_context = True, leave this function empty and move engine creation
is bl_use_gpu_context is true why not just automatically use render()
Then say something here like "if use gpu context is true, this function is ignored and render() is used"
see comment
works fine. comment in code
@ -91,1 +91,4 @@
pxr::HdCullStyle MaterialData::cull_style() const
{
return double_sided ? pxr::HdCullStyle::HdCullStyleNothing : pxr::HdCullStyle::HdCullStyleBack;
Check please value with
mesh::cull_style()