Planetside Software Forums

General => Terragen Discussion => Topic started by: mogn on June 26, 2007, 02:15:16 PM

Title: Atlantic pyramid
Post by: mogn on June 26, 2007, 02:15:16 PM
Some recent exploration by the NUMA team in the sunken atatis, recovered a photograph
showing that the atlantis people used to paint their pyramids:

http://img526.imageshack.us/img526/1685/atlantisea7.jpg

Back to reality, I started a project to minimize the number of nodes/colour to build a
colour gradient. The about image uses a nine colour gradient.
I want some ideas how to minimize such a gradient.
Title: Re: Atlantic pyramid
Post by: mogn on June 27, 2007, 08:08:18 AM
The landscape is the famous tutorial4.tgd

What I want you to do, is creating a network with as few node as possible, connecting the input node,
the 9 colour nodes and the Final Colour node.
The network must fullfill the following conditions:

1) collating, i.e. if the input value is zero, the final colour must be Colour 0
                      if the input value is 1/8,  the final colour must be Colour 1,
                      e.t.c
                      the result of input value 1, is undefined.

2) the value of Final Colour if the input value is between N/8 and N+1/8 must
    be between Colour N and Colour N+1. It is not required to be linear, and might
    be influenced by the other colours.

In my network, which is hidden in the internal network of the group, I uses a linear
interpolation between the colours.

Good hunting  ;D