How do I set ColorFields?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/11/2009 at 07:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C++ ;---------
I am trying to pre-set colorfields in my dialog, but don't get the expected result. I can only set the major RGB colors.In my code, both
SetColorField(ID_COLORFIELD,Vector(255,0,0),1,1,0);and
SetColorField(ID_COLORFIELD,Vector(120,0,0),1,1,0);produce the same red color (255,0,0). However, using the color slide bars then lets me chose other colors ... how can I preset the ColorField to other values than 255 or 0??
Thanks, Juergen.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/11/2009 at 08:02, xxxxxxxx wrote:
Use a floating point vector from 0.0 ..1 .0!
Hope it helps
Kabe
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/11/2009 at 08:05, xxxxxxxx wrote:
That should help as that is how color values are set in C4D.

-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/11/2009 at 08:39, xxxxxxxx wrote:
Thanks so much ... won't guess how long I spent on something simple like that!

-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/11/2009 at 09:15, xxxxxxxx wrote:
Well, though it's sadly not part of the documentation, there are hints in some examples...
However, the SDK is missing a number of overview articles with things that can be missed easily.
Kabe