Johan Borgström

Petfactory

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

VDB to Unreal HeterogeneousVolume placement 2024年9月6日11:20

Hi ivy1996!

It would be interesting to hear more about this solution. Unfortunately the video was private/removed

I did some further testing of both static and animating vdbs with a changing bbox.
I used the following transform settings in unreal and it seems like it works:

Location x 0
Location y 0
Location z 0

rotation x 90
rotation x 0
rotation x 0

scale x 100
scale y -100
scale z 100

Click the reset Volume Resolution (of the heterogeneous volume actor) to make sure it fits the imported vdb bounds.
Probably only need to do this if you have reimported the vdb and the bounds have changed.

BR
Johan

Solaris does not recognize Python-made Karma materials 2024年9月2日6:38

You could also us the _setupMtlXBuilderSubnet function from voptoolutils. set the subnet_node to None and give it a destination_node path.

import voptoolutils

# specify the matnet you want to create the karma builder node in
dst_node = hou.node('/obj/geo1/lopnet1/matnet1')

subnet_node = None
name = 'karmamaterial'
mask = voptoolutils.KARMAMTLX_TAB_MASK
folder_label= 'Karma Material Builder'
render_context = "kma"

mat_builder = voptoolutils._setupMtlXBuilderSubnet(subnet_node=subnet_node, destination_node=dst_node, name=name, mask=mask, folder_label=folder_label, render_context=render_context)

Using attribute to drive parameters 2024年4月15日3:09

Hi, just stumbled on this as well. Old thread but can be good to write anyways.

Just make sure that the attribute "pscale" exists on the points of the incoming curve. You do not need to enter anything in the width parameter of the sweep node. I guess pscale works as a multiplier of the width parm value.