POV-Ray : Newsgroups : povray.binaries.images : Granites Intermezzo : Re: Granites Intermezzo Server Time
17 May 2021 19:23:31 EDT (-0400)
  Re: Granites Intermezzo  
From: Bald Eagle
Date: 28 Apr 2021 16:40:00
Message: <web.6089c781cfb077e41f9dae3025979125@news.povray.org>
Quick stab at adding the vein.

Didn't like marble or planar, so I coded a Boolean math function for the stripe,
and let it blend on the sides.

Adding a mod to the function will repeat it, but it's too regular.
I tried warp {repeat x*4} but that repeats the whole pattern, and you get hard

I thought maybe I could layer it, but it's a pattern texture, and POV-Ray says
"No way!"

I also tried to add a specular highlight, and I'm too inept to get that to work

Nor could I get the void created by using a difference to be anything but black.

It's unclear to me at the present time how to have separate turbulence values
for the stripe and the base StepNoise pattern, but I guess we'll figure that out
as we proceed.

Currently using the sum of two turbulated stripe patterns, so maybe the
placement of the stripes will have to be generated by a macro and an array of
plane offsets.

Anyway, this gives the general idea.

Post a reply to this message

Download 'granite_veins_1.png' (192 KB)

Preview of image 'granite_veins_1.png'


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