Add an option to the Color drop down labelled "Evolved". When this option is selected, special handling is required. You will have to actually recreate the shape with the CPPN rather than simply change the colors of the cached Triangle list.
For this option, you will need to change the number of CPPN outputs to 4: one for cube presence, and 3 more for H, S, B values as in Picbreeder. Change the shape generation method so that if the Color parameter is null, it will generate the Color for each individual cube from the CPPN instead of using a specified color. The HSB values are only used to color cubes that are actually created ... otherwise they are ignored.
Add an option to the Color drop down labelled "Evolved". When this option is selected, special handling is required. You will have to actually recreate the shape with the CPPN rather than simply change the colors of the cached Triangle list.
For this option, you will need to change the number of CPPN outputs to 4: one for cube presence, and 3 more for H, S, B values as in Picbreeder. Change the shape generation method so that if the Color parameter is null, it will generate the Color for each individual cube from the CPPN instead of using a specified color. The HSB values are only used to color cubes that are actually created ... otherwise they are ignored.