forked from blender/blender
Export volumes #58
No reviewers
Labels
No Label
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#58
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-384"
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
Add support for volumes export
Technical steps
Added new class
VolumeData
Note for reviewers
Use HdRPR with https://github.com/bnagirniak/RPRHydraRenderBlenderAddon/pull/21
discussed offline
@ -0,0 +57,4 @@
{
/* NOTE: Is it possible to manipulate a list of fields in Blender?
* Also something can happen to file.
* Probably we need to store a field list in class. */
Yes, move volume_field_descriptors to private field
VolumeData::field_descriptors_
@ -0,0 +120,4 @@
return ret;
}
pxr::HdVolumeFieldDescriptorVector VolumeData::volume_field_descriptors() const
rename to
field_descriptors
Tested - works ok for Storm delegate. RPR delegate requires transform fix on HdRPR side.
Set log level 1 in
VolumeData::remove()
@ -0,0 +71,4 @@
void VolumeData::remove()
{
for (auto &desc : field_descriptors_) {
CLOG_INFO(LOG_RENDER_HYDRA_SCENE, 2, "%s", desc.fieldId.GetText());
log level 1 for remove