News: Check out the originating "3d Mandelbulb" thread here  ## The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!

Stem Cell Scaffold Previous Image | Next Image
Description: Fragmentarium _ Asurf

params- not exactly the same params but almost ...

#info Amazing Surface by Kali - Based on Tglad's Amazing Box
#define providesInit
#define KN_VOLUMETRIC
#define USE_IQ_CLOUDS
#include "DE-kn2.frag"
#include "MathUtils.frag"

#group AmazingSurface

uniform int Iterations;  slider[0,17,300]
uniform int ColorIterations;  slider[0,3,300]
uniform float Scale;  slider[-3,1.5,3.0]
uniform int FoldType; slider[1,1,3]
uniform vec3 PreTranslation; slider[(-5,-5,-5),(0,0,0),(5,5,5)]
uniform vec2 FoldValues; slider[(0,0),(1,1),(5,5)]
uniform bool Julia; checkbox[false]
uniform vec3 JuliaValues; slider[(-5,-5,-5),(-1,-1,-1),(5,5,5)]
uniform vec3 RotVector; slider[(-1,-1,-1),(1,1,1),(1,1,1)]
uniform float RotAngle; slider[-180,0,180]

mat3 rot;

void init() {
rot = rotationMatrix3(normalize(RotVector), RotAngle);
}

vec4 scale = vec4(Scale, Scale, Scale, abs(Scale))/MinRad2;
float absScalem1 = abs(1-Scale);
float AbsScaleRaisedTo1mIters = pow(abs(Scale), float(1-Iterations));

float DE(vec3 pos) {
vec4 p = vec4(pos,1);
vec3 c = Julia?JuliaValues:p.xyz;
for (int i=0; i<Iterations; i++) {
if (FoldType==1) p.xy=abs(p.xy+FoldValues)-abs(p.xy-FoldValues)-p.xy;
if (FoldType==2) p.xy=FoldValues-abs(abs(p.xy)-FoldValues);
if (FoldType==3) p.xy=abs(p.xy+FoldValues);
p.xyz+=PreTranslation;
float r2 = dot(p.xyz, p.xyz);
if (i<ColorIterations) orbitTrap = min(orbitTrap, abs(vec4(p.xyz,r2)));
p = p*scale;
p.xyz+=c;
p.xyz*=rot;
}
return ((length(p.xyz) - absScalem1) / p.w - AbsScaleRaisedTo1mIters);
}

#preset StemCellScaffold
FOV = 1.186
Eye = 0.276634,3.01964,1.67067
Target = -0.690993,5.5549,1.57106
FocalPlane = 0.02
Aperture = 5e-05
InFocusAWidth = 0.41182
ApertureNbrSides = 5
ApertureRot = 0
ApStarShaped = false
Gamma = 1.2384
ToneMapping = 3
Exposure = 0.97323
Brightness = 1.4373
Contrast = 1.9822
Saturation = 1.77525
GaussianWeight = 9.2524
AntiAliasScale = 0.0829
Bloom = true
BloomIntensity = 0.51368
BloomPow = 8.5049
BloomTaps = 16
Detail = -2.91165
DetailAO = -0.41293
FudgeFactor = 1
MaxRaySteps = 352
MaxDistance = 20
Dither = 0
NormalBackStep = 3.6505
AO = 0.0117647,0.00784314,0.0470588,1
AoCorrect = 0.99718
Specular = 0.18284
SpecularExp = 8.155
CamLight = 0.956863,0.976471,0.976471,0.29644
CamLightMin = 0.01709
Glow = 1,0.513725,0.270588,0.01143
GlowMax = 0
Reflection = 0,0.0117647,0.0313725
ReflectionsNumber = 3
SpotGlow = true
SpotLight = 0.92549,0.188235,0.121569,4.9206
LightPos = -0.2118,4.3974,0.6352
LightSize = 0.49353
LightFallOff = 0.11764
LightGlowExp = 4.1598
BaseColor = 0.878431,0.921569,0.976471
OrbitStrength = 0.54703
X = 0.294118,0.533333,0.6,0.79484
Y = 0.14902,0.705882,0.290196,0.90792
Z = 0.25098,0.796078,0.823529,0.86592
R = 0.521569,0.901961,0.827451,-0.2692
BackgroundColor = 0.956863,0.729412,0.101961
CycleColors = true
Cycles = 2.72076
EnableFloor = true
FloorNormal = 0.0095,-0.06464,1
FloorHeight = 1.3987
FloorColor = 0.960784,0.784314,0.952941
HF_Fallof = 1.4955
HF_Const = 0.17465
HF_Intensity = 0.89145
HF_Dir = 0.16586,-0.34138,0.11112
HF_Offset = -0.8866
HF_Color = 0.733333,0.870588,0.992157,0.39369
HF_Scatter = 6.8883
HF_Anisotropy = 0,0,0
HF_FogIter = 7
CloudScale = 0.13109
CloudFlatness = 0.65549
CloudTops = -9.9044
CloudBase = -8.67
CloudDensity = 0.02305
CloudRoughness = 0.73122
CloudContrast = 2.552
CloudColor = 0.819608,0.952941,0.952941
SunLightColor = 0.92549,0.776471,0.0980392
Iterations = 71
ColorIterations = 12
Scale = 1.38312
FoldType = 3
PreTranslation = -1.0336,-1.0168,0.042
FoldValues = 2.5227,0.75555
Julia = true
JuliaValues = -2.272,-1.1194,-0.9204
RotVector = -0.519,-1,-0.4562
RotAngle = -177.883
Up = -0.4322,1,1
#endpreset

Stats:
Total Favorities: 0 View Who Favorited
Filesize: 264.13kB
Height: 1200 Width: 1920
Discussion Topic: View Topic
Keywords: timemit amazing surf fragmentarium scaffold
Posted by: Tim Emit September 14, 2016, 03:55:52 PM

Rating:     by 1 members.

 XXX Fusion Cell  Rating:   Filesize: 638.42kBDate: March 31, 2010, 02:32:54 AMComments (3)By: stardust4ever Mandelbrot Mega-Cell  Rating: (None)Filesize: 439.02kBDate: October 02, 2010, 08:27:38 PMComments (0)By: Ilionstar
 Comments (2) Tim Emit Conqueror       Posts: 111   September 15, 2016, 10:58:40 AMQuote from: sabine62Great atmosphere up here!Thank you for the parameters, Tim, I'm having such fun with them! And it all renders like a charm (as long as I keep the iterations of asurf low, or it takes ages;) )glad it's working..yes lots around there of interest.. if you want to work in higher its - reduce/disable other features like reflects and bloom , find something nice and bring the levels back up. Sabine Fractal Fertilizer     Posts: 373   September 14, 2016, 08:15:53 PMGreat atmosphere up here!Thank you for the parameters, Tim, I'm having such fun with them! And it all renders like a charm (as long as I keep the iterations of asurf low, or it takes ages;) )