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

    BaseChannel's BaseContainer enums

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 271 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 11/07/2007 at 08:40, xxxxxxxx wrote:

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

      ---------
      Hello,

      I am working on a C4D exporter.

      I can't manage to find IDs for all channels properties.

      The only thing that the sdk gives me about the returned BaseContainer of BaseChannel::GetData() is:

      ------------------------------
      Container ID Type Description
      BASECHANNEL_TEXTURE
      STRING
      The texture for this channel.

      BASECHANNEL_BLUR_OFFSET
      Real
      The MIP blur offset for this channel.

      .....
      some other IDs
      .....
      ---------------------------------------------

      By searching on C.O.F.F.E.E samples found on Google, I identified CH_COLOR as the ID for the diffuse color...

      But it's not defined in the C++ SDK.

      Where or how can I get the full ID list/enum for all channels ? (for example Specular: Mode,Width,Height,FallOff...)

      We are developping this exporter to export models for our own software, but it's a special developpment for a customer/partner who has the C4D license.

      We were gaven a install .exe and a license, not the full CD/DVD.

      Maybe there is more exhaustive SDK/Documentation on the CD/DVD ?

      Is there a way to get an exhaustive description of what can be found in BaseChannel's BaseContainer ?

      Thanks 🙂

      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/2007 at 09:59, xxxxxxxx wrote:

        Look in the Resource folder - all IDs are defined in headers and described in .res files in the _api, res, and modules\*\res\ folders. For instance, try Resoure\res\description\mbase.h, mbase.res, mmaterial.h, and mmaterial.res files to get at Material channel IDs and types.

        Don't forget that there is a set of examples in the plugins/cinema4dsdk - with source! And you can search here for more information from previous topics (set Show Topics to All to get all results before searching instead of just getting recent topics, if any).

        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 12/07/2007 at 00:30, xxxxxxxx wrote:

          Thanks, it seems it is in mmaterial.h 🙂

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