FilenameSyntax

From Odwiki

Jump to: navigation, search

Contents

File Syntax Throughout Houdini

Saving in different formats

Houdini will recognize a FileFormat by its extension and load or save geometry, images and data depending on the extension. For example, to save an image as a TIFF format, merely end the file with ".tif". Same with geometry - to save geometry in a Wavefront OBJ format, just end the filename in ".obj". (See ExportingGeometry for more info)

Sequences

To load or save sequences, you need to specify where the frame number should go, and to how many spaces it's zero-padded. The special variable $F represents the frame number and, if you follow it with a number, it can pad the number to the appropriate number of zeros.

$F syntax

 C:/TEMP/myfile.$F.pic
 C:/TEMP/myfile.1.pic
 C:/TEMP/myfile.2.pic
 ...

Zero padding syntax:

 C:/TEMP/myfile.$F4.pic
 C:/TEMP/myfile.0001.pic
 C:/TEMP/myfile.0002.pic
 ...

For offsetting the frame number, you can use the padzero() expression:

 C:/TEMP/myfile.`padzero(4,$F+10)`.pic
 C:/TEMP/myfile.0011.pic
 C:/TEMP/myfile.0012.pic
 ...

Network Paths

Windows

Houdini can use mounted network drives (via NFS/SAMBA) and also supports UNC paths (paths like "//myserver/textures/wood.rat").

© 2009 od[force].net | advertise