BaseChannel's BaseContainer enums



  • 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 :)



  • 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).



  • 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 :)


Log in to reply