POV-Ray : Newsgroups : povray.binaries.images : Magazine Cover : Re: Magazine Cover Server Time
8 Aug 2024 22:11:19 EDT (-0400)
  Re: Magazine Cover  
From: stm31415
Date: 21 Apr 2005 15:10:01
Message: <web.4267f9ac947112e4ed2d973a0@news.povray.org>
"Dave Matthews" <dma### [at] wrmnwestmnscuedu> wrote:
>
> Only one other comment: Wouldn't the word in the footprint be backwards?  Or
> is it backwards on the tread?  (More likely, artistic license....)
>

Well, see, here's the thing about that. What you overlooked is HEY LOOK! A
DISTRACTION! *runs*

Yeah, I can't frankly say I was thinking about that, because I don't want it
backwards.

Now the thing I'm playing with is water profiles, but while before I was
using a spline (sphere_sweeped and then randome points selected inside),
now I am using a random walk fractal:

#declare whitewater =
 blob {      // blob the sucker
 threshold 0.6
 #declare loc = <0, 0, 0>;   // initialize point location
 #declare runs = 0;   // initialize iteration variable
 #declare waterseed = seed(143);  // random seed
 #while(i<1000)    // begin random walk
         #declare die = rand(s)*2; // roll a 'die' to transform
         #if(die>=1)
          #declare loc = vaxis_rotate(loc*.5, y, -10); // the
         #end
         #if(die <1)
          #declare loc = vaxis_rotate((loc*.5+<0, 0, .5>), y, 10);
         #end
         sphere{                         //element
                        <0, -.0125, 0>, .025, 1
                        pigment{rgbf <1, 1, 1, .1>}
                        finish{specular .765 reflection .25 phong .5}
                        translate loc
                }                               //element
         #declare i = i+1;               // increase iterant
 #end
 }

The problem is, while that gives me excellent whitewater, I can't find a way
to make the clear water fit this profile. Any ideas?

-S
5TF!


Post a reply to this message

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