Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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
    1. Maxon Developers Forum
    2. rui_mac
    3. Best
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 52
    • Posts 171
    • Best 3
    • Controversial 0
    • Groups 0

    Best posts made by rui_mac

    • RE: Use of undeclared identifier 'g_resource'

      I did included the c4d_resource.h and the error disappeared.
      I was migrating by simply fixing the errors that appeared inside Xcode, until everything was clear.
      But now, I started by duplicating a similar plugin from the sdk and pasting just the parts of the code that belong to my plugin.

      posted in Cinema 4D SDK
      R
      rui_mac
    • RE: Get a simple polygonal version of any object

      The "solution" I came up with was this:

      	doc=op.GetDocument()
      	doc2=c4d.documents.IsolateObjects(doc,[op])
      	doc3=doc2.Polygonize(False)
      

      and then go through all the objects of doc2, recursively.
      Is this a correct way of doing things?

      posted in General Talk
      R
      rui_mac
    • RE: Shader crashes when quitting with unfinished IRR

      It seems not to crash now. I made sure I freed all the bitmaps and flushed all containers.

      posted in Cinema 4D SDK
      R
      rui_mac