jwatte DeleD PRO user
Joined: 26 Apr 2006 Posts: 513
|
Posted: Sat Sep 16, 2006 7:40 pm Post subject: Question about plug-in API |
|
|
OK, so it's getting annoying to read all that Pascal sample code.
Can someone summarize a few operations for me (and other plug-in writers) in this thread, and perhaps we can turn it into real documentation later?
1) If I want to create an entirely new shape, named "NewShape," using (existing) materials "Mat1" and "Mat2," say as a part of an importer, what do I do?
2) If I want to create a new material, named "NewMat," what do I do?
3) If I want to know what the index of the selected shape(s) are within the scene, what do I do?
4) If I want to replace a specific shape in the scene with a new shape, what do I do?
I don't necessarily need the actual data format documented (although that would be nice), but the high-level operations ("call the callback with arguments 12 for operation X and then 13,17 for operation Y") would be useful to know. |
|