mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Added instnace for vdb
This commit is contained in:
parent
559e910190
commit
e9ec64b7ac
1 changed files with 23 additions and 0 deletions
23
colorbleed/plugins/houdini/create/create_vbd_cache.py
Normal file
23
colorbleed/plugins/houdini/create/create_vbd_cache.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
from collections import OrderedDict
|
||||
|
||||
from avalon import houdini
|
||||
|
||||
|
||||
class CreateVDBCache(houdini.Creator):
|
||||
"""Alembic pointcache for animated data"""
|
||||
|
||||
name = "vbdcache"
|
||||
label = "VDB Cache"
|
||||
family = "colorbleed.vbdcache"
|
||||
icon = "cloud"
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(CreateVDBCache, self).__init__(*args, **kwargs)
|
||||
|
||||
# create an ordered dict with the existing data first
|
||||
data = OrderedDict(**self.data)
|
||||
|
||||
# Set node type to create for output
|
||||
data["node_type"] = "geometry"
|
||||
|
||||
self.data = data
|
||||
Loading…
Add table
Add a link
Reference in a new issue