POV-Ray : Newsgroups : povray.binaries.images : Just dawdling : Re: Just dawdling Server Time
16 May 2024 00:59:33 EDT (-0400)
  Re: Just dawdling  
From: Simon J  Cambridge
Date: 13 May 2016 05:45:00
Message: <web.5735a1b94e13f485dcc92c470@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 10-5-2016 13:37, William F Pokorny wrote:
> > On 05/10/2016 02:54 AM, Thomas de Groot wrote:
> >> On 10-5-2016 1:20, Kenneth wrote:
> >>> "Kenneth" <kdw### [at] gmailcom> wrote:
> >>>> The strands utility definitely looks interesting.
> >>>
> >>> Oops, I found it in the newsgroups, in binaries.utilities (September
> >>> 2010)
> >>>
> >>>
> >>>
> >> I could not have been more precise. I picked them up at the moment when
> >> Sam made them available and did not really note down a location, except
> >> for the date.
> >>
> >> According to my info, rockhead1.pov dates back to 2007. I think there
> >> was an image, so p.b.i. should be a first guess.
> >>
> >> There are still a lot of utilities from Sam that I have not really tried
> >> out. I pick things up when they come by and then put them on the shelf.
> >>
> >
> > If anyone - Sam? - has a pointer to the original theory or perhaps
> > source code for the strands technique I would appreciate it. I've done
> > some searches with the word strands, but come up empty and I don't quite
> > see what is being done.
> >
> > I picked up the exe too, but it would not run under wine for me & it is
> > an effect I would like to try.
> >
> > On the image, Thomas, are the floating shapes at the edges from an
> > underlying isosurface then? The general look I like.
> >
> > Bill P.
>
> Yes the general shapes are isosurfaces. This is the (Sam-based) code for
> the head:
>
> #declare rock=
> function{
>    pigment {
>      //spherical //or:
>      boxed
>      pigment_map {
>        [0.0 rgb 0]
>        [0.5 pigment_pattern {
>               image_map {
>                 //png"rockman.png" gamma 1.0 interpolate 2
>                 //png"TdG_rock_01.png" gamma 1.0 interpolate 2
>                 png"t_degroot01.png" gamma 1.0 interpolate 2
>                 //png"Sam Benge Strands/strands_003.png" gamma 1.0
> interpolate 2
>               }
>               translate-(x+y)/2
>               scale 2
>             }
>             pigment_map {
>               [0.0 rgb 0]
>               [0.5 granite
>                    scale <5, 0.5, 5>
>                    poly_wave 0.5
>                    rotate z*12
>                    color_map {
>                      [0 rgb 0.25]
>                      [1 rgb 0.75]
>                    }
>               ]
>               [1.0 rgb 1]
>             }
>        ]
>        [1.0 rgb 1]
>      }
>    }
> }
>
> and the isosurface used:
>
> isosurface {
>    function {
>      0-rock(x,y,z).grey+0.05
>    }
>    accuracy 0.001
>    max_gradient 2
>    all_intersections
>    contained_by {box {<-1,-1,-1>,<1,1,1>}}
>    texture {granite_rock}
> }
>
> The strands output image is used in Gimp in combination with the
> portrait and additional layers, to get a final image.
>
> --
> Thomas

Thank you Thomas! More lovely toys to play with. And I love the images. Lots of
food for thought.

I really must dive through the binaries. Clearly there is a lot I have missed.


Post a reply to this message

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