Added instnace for vdb

This commit is contained in:
wikoreman 2018-09-13 16:05:00 +02:00
parent 559e910190
commit e9ec64b7ac

View 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