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

    Creating selections and then texturing [SOLVED]

    SDK Help
    0
    4
    331
    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 06/10/2014 at 04:34, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   15 
      Platform:    Mac  ;  
      Language(s) :   C.O.F.F.E.E  ;  C++  ;  XPRESSO  ;  PYTHON  ;

      ---------
      Hi,

      I'm wondering if someone can point me in the right direction, or tell me if what I'm asking is possible.

      I want a script/plugin which can take an object, divide it up into selections based on the number of polygons, and then apply individual textures to each selection, pulling the channels of the textures in from an external folder that contains image files.

      If someone could at least tell me which tool (COFFEE, Xpresso, C++, Python) is best suited to the task, that would be great.

      Thanks,

      S

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

        On 06/10/2014 at 04:49, xxxxxxxx wrote:

        Well, the C++ SDK is of course most suitable because it allows deepest and fastest access. And of course that's possible. I see no reason why it shouldn't be (well you would probably assign individual materials with according textures to the polygon selections and not the textures themselves but other than that..)

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

          On 07/10/2014 at 03:31, xxxxxxxx wrote:

          Katachi is definitively right.
          I just want to add a few starter links here:

          The class for making polygon selections is BaseSelect. It's quite straight forward as you simply use polygon indeces to do the selection:
          R16 SDK Docs: class BaseSelect

          I'd also like to suggest an appropriate plugin type. But as I'm not completely sure about what you are trying to achieve in detail, I fear I might add to the confusion instead of lessening it. So perhaps you can get a bit more into details.

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

            On 10/10/2014 at 09:04, xxxxxxxx wrote:

            Thanks for the replies.
            C++ is a bit beyond me at the moment, so I've been delving into Python a little, and it seems like it's possible to achieve what I want through there for now... phew. C++ is definitely on the horizon though.

            Thanks again

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