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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    definitions for spline deformer

    SDK Help
    0
    9
    758
    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
      Helper
      last edited by

      On 01/11/2013 at 11:32, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   r14 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi, 
      i can't find the definitions for the spline deformer object. can someone point me to them?

      MGSPLINEWRAPDEFORMER_AXIS for example

      thanks in advance,
      Ello

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

        On 01/11/2013 at 11:42, xxxxxxxx wrote:

        C4D/modules/mograph/res/description/omograph_splinewrap.h

        Best,
        -Niklas

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

          On 01/11/2013 at 11:42, xxxxxxxx wrote:

          so, this is something that is not always available in cinema, right?

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

            On 01/11/2013 at 12:00, xxxxxxxx wrote:

            ah, ok. i see. it is now part of the core. but where is Omograph_splinewrap defined?
            i've included omograph_splinewrap.h but get an error for an undeclared inentifier 'Omograph_splinewrap'

            any ideas?

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

              On 01/11/2013 at 12:12, xxxxxxxx wrote:

              It isn't defined. Grab a Spline Wrap deformer, ask for its type and add the definition in your source code.

              > #include <c4d.h>
              > #include <omograph_splinewrap.h>
              >
              >
              > enum {
              >     Omograph_splinewrap = 1019221,
              > };
              >
              >
              > // ...

              Best,
              -Niklas

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

                On 01/11/2013 at 12:16, xxxxxxxx wrote:

                thank you very much

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

                  On 26/06/2014 at 08:02, xxxxxxxx wrote:

                  Originally posted by xxxxxxxx

                  It isn't defined. Grab a Spline Wrap deformer, ask for its type and add the definition in your source code.

                  > #include <c4d.h>
                  > #include <omograph_splinewrap.h>
                  >
                  >
                  > enum {
                  >     Omograph_splinewrap = 1019221,
                  > };
                  >
                  >
                  > // ...

                  Best,
                  -Niklas

                  Niklas can i ask you a couple of questions about the above:

                  How does the #include <omograph_splinewrap.h> know where to find it?  Would that imply setting the mograph folder up as an Additional Include Directory inside the Properties in VisualStudio?  Or am i missing something obvious?

                  Why are u using these brackets <> around the include as opposed to "" is there any difference?

                  Thanks..

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

                    On 26/06/2014 at 09:40, xxxxxxxx wrote:

                    Hi Eclektrik,

                    most paths that contain resource description files are already added to the Include Directories of the
                    _api or cinema4dsdk project files. You can manually add the path to the Mograph description resource
                    directory.

                    When using "", the compiler will first take a look into the parent folder of the current file and then
                    search all other specified paths. <> will only search those paths but also built-in headers which must
                    not necessarily exist as files.

                    See http://stackoverflow.com/questions/1367316/include-and-include

                    Best,
                    -Niklas

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

                      On 27/06/2014 at 03:35, xxxxxxxx wrote:

                      Thanks for the replies Niklas much appreciated.

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