Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Register
    • Login

    AnimateObject on Deformed Objects

    Scheduled Pinned Locked Moved SDK Help
    14 Posts 0 Posters 973 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 26/11/2005 at 08:50, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.2  
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi All,

      I need to know the points coordinate of an animated deformed object.

      I would like to use AnimateObject() to get the previous position of points to compare them with actual geometry.
      Seem that with a deformer is not working and work fine with position and rotation.

      thanks in advance
      Renato T.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 28/11/2005 at 11:41, xxxxxxxx wrote:

        That's correct. AnimateObject() doesn't take deformers into account. You can use SendModelingCommand() with MCOMMAND_CURRENTSTATETOOBJECT instead.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 28/11/2005 at 11:51, xxxxxxxx wrote:

          Hello Mikael,

          so i need to send modelling command after AnimateObject()?

          thanks
          Renato T.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 28/11/2005 at 12:15, xxxxxxxx wrote:

            Yeah, AnimateObject() for the timeline tracks and SendModelingCommand() for the rest. (I don't know how it will work with time based deformers though.)

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 07/06/2006 at 19:31, xxxxxxxx wrote:

              Hello Mikael,

              still not working here.
              I tried also AnimateDocument.. but the deformation are not calculated too.

              any help?

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 08/06/2006 at 10:05, xxxxxxxx wrote:

                Do you not get any deformation at all or not just the deformations at the specified time?

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 08/06/2006 at 15:32, xxxxxxxx wrote:

                  i got deformation but when i force animateobject on the frame-1 the deformation is the same at frame

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    On 30/09/2009 at 11:46, xxxxxxxx wrote:

                    I still have this problem now.. can someone tell me why i can't get deformed geometry with animateobject and current state to objects?

                    thanks 🙂
                    renato

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Helper
                      last edited by

                      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                      On 30/09/2009 at 12:26, xxxxxxxx wrote:

                      I've only had success with AnimateDocument() (now ExecutePasses() in R11.5) but it does work. This is how IPP figures are baked into static or PLA geometry in interPoser Pro.

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        Helper
                        last edited by

                        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                        On 30/09/2009 at 12:36, xxxxxxxx wrote:

                        Hello Robert,

                        uhm.. i tried with AnimateDocument.. but don't work.. Do i need to addevent or something?

                        thanks 😉
                        renato

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          Helper
                          last edited by

                          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                          On 30/09/2009 at 13:35, xxxxxxxx wrote:

                          Make sure to set the document time, call AnimateDocument(), and, yes, EventAdd() is a good idea.

                          doc->SetTime(stime);
                          #ifdef     C4D_R115
                          doc->ExecutePasses(NULL, TRUE, TRUE, TRUE);
                          #else
                          doc->AnimateDocument(NULL, TRUE, TRUE);
                          #endif
                          EventAdd();

                          where 'stime' is the BaseTime representing the frame.

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            Helper
                            last edited by

                            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                            On 30/09/2009 at 13:45, xxxxxxxx wrote:

                            Hello Robert,

                            i'm during rendering.. so eventadd.. will stop the renderdocument 🙂

                            I fear that i need to cache before all. then render.

                            what do you think?
                            renato

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              Helper
                              last edited by

                              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                              On 03/10/2009 at 07:39, xxxxxxxx wrote:

                              Howdy,

                              Is the deformer a child of the mesh, or is the mesh part of a hierarchy that is being deformed? I've noticed that CSTO only works properly when the deformer is a child of the mesh you need. If the mesh is in a deformed hierarchy, then CSTO needs to be invoked on the parent object to get the deformed mesh object. :o(

                              Adios,
                              Cactus Dan

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                Helper
                                last edited by

                                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                                On 03/10/2009 at 09:26, xxxxxxxx wrote:

                                Hello Dan 🙂

                                my scene it's just a cylinder with a bend inside it (child). 🙂

                                thanks
                                renato

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post