Export volumes #58

Merged
Bogdan Nagirniak merged 10 commits from BLEN-384 into hydra-render 2023-07-04 09:57:33 +02:00
Collaborator

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

### 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
Georgiy Markelov self-assigned this 2023-06-26 18:31:26 +02:00
Brian Savery (AMD) was assigned by Georgiy Markelov 2023-06-26 18:31:26 +02:00
Vasyl Pidhirskyi was assigned by Georgiy Markelov 2023-06-26 18:31:26 +02:00
Bogdan Nagirniak was assigned by Georgiy Markelov 2023-06-26 18:31:26 +02:00
Georgiy Markelov added 8 commits 2023-06-26 18:31:48 +02:00
Brian Savery (AMD) approved these changes 2023-06-26 18:43:10 +02:00
Georgiy Markelov requested review from Vasyl Pidhirskyi 2023-06-26 18:44:31 +02:00
Vasyl Pidhirskyi reviewed 2023-06-30 09:32:08 +02:00
Vasyl Pidhirskyi left a comment
Collaborator

discussed offline

discussed offline
Bogdan Nagirniak requested changes 2023-07-03 12:28:27 +02:00
@ -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_

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

rename to `field_descriptors`
Georgiy Markelov added 1 commit 2023-07-03 16:09:20 +02:00
Bogdan Nagirniak approved these changes 2023-07-03 17:46:56 +02:00
Bogdan Nagirniak left a comment
Owner

Tested - works ok for Storm delegate. RPR delegate requires transform fix on HdRPR side.
Set log level 1 in VolumeData::remove()

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

log level 1 for remove
Georgiy Markelov added 1 commit 2023-07-04 09:07:54 +02:00
Bogdan Nagirniak merged commit c0dd92c641 into hydra-render 2023-07-04 09:57:33 +02:00
Bogdan Nagirniak referenced this issue from a commit 2023-07-04 09:57:34 +02:00
Sign in to join this conversation.
No Label
No Milestone
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#58
No description provided.