Export volumes from object modifier (quick effect) #62

Merged
Bogdan Nagirniak merged 28 commits from BLEN-448 into hydra-render 2023-07-20 23:49:25 +02:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit 83d68ba112 - Show all commits

View File

@ -26,8 +26,8 @@ const Set<pxr::TfToken> supported_grids = {pxr::grid_tokens_->density,
pxr::grid_tokens_->velocity};
VolumeModifierData::VolumeModifierData(BlenderSceneDelegate *scene_delegate,
Object *object,
pxr::SdfPath const &prim_id)
Object *object,
pxr::SdfPath const &prim_id)
: VolumeData(scene_delegate, object, prim_id)
{
}

View File

@ -12,7 +12,9 @@ namespace blender::render::hydra {
class VolumeModifierData : public VolumeData {
public:
VolumeModifierData(BlenderSceneDelegate *scene_delegate, Object *object, pxr::SdfPath const &prim_id);
VolumeModifierData(BlenderSceneDelegate *scene_delegate,
Object *object,
pxr::SdfPath const &prim_id);
static bool is_volume_modifier(Object *object);
void init() override;
@ -21,7 +23,6 @@ class VolumeModifierData : public VolumeData {
void write_transform() override;
std::string get_cached_file_path(std::string directory, int frame);
};
} // namespace blender::render::hydra