THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/06/2006 at 00:26, xxxxxxxx wrote:
Cinema 4D Version: 9.6
Platform: Windows ;
Language(s) : C++ ;
I'm a french developper currently working on the creation of an automatic UV unwrapper for C4D ...
I never used C4D and is SDK before, and i'm looking for some help ....
So, mainly, i have two questions:
1. Where do you think a can put such a plugin ( the unwrapper) ??? as a C4D Tag ???
2. It's pretty hard for me to begin the development of such a plug-in 'cause i never use the sdk....
I have already looked into the sdk sample provided with the C4D Demo, and for example, i do not know where i can find help about the fonctions:
PluginStart(), PluginMessage(), PluginEnd() .....
If anybody can help me, or can give me some hint about how to begin my development ...
Thanks a lot !
On 19/06/2006 at 02:25, xxxxxxxx wrote:
1. All depends. Read over the documentation to get an idea of what type of plugins are available and might suit your requirements. There are many different plugin types.
2. You can get the documentation at this link:
There are HTML and Windows Help formats available.
On 19/06/2006 at 02:27, xxxxxxxx wrote:
For example, i need to create a tool which can help the user to make edges selection:
The user select 2 edges in the main UI dans the plug automaticly compute the shortest path between those two edges...
Which plug-in type can suit this need ??
On 19/06/2006 at 02:29, xxxxxxxx wrote:
tool plugin? look at the examples in the SDK (there are 2 examples, one even dealing with edges!)
On 06/07/2006 at 12:32, xxxxxxxx wrote:
1. Try using the ToolData class instead of the CommandData class. Like 3D Designer points out there is an example in the SDK, edgecuttool.cpp, that is very similar to what you're trying to do.
2. You should download the C++ SDK documentation if you haven't already. It will explain what PluginStart() etc. do, though for the overview it's sometimes best to just check out the examples.
For access to advanced BodyPaint UV functionality, like selections, be sure to check out c4d_painter.h as well. (The plugin will still be in C4D, even though you use BodyPaint functions.)