IFDArchives

From Odwiki

Jump to: navigation, search

Since the ifd language is a sub-set of the hscript scripting language, it's possible to use the source command to include other files into the IFD.

Geometry is specified using the ray_detail command which has the following usage:

 ray_detail [options] geometry_file

where the geometry_file is any geometry file which Houdini can read. Typically, the geometry is sent "inline" from Houdini to mantra using the stdin.bgeo format. However, any file the FileSOP in Houdini can read can be used instead.

Note: When sourcing a script, reading geometry from stdin doesn't work.

Since the ifd language is a sub-set of the HScript scripting language, there are other possibilities that aren't used by Houdini. For example, any commands will expand variables and allow expressions to be evaluated using the back-quote (`) mechanism. As well, it's possible to code for loops, foreach loops, if/endif blocks etc.

See Also

© 2009 od[force].net | advertise