POV-Ray : Newsgroups : povray.binaries.images : A combined cell pattern : A combined cell pattern Server Time
8 May 2024 15:22:22 EDT (-0400)
  A combined cell pattern  
From: And
Date: 17 Jan 2024 09:10:00
Message: <web.65a7df355d1cd7ff7e60deeaa81652d@news.povray.org>
I have found an important (for me) pattern. Excuse me, let me record it here.


#declare f_crackle_base =
function(x, y, z) {
pow(
(1 - f_crackle(x, y, z + 2.7) ) ,
4
)
}




#declare bum_size = 0.98; // can be adjusted...

#declare f_bump_base =
function(x, y, z) {
pow(
f_bumps(x/bum_size, y/bum_size, z/bum_size),
1
)
}





#declare f_test =
function(x, y, z) {
f_crackle_base(x,y,z) * f_bump_base(x,y,z)
}



// -------- another part ------------------
#declare mappingBumpSize = 10.265;


#declare f_disturb_bump =
function(x, y, z) {
(
 1.0* f_bumps(x/mappingBumpSize, y/mappingBumpSize, z/mappingBumpSize)
 + 0.5* f_bumps(x/mappingBumpSize/0.5, y/mappingBumpSize/0.5,
z/mappingBumpSize/0.5 + 47.7)
) / 1.5

}



// ---------- combine ---------------------

#declare f_output2 =
function(x, y, z) {
f_test(
x , y,
 pow(
 (x*x + y*y)/ (f_disturb_bump(x, y, z)+1)
 , 0.75)
)
}


Post a reply to this message


Attachments:
Download 'cracke test 3 important.png' (2210 KB)

Preview of image 'cracke test 3 important.png'
cracke test 3 important.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.