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 © 1986-2010 by mental images GmbH