next up previous contents
Next: 7. Scene File Grammar Up: 6. Command Line Options Previous: 6.8 Create Shader Skeletons:

6.9 Convert Scenes to C: mitoapi

The API call generator utility mitoapi is started as

        mitoapi  scenefile

This utility is intended for writers of geometry shaders, and for integrators of the mental ray library into client applications. It reads a scene file and generates the corresponding C API calls that do the same thing. The resulting source code is an approximation that can not be compiled directly and needs manual rearrangement. In particular, local variables are not distinguished and are listed in the order of recursive descent during scene parsing. However, the resulting source code is a good starting point for implementation. There are no options.


Copyright 2002 by mental images