Fractal Architect 3 Help Index

3D Fractals


Applies to:FA 3DFA 3D-AV

3D Viewing Parameters

3D Viewing Parameters
3D Viewing Parameters
Spherical Coordinates

The main viewing parameters are: pitch, yaw, and roll. These are used to place the viewing camera in the 3D fractal world.

Think of the fractal world as if it were a big globe. So like with the planet Earth, pitch corresponds to latitude, and yaw corresponds to longitude. Think next of a camera always pointed to the center of this spherical globe. Next turn the camera around the axis that it is looking toward (toward the center of the globe). That motion corresponds to roll. For example switching from portrait to landscape aspect ratio with a real camera by rotating the camera in your hands, corresponds to a roll.

Pitch of zero degrees corresponds to the camera looking straight down at the North Pole of the globe. Pitch of 90 degrees looks at the Equator. Pitch of 180 degrees looks at the South Pole. The camera is rotated around the globe (always looking at its center) from North to the South.

Yaw implies rotation of the camera around the globe (always looking at its center) but parallel to the Equator.

The 3D viewing camera has these parameters:

Pitch
Adjusts the camera pitch (range 0 to 180 degrees).
Yaw
Adjusts the camera yaw (range 0 to 360 degrees).
Roll
Adjusts the camera roll. (range 0 to 360 degrees) When pitch and yaw are equal to 0, roll has the same effect as 2d rotation.
DOF (Depth-of-Field)
Adjusts the artificial depth-of-field. (range of 0.0 to 1.0)
(The fractal is sharp at the point of focus and becomes blurred the further its points are from the center of focus - see Camera Height)
Perspective
Adjust for Perspective distortion (range of 0.0 to 1.0)
Perspective of 0 is no distortion. Perspective of 1 is maximum distortion.
Camera Height
Adjust the distance from the camera to the point of focus. Used together with DOF.

Special Variations related to Z-Axis

Fractal Architect uses the same rendering algorithm as Apophysis 3D Hack. That means that 2D pre and post transformations matrices are used to transform 3D points in a 3D world. This is not a true 3D rendering in a classical sense, as full 3D transformation matrices are not used and nor are they presented to you by the Triangle editor. When you manipulate the triangles in the editor, you are only affectding the X and Y dimensions, not the Z dimension.

The 2D matrix can only represent the set of points in a flat plane. To represent the third dimension, a Z axis is added. Special variation types are added to the default variation set whose sole purpose is to manipulate the Z dimension. Note 2D variation sets do not have these extra variation types.

Special Z-Axis Pre Variations

Making 3D VariationSet
Making 3D VariationSet

These are evaluated before both all normal and all post variations.

pre_flatten
Linearly scales down the Z dimension for a point. (Range 0.0 to 1.0.)
Value of 0 implies no flattening of Z dimension.
Value of 1 results in Z dimension = 0.
pre_zscale
Multiplies the Z dimension for a point by the variation weight.
pre_ztranslate
Adds the variation weight to the Z dimension for a point.
pre_rotate_x
Rotates the points around the X axis. (Range of 0.0 to 4.0)
Weight of 1.0 corresponds to 90 degree rotation.
pre_rotate_y
Rotates the points around the Y axis. (Range of 0.0 to 4.0)
Weight of 1.0 corresponds to 90 degree rotation.

Special Z-Axis Normal Variations

These are evaluated after all pre variations and before all post variations.

zscale
Multiplies the Z dimension for a point by the variation weight.
zblur
Adds a randomized blur amount to the Z dimension of points. Amount of blur is proportional to the variation weight.
ztranslate
Adds the variation weight value to the Z dimension of points.
zcone
Adds to the Z dimension the variation weight multiplied by the radius of that point from the center of the fractal world. Makes a cone like structure.

Special Z-Axis Post Variations

These are evaluated after both all pre and all normal variations.

post_flatten
Linearly scales down the Z dimension for a point. (Range 0.0 to 1.0.)
Value of 0 implies no flattening of Z dimension.
Value of 1 results in Z dimension = 0.
post_rotate_x
Rotates the points around the X axis. (Range of 0.0 to 4.0)
Weight of 1.0 corresponds to 90 degree rotation.
post_rotate_y
Rotates the points around the Y axis. (Range of 0.0 to 4.0)
Weight of 1.0 corresponds to 90 degree rotation.

Using Pre and Post Variations - Order of Evaluation Pre and post variations’ evaluation order can have a big affect on fractal appearance. The variation set windows show the order of evaluation for pre and post variations (Topmost in the list are evaluated before those below it). Order of evaluation of normal variations is irrelevant - the end result of the fractal iteration will be the same. This is NOT true for pre and post variations! That is because the output of the first pre variation is passed to the input of the next pre variation.

There is a default order which frankly is determined by sorting the variation names. You can change this evaluation order when you create the 3D variation set. You can reorder the the pre and post variations - which will change their order of evaluation.

Flattening Z-Hair

3D fractals can exhibit the appearance of hair along the Z axis. This is a side effect of the Flame fractal algorithm where the original random Z values are not squashed down to a reasonable range.

If you use 2D variations in a 3D fractal, the Z values will not be affected at all by the fractal iteration and will thus be random values over a huge range. (Actually this is not quite true, at each iteration the Z value is multiplied by the 2D variations’ weight.)

So to combat this, you should add the post_flatten variation to each transform having a 2D variation. Adjust the post_flatten weight till the fractal appearance improves. Think of the usage of post_flatten as giving the Z-hair a haircut!

The Random Fractal generator will automatically add a post_flatten variation to the fractals it produces. You may have to tweak the post_flatten weights to improve the fractal’s appearance.

Random Fractal Generator and 3D

Making 3D VariationSet
Making 3D VariationSet

The Random Fractal Generator allows you to fix some of the viewing parameters and let other viewing parameters be random.

3D Variants

3D Variants
3D Variants

The Variants editor allows you to fix some of the Camera parameters and let other camera parameters be random.

Triangle Editor - 3D Camera

Triangle Editor - 3D Camera
Triangle Editor - 3D Camera

The triangle editor can also be used to set the 3D camera parameters. You can use the QuickSpin button: button to open the QuickSpin window for a parameter. Here we have opened it for the Pitch parameter and show the effect of interpolation 6 different pitch settings. You can also just move the slider to get real time feed back on the Pitch parameter’s effect.

Triangle Editor - Pitch Interpolation
Triangle Editor - Pitch Interpolation