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
    • Login

    cant convert object plugin to poly

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 310 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 10/07/2009 at 14:44, xxxxxxxx wrote:

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

      ---------
      i have one object plugin that cant be converted to polygon. any ideas what could cause this behaviour? i have no clue, since it is based on another plugin, which could be converted..

      thanks for all input..

      cheers,
      ello

      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 10/07/2009 at 16:39, xxxxxxxx wrote:

        Does it 'generate' polygon objects?

        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 11/07/2009 at 02:09, xxxxxxxx wrote:

          depends on what the child is. i clone the object with this:

          > `

            
          \>  BaseObject* clone = static_cast<BaseObject*>(child->GetClone(0, NULL));  
          \>  
          

          `

          edit:
          found out that if i dont use this:
          > `

            
          \>  cloneOfBase = main->GetAndCheckHierarchyClone(hh,baseMesh,HCLONE_ASPOLY,&dirty;,NULL,FALSE);  
          \>  if (!cloneOfBase) goto Error;  
          \>  pobj= ToPoint(cloneOfBase);  
          \>  
          

          `

          but this:
          > `

            
          \>  if (baseMesh->GetDeformCache())  
          \>  pobj = ToPoint(baseMesh->GetDeformCache());  
          \>  else  
          \>  pobj= ToPoint(baseMesh->GetCache());  
          \>  
          

          `

          than it works...

          any ideas?

          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 11/07/2009 at 03:45, xxxxxxxx wrote:

            additional info.. i need to have the part with GetAndCheckHierarchyClone to be able to use nonpolygonized objects with deformers.. or is there another way to do it?

            cheers,
            ello

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