|
|
On 11/1/24 08:40, William F Pokorny wrote:
> Mind running - what if we stick this noise only inside more usual shape
> functions or inbuilt shapes as part of a function. I bet they'd all show
> up...
Attached an image where I filled text object characters with noise as a
function for an isosurface. Here not that fast because the inside test
for a single text string like "Halloween" is slow.
#declare Fn01 = function {
pattern {
bool_object { // In POV-Ray proper this called 'object'
text { // yuqk has also list_object etc.
ttf "timrom.ttf" "Halloween"
0.15, 0.001
translate <-2.0,0,0>
}
}
}
}
#declare Fn02 = function (x,y,z) {
(Fn01(x*3,y*3,z*3) > 0.0)*f_popnrm_rnoise(x,y,z,now,1)
}
No real shape - just enough +-noise that the isosurface root finder
finds plenty of roots.
Bill P.
Post a reply to this message
Attachments:
Download 'fillewithnoise.png' (78 KB)
Preview of image 'fillewithnoise.png'
|
|