[SESI logo]

Houdini Development Toolkit - Version 6.5

Side Effects Software Inc. 2004

Clip Library

Loading and Saving Clips

These methods allow for input and output of clip files. Each returns 0 if successful and negative if unsuccessful.

  • int save(ostream &os, int binary) const
    Save the clip to the specified output stream in ascii (binary = 0) or binary (binary = 1) format.

  • int save(const char *name) const
    Save the clip to the specified name. The extension is used to determine the data format and binary/ascii setting. The following reserved names are also accepted: "stdout.clip" (saves as ascii), "stdout.bclip" (saves as binary), and "stdout" (defaults to ascii).

  • int load(istream &is, int binary, const char *path=0)
    Load the clip from the specified input stream in ascii (binary = 0) or binary (binary = 1) format.

  • int load(const char *name)
    Load the clip from the specified name. The extension is used to determine the data format and binary/ascii setting. The following reserved names are also accepted: "stdin.clip" (loads as ascii), "stdin.bclip" (loads as binary), and "stdin" (defaults to ascii).


  • Table of Contents
    Operators | Surface Operations | Particle Operations | Composite Operators | Channel Operators
    Material & Texture | Objects | Command and Expression | Render Output |
    Mantra Shaders | Utility Classes | Geometry Library | Image Library | Clip Library
    Customizing UI | Questions & Answers

    Copyright © 2004 Side Effects Software Inc.
    477 Richmond Street West, Toronto, Ontario, Canada M5V 3E7