# Foreword

In this tutorial, the idea is to verify if render software properly simulate colour mixing. For that, we will use, when possible, IES files in order to mimic as much as possible real phenomena. It extends and refreshes the previous tutorial on the same topic: http://www.keris-studio.fr/blog/?p=5475

Colour mixing refers to Grassmann’s laws (https://en.wikipedia.org/wiki/Grassmann%27s_laws_(color_science)). In colorimetry, Grassmann’s laws govern the superposition of colours. They serve as the foundation for all colorimetric calculations. Hermann Grassmann’s 19th-century studies of human colour perception led him to formulate three laws in his 1853 article « On the Theory of Colour Mixing. » (Grassmann, H. (1853). « Zur Theorie der Farbenmischung »). Continuer la lecture de Light Simulation RGB additive with IES

This is a quick set up to understand how to orient solar panels for maximum efficiency using Galapagos’ generative capacities.

Use FilePath to get the file from where it has been stored.

Connect the SunPath

We add a date, to start it will be a single date, but we will work a period a time afterwards.

We evaluate Direct Sun hours

Geometry is the surface to be calculated, Context refers so objects casting Shadows

Connections

We run

This is the result for a single day June, the 21st at 10 am

Now we check for the same day from 6am to 6pm

And we have quantities. For every square of the grid, a total of direct sun hours

The have the total we can have a Mass addition

We will search which orientation is best for a solar panel. To get faster results, we will only test two orientations

A Solar Panel is created, and we will git it the possibility to rotate X axes and then Y axes to find the better orientation

This is the solar panel

This how we can prepare the rotations

To go faster, we will investagate every 5° between -90 to +90. For that we prepare the slider as shown below. 18*5=90. So we go from -18 to +18 by 5

The Solar Panel becomes the new geometry, the grid has to be reduced, we try every 0.25m

We test for one day, one orientation

Ok, for one day, let test the best orientation

We add Galapagos component. Genome goes to the Slider and Fitness to the mass addition number obtained from the results.

Double click on Galapagos, we choose Maximize, because we are searching for the best result

Then Solvers, start Solvers

As our ground is pretty free from constructions, with no surprise, the best orientation here is horizontal (and we’re in June !!)

Other orientation…Facing south the best orientation is 20°

# Spatial.Io Texture settings

Spatial offers several possibilities for High end real time online rendering. Let’s see how to prepare our 3D files to get the best of it. As it is trans software, we will use at least 4 of them in parallel to get the same results. Let’s remember, it’s not the software but the workflow that is taken into account.

We will start from this tutorial on the Spatial web page that helped us to start. https://support.spatial.io/hc/en-us/articles/4418819002004

# Basic geometry to start.

Let’s set up a basic scene for our tests : a wall, a floor, a cube, sphere, and Nefertiti (why not) downloaded here : https://www.openculture.com/2019/11/download-stunning-3d-scans-of-the-bust-of-nefertiti.html