System.Drawing.Color :/

the_cX

30-04-2006 20:39:23

these things suck. no matter how much of the ogre functionality is wrapped to use this datatype, the values in the material scripts are 0-1 and the extra layer of conversion/confusion is inevitable. and the OgreDotNet.ColourValue is so nice, why the deviation?

is there a good reason why OgreDotNet is using System.Drawing.Color?

rastaman

30-04-2006 22:47:00

To tell you the truth, I don't like it much ether. That's why I made functions in Converter.GetColor that take float values for r,g,b and return the System.Drawing.Color. I've just learned to live with it. :wink: