forked from blender/blender
Add possibility to render USD file for testing purposes #49
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#49
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-428"
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
For testing purposes it'll be useful to have possibility to render USD stage.
Technical steps
usd_delegate_ (class UsdImagingDelegate)
andsync_usd()
toclass Engine
engine_sync_usd_func()
inpython.cc
Notes
Can be tested with Storm delegate BogdanNagirniak/blender-addons#14
The point was to use the blender USD export and render that file (exported to memory) This does that
Here in C++ part I only extended
_bpy_hydra
python API to have possibility to send USD stage to render. Export scene to USD or use USD file can be done on addon python part.There are objects from blender scene (not from usd file).
Render is not updated on UI update (change file, checkbox).
Viewport render crashes with hdrpr.
Yes, I decided not to complicate task, because this is for testing and development purposes. So, USD is added to current blender scene.
This is fixed on addon side
25a463bb74
Works fine