Skip to content

Commit

Permalink
editing materials
Browse files Browse the repository at this point in the history
  • Loading branch information
mclarekin committed Oct 27, 2020
1 parent ed45a3f commit 4be0ac3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
File renamed without changes
20 changes: 8 additions & 12 deletions mandelbulber2/manual/chapters/materials.tex
Original file line number Diff line number Diff line change
Expand Up @@ -490,24 +490,20 @@ \subsubsection{Color by numbers}\label{materials-color-by-numbers}

Examples maths:

$XYZ_bias component = abs(z.x) \ast biasScale.x;$
$XYZ\ bias\ component\ =\ abs(z.x) \ast biasScale.x;$

$Plane_bias component = z.y \\ast z.z \ast biasScale.y;$

\twoImagesWithTwoCaptionsFullWidth{img/manual/media/xyz_bias.png}
\simpleImageWithCaptionThirdWidth{img/manual/media/pseudoK_Cbn_xyz.png}
{XYZ coloring component}
{xyz_bias}
{img/manual/media/plane_bias.png}
{Plane bias coloring component}
{plane_bias_squared}{H}
{pseudoK_Cbn_xyz}{H}


\textbf{ColorValue iteration components}

As this is iteration based it produces color banding.

Example maths:

$colorValue = sum_of_all_components * ( 1.0 + iterScale / ( iter + 1.0));$
$colorValue = sum\ of\ all\ components * ( 1.0 + iterScale / ( iter + 1.0));$

\simpleImageWithCaptionThirdWidth{img/manual/media/pseudoK_Cbn_iter_comp.png}
{iteration components}
Expand All @@ -530,22 +526,22 @@ \subsubsection{Color by numbers}\label{materials-color-by-numbers}
{parabolic function}
{col_para}{H}

The trig curve is sinusoidal. The additions to deform the palette a re derived from a cos curve (period =1 covers a 256 unit length of the palette. A very large period makes it work similar to a parabolic.
The trig curve is sinusoidal. The additions to deform the palette are derived from a cos curve (period = 1 covers a 256-unit length of the palette. A very large period makes it work similar to a parabolic.

\simpleImageWithCaptionThirdWidth{img/manual/media/col_trig.png}
{trig function}
{col_trig}{H}

These functions add a varying value to the colorValue. The starting point of the function along the palette can be set, so as to control the location of the deformation.
The round option produces uniformly colored bands with no transitions.
The round option produces uniformly-colored bands with no transitions.

\simpleImageWithCaptionThirdWidth{img/manual/media/col_round.png}
{round function}
{col_round}{H}

Minimum and maximum colorValue parameters limit the palette and can be helpful in determining what colorValue is producing a certain area of color.

\subsubsection{Mandelbox coloring options}\label{materials-mandelbox}




Expand Down

0 comments on commit 4be0ac3

Please sign in to comment.