I needed new colour functions for my 3D-program under development.
The new functions add shades of white and/or black to the output colour, via an additional parameter as imaginary part of the 'dye' parameter.
Furthermore the colour signals are transferred in an array as parameter so that the values can directly be written to the attribute-list of a 3D-entity.
The functions with testprograms are added to the Dropbox-folder:
https://www.dropbox.com/sh/ggw6wvdg0mnv ... XRaCa?dl=0
The folder contains also the PDF-document "About colour attribute for 3D" which gives more details of the functions.
The following screenshots are also included.
New colour functions
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
New Colour functions
Last edited by Dutchman on Sun Sep 10, 2017 5:58 pm, edited 2 times in total.
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Nw colour functions
This is like Christmas all over again. It is a great collection of useful color tools. Thanks, Ton!
The only thing that gets me down is gravity...
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Nw colour functions
Thanks Richard.
By the way, the simple gamma-function applied in the demo-program PaletMixSphere can be used as a parameter dependent on the distance of the light-source
By the way, the simple gamma-function applied in the demo-program PaletMixSphere can be used as a parameter dependent on the distance of the light-source