Various Python integration changes #77

Closed
Brecht Van Lommel wants to merge 6 commits from brecht:hydra-python-changes into hydra-render

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Collaborator

See individual commits for details.

See individual commits for details.
Brecht Van Lommel added 5 commits 2023-07-25 19:59:28 +02:00
1f9d54dba1 Make update happen at appropriate time, by binding GPU context
Otherwise the UI draw lock functionality does not work. Also renames
engine_sync to engine_update for consistency.
65ac145081 Initialize PXR_MTLX_STDLIB_SEARCH_PATHS in same place as MATERIALX_SEARCH_PATH
More consistent, and avoids paths being added multiple times if multiple
hydra render engines are registered.
47dfb1827a Move HydraRenderEngine to bpy.types, update Python API docs
* Makes it more consistent with other types that can be subclassed.
* Give bl_ prefix to delegate_id.
* Lazily import _bpy_hydra.
* Tweaks to API docs example.
Author
Collaborator
Note this needs BogdanNagirniak/blender-addons#24.
Brian Savery (AMD) approved these changes 2023-07-25 20:51:34 +02:00
Collaborator

I have missing viewport render button and final render also doesn't work (no reaction from Blender).

I have missing viewport render button and final render also doesn't work (no reaction from Blender).
Brecht Van Lommel added 1 commit 2023-07-26 15:45:30 +02:00
Author
Collaborator

Final render should work now. I added a temporary commit that will not be needed when this gets committed after #76, which removes the need for context there.

I didn't see a missing viewport render button, which one exactly?

Final render should work now. I added a temporary commit that will not be needed when this gets committed after #76, which removes the need for context there. I didn't see a missing viewport render button, which one exactly?
Collaborator

I rechecked and the button is on its place. Sorry, seems like it was issue on my side. Everything works fine now.

I rechecked and the button is on its place. Sorry, seems like it was issue on my side. Everything works fine now.
Bogdan Nagirniak approved these changes 2023-07-27 11:17:25 +02:00
Bogdan Nagirniak left a comment
Owner

Tested - works good. Created corresponded PR for RPR delegate https://github.com/bnagirniak/RPRHydraRenderBlenderAddon/pull/23

Tested - works good. Created corresponded PR for RPR delegate https://github.com/bnagirniak/RPRHydraRenderBlenderAddon/pull/23
Bogdan Nagirniak requested review from Georgiy Markelov 2023-07-27 11:17:39 +02:00
Bogdan Nagirniak requested review from Vasyl Pidhirskyi 2023-07-27 11:17:40 +02:00
Author
Collaborator

Merged manually as individual commits.

Merged manually as individual commits.

Pull request closed

Sign in to join this conversation.
No Label
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: BogdanNagirniak/blender#77
No description provided.