Community
Arnold for Katana Forum
Rendering with Arnold in Katana using the KtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the correct VDB workflow from Houdini to Katana (KtoA)?

8 REPLIES 8
Reply
Message 1 of 9
ben.fischler
3366 Views, 8 Replies

What is the correct VDB workflow from Houdini to Katana (KtoA)?

How do I take a VDB file from Houdini and render it with Arnold (KtoA) in Katana? @Mike Farnsworth ?

Labels (4)
8 REPLIES 8
Message 2 of 9

There are two kinds of VDBs that KtoA can handle: volume (density) and surface (levelset/implicit) VDBs. Once you have done your simulation or surfacing in Houdini and have exported your .vdb file, you should note which channels you have output into the file (such as field, density, velocity, etc).

Inside Katana/KtoA there are three steps you need to take:

  1. Create an ArnoldOpenVDBVolume or ArnoldOpenVDBSurface node in the node graph. Set the filename to your file (or use your asset system to point to it). Add the name of at least one grid from the file you will be using. In the case of the a surface, make sure the field channel is set to the main levelset field. Note (or change) the location in the scenegraph that will have the VDB.
  2. Create a material, either via the Material node or by creating a shader network through the NetworkMaterial node with an ArnoldSurfaceShader port. The main shader should be a standard_volume shader in the case of a volume, and another shader (such as standard_surface) in the case of the surface/implicit data. Note (or change) the material location.
  3. Assign the material to the vdb scenegraph location with a MaterialAssign node.

There are additional fields on the OpenVDB nodes that are of interest, for example volume_padding to give some slack if you use positional displacement (such as noise) in your volume shader network to add detail to the volume. You can control the time/quality tradeoff with the step_scale parameter, and you can control velocity in various ways. Usually Arnold will automatically detect the velocity grid in the file, but occasionally you may need to explicitly add the velocity channel(s) to get motion blur.

Message 3 of 9

hello i have the issue where i "can not get bounds for the file" when trying to read VDB sequence

I tryed ### and %03d since i have a padding of 3 and none of this is working i only can read a specific frame any help ?

Message 4 of 9
Anonymous
in reply to: ben.fischler

The only error I is the bbox, so it not showing in the viewport, the rest work fine

720-vdb-katoa.jpg

Message 5 of 9

Is that not an issue ? cause when you type that 'pathsmoke.'+ str(int(frame)) + '.vdb' as an expression it finds the BBox and everything looks fine but I don't understand why it does not come as default. thx for the help

Message 6 of 9

This has been fixed in the latest version of KtoA; it now will take an actual asset if you have an asset system enabled in Katana, and supports file sequences.

Message 7 of 9

File sequences (as selection from an asset system) has been added to KtoA as of version 2.0.7.0, so now you can do filenames like: pathsmoke.###.vdb or pathsmoke.%04d.vdb and it should substitute the frame number accordingly.

Message 8 of 9
ggarciamuriel
in reply to: Anonymous

Hello, could you please upload this file or some example? I have your same problem, but in my case there appear white sprites in my viewer instead of the smoke, and I don't know how to solve it.😓humo.katana_ - Katana 5.0v3 16_10_2022 20_19_30.png

Message 9 of 9

Hi, @ggarciamuriel Could you please check your material assignment and make sure it's set to use ArnoldVolumeShader? 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report