Jim Helman (jimh++at++surreal)
Thu, 23 Feb 95 18:17:20 -0800
The API part is easy, since 90% or more of the C++
API is just what you'd expect. Performer's API is
sufficiently regular that most of the CAPI is now
automatically generated from the C++ API.
The basic rules for translating a Performer C
binding into the corresponding C++ binding are to
add the "set" that is implicit in the C API, and to
drop the class name present in the C API.
CAPI C++
pfMtlColor(mtl, token, color) mtl->setColor(token, color)
pfGetMtlColor(mtl, token) mtl->getColor(token)
pfApplyMtl(mtl) mtl->apply()
As for other design issues, we're adding some new things
for type extensibility and such, but for performance
reasons, we're staying away from any radical redesign of
our traversal methodology.
rgds,
-jim helman
jimh++at++surreal.asd.sgi.com
415/390-1151
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:00 PDT