Gradient Color Profile [SOLVED]



  • On 11/06/2016 at 00:57, xxxxxxxx wrote:

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

    ---------
    Hi,

    In my plugin I'm generating a dynamic description that uses CUSTOMDATATYPE_GRADIENT. I have noticed though, that its colors do not track the document color profile setting. I am aware that when generating descriptions via a .res file there is an ICC_BASEDOCUMENT option to get this behaviour.

    How would I go about specifying this when creating the dynamic description's BaseContainer?

    Thanks



  • On 13/06/2016 at 02:17, xxxxxxxx wrote:

    Hello,

    the ICC_BASEDOCUMENT option corresponds to the DR_COLORFIELD_ICC_BASEDOC flag of the BaseContainer.

    Best wishes,
    Sebastian



  • On 13/06/2016 at 03:40, xxxxxxxx wrote:

    Hi Sebastian,

    This solves the issue I was having.
    Perhaps the GetSetDParameter plugin sample could also be modified to include this flag.

    Thanks


Log in to reply