POV-Ray : Newsgroups : povray.binaries.images : Agate pattern has a preferred, along z orientation. Server Time: 25 Jan 2021 17:00:51 GMT
  Agate pattern has a preferred, along z orientation. (Message 1 to 1 of 1)  
From: William F Pokorny
Subject: Agate pattern has a preferred, along z orientation.
Date: 6 May 2020 12:49:34
Message: <5eb2b25e@news.povray.org>
Another surprise to me. The agate pattern has a preferred z 
direction(1). Said another way, it works best (always?) projected onto 
an x,y plane (a +-z plane object in POV-Ray).

I think it won't much show up - so long as pattern, transform and object 
modifiers manipulations are nearly symmetrical in x,y,z. However, I'm 
not completely sure, there are too many options, combinations...

I'm sure it shows. Now knowing about it, I used the 'feature' in the 
attached image.

#declare Fn00 = function { pattern {
     warp { turbulence 0.04 octaves 5 omega 0.41 lambda 6 }
     octaves 4    // 6
     omega   0.13 // 0.5
     lambda  1.33 // 2.0
     noise_generator 2
     frequency 0.5
     poly_wave 0.2
     scale 1/3
     rotate x*90

The first turbulence in the warp turbulence list is symmetrical in 
magnitude and effect, but also of the sort to show the z treatment by 
agate. The agate pattern has been oriented for a y up view and 
displacement of the y plane object.

Note! The warp{} block around the initial turbulence is necessary. 
Otherwise the trailing octaves, omega and lambda are applied to it. See 
documentation on bare turbulence vs warp{} wrapped. Mostly, wrap 
turbulence with warp {} to ensure turbulence ordering - and option 

Bill P.

(1) - At the core it grabs only the z point from 3d space and 'mixes' it 
with a turbulence value so as to change the value distribution to be U 
shaped; to be heavy toward zero and one.

Post a reply to this message

Download 'isooffsetya_hmm.png' (1137 KB)

Preview of image 'isooffsetya_hmm.png'


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