On 20/09/2015 at 06:58, xxxxxxxx wrote:
Cinema 4D Version: R17
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
When you add a Correction Deformmer from program Deformmer it does not function.
What do I do if I want to function normally.
if(!defo) return false;
doc->InsertObject(defo, NULL, NULL);
On 20/09/2015 at 10:04, xxxxxxxx wrote:
1. The Correction Deformer allows modifications on the deformed points of a deformed object.
2. In order to work, it must be added as a child of the deformed object (below other deformers for point editing).
3. After inserting something into the document, you should send an update message and add an event:
This allows the object and document to update their information.
All deformers work on other objects by being added as children of the object to be deformed.
On 20/09/2015 at 19:05, xxxxxxxx wrote:
Thank you for letting me know.
However, it seems can not be adjusted even if the deformers that was generated by the program that added the code that you taught me a child of the polygon object.
Do not tell your code if possible?
On 21/09/2015 at 02:11, xxxxxxxx wrote:
I'm afraid I don't understand what you are saying. What exactly is your question?
On 21/09/2015 at 08:21, xxxxxxxx wrote:
English I'm sorry, not be explained well because it can not be.
If you generate a Correction Deformmer by adding taught code I tried to question because it could not be edited in the polygon mode.
I would like to consider the outside of the method.
The answer to the person who I am very grateful.
Thank you very much.
BaseDocument* doc = GetActiveDocument();
BaseObject* op = doc->GetActiveObject();
if (!op) return false;
BaseObject* defo = BaseObject::Alloc(1024542);
if (!defo) return false;
On 21/09/2015 at 09:43, xxxxxxxx wrote:
the Correction deformer requires a (hidden) polygon and point tag. You can simple add these tags to the deformer using MakeTag() and the IDs Tpolygon and Tpoint.
On 21/09/2015 at 17:17, xxxxxxxx wrote:
After you have added the tag as it taught me Correction Deformmer can now be edited.
To everyone I am very grateful.
thanks so much.