### General

• 0 Replies
• 200 Views

0 Members and 1 Guest are viewing this topic.

• Moderator
• Posts: 776

#### General

« on: March 21, 2019, 05:36:39 AM »
This child board is set up to contain snippets of code that can be used to produce different color outputs for a point

There are two types of color outputs from the fractal maths  :-

- color that is outputted as a vec3(R,G,B)
- single float colorValue; that gets the points color assigned from a palette

color functions can be divided into three types:

- color derived from the original point position (point being iterated)
- color derived during the iteration
- color derived at termination

the first and last are cheap as we are not doing "color maths" at every iteration, however they are limited in the color patterns  they can produce (but have their uses)

color derived during the iteration is generally the best and it's cost can sometimes be reduced by choosing just a few iterations for the "color maths" the rest of the iterations just check a condition i.e    is  i < Max_Color_Iterations. The most common function for deriving color during the iteration loop is  minimum orbitTrap, where each iteration we are checking the distance ( or distance squared) from something in 3D space like the origin (0,0,0) and recording the smallest value we get, this decides on the color.

« Last Edit: March 24, 2019, 09:46:15 PM by 3DickUlus »

### Similar Topics

###### general formula for kompassbrots

Started by hgjf2 on Fractal Mathematics And New Theories

0 Replies
5 Views
Today at 08:30:25 AM
by hgjf2
###### Question about usage in general

Started by Xerilon on Mandelbulb3d

11 Replies
981 Views
August 01, 2018, 04:44:11 AM
by Kalter Rauch
###### General information about Mandel Machine

Started by Dinkydau on Mandel Machine

4 Replies
751 Views
May 05, 2018, 01:15:57 PM
by julofi
###### General continuous iteration count + exterior distance estimation

Started by gerrit on Fractal Mathematics And New Theories

7 Replies
433 Views
May 02, 2020, 08:23:48 AM
by gerrit