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

    CalcVertexMap

    SDK Help
    0
    1
    135
    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

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

      On 09/05/2004 at 11:49, xxxxxxxx wrote:

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

      ---------
      Hi,
       
      I want to retrieve the vertex map information from an object, but I don't understand the CalcVertexMap function

      Real* CalcVertexMap(_<_a title="class baseobject : public baselist2d" href= "mk:@msitstore:c:\program%20files\maxon\cinema_4d_r8\r8sdkchm2003-10-02.chm::/pages/c4d_baseobject/class_baseobject42.html"_>_ BaseObject* modif_<_h4_>_/H4>

      Get an array of vertex weights. You must free it afterward_<_a class=linkfn href= "mk:@msitstore:c:\program%20files\maxon\cinema_4d_r8\r8sdkchm2003-10-02.chm::/pages/c4d_memory/defines_c4d_memory102.html#gefree5"_>_free5">GeFr_<_h5_>_A>_<_h5_>_

      Return

      > Real*
      >
      >> The address of the weights array or NULL. The caller owns the pointed array.
      >>
      >> _
      >
      > _<_h5_>_ Parameters
      >
      > <_<_a title="class baseobject : public baselist2d" href= "mk:@msitstore:c:\program%20files\maxon\cinema_4d_r8\r8sdkchm2003-10-02.chm::/pages/c4d_baseobject/class_baseobject42.html"_>_class_BaseObject42.html">BaseObject* modifier_
      >
      >> The modifier object. The caller owns the pointed object.
      >>
      >>  
      What is the modifier parameter?
      I am using

          
          
          
          
          Real *wadr = ToPoint(oPolyObject)->CalcVertexMap(NULL);
          
          
          
      

      but the result is always NULL
      Thanks

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