POV-Ray : Newsgroups : povray.binaries.images : Just dawdling Server Time
1 May 2024 21:38:00 EDT (-0400)
  Just dawdling (Message 11 to 20 of 70)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Kenneth
Subject: Re: Just dawdling
Date: 9 May 2016 19:25:01
Message: <web.57311b2e4e13f48533c457550@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> The strands utility definitely looks interesting.

Oops, I found it in the newsgroups, in binaries.utilities (September 2010)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Just dawdling
Date: 10 May 2016 02:54:23
Message: <5731859f$1@news.povray.org>
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.

-- 
Thomas


Post a reply to this message

From: William F Pokorny
Subject: Re: Just dawdling
Date: 10 May 2016 07:37:30
Message: <5731c7fa$1@news.povray.org>
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.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Just dawdling
Date: 10 May 2016 07:55:26
Message: <5731cc2e$1@news.povray.org>
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


Post a reply to this message

From: Simon J  Cambridge
Subject: Re: Just dawdling
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

From: Thomas de Groot
Subject: Re: Just dawdling
Date: 13 May 2016 08:03:45
Message: <5735c2a1@news.povray.org>
On 13-5-2016 11:43, Simon J. Cambridge wrote:
> 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.

No thanks. All praise goes to Sam Benge for these tools. And yes, like 
we all, there is a lot we miss one way or another.

-- 
Thomas


Post a reply to this message

From: nemesis
Subject: Re: Just dawdling
Date: 13 May 2016 12:40:00
Message: <web.5736024e4e13f48591327a850@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> ...which brings me to A Portrait of the Artist as an Eroded Gentleman.
>
> --
> Thomas

you look rock solid :)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Just dawdling
Date: 14 May 2016 02:50:19
Message: <5736caab@news.povray.org>
On 13-5-2016 18:35, nemesis wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> ...which brings me to A Portrait of the Artist as an Eroded Gentleman.
>>
>> --
>> Thomas
>
> you look rock solid :)
>

Don't let appearances mislead you ;-)

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Just dawdling
Date: 16 May 2016 03:32:42
Message: <5739779a@news.povray.org>
I need a bit of help. I made a depth_map of a Poser head (see attached) 
and thought that using it in the Rockhead code would be straightforward. 
It is, except that the face remains flat with hardly a hint of features. 
I believe there is nothing wrong with the depth_map itself, so how can I 
improve on this? Here is the basic code used:

//==start code==============================
#declare granite_rock=
texture{
  pigment{
   pigment_pattern{
    bumps scale .15
   }
   pigment_map{
    [-.2 rgb 1]
    [.5
     crackle solid scale .0125/4
     color_map{
      [0 rgb 1]
      [.5 rgb <1,.875,.75>-.5]
      [1 rgb 0]
     }
    ]
   }
  }
  normal{crackle 1 solid  scale .0125/4}
  finish{brilliance .5 diffuse .785}
}

#declare rock=
function{
   pigment {
     spherical //or:
     //boxed
     pigment_map {
       [0.0 rgb 0]
       [0.5 pigment_pattern {
              image_map {
                png"Mapping_test.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]
     }
   }
}

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}
}
//==end code================================

Thanks!

-- 
Thomas


Post a reply to this message


Attachments:
Download 'mapping_test.png' (48 KB)

Preview of image 'mapping_test.png'
mapping_test.png


 

From: Le Forgeron
Subject: Re: Just dawdling
Date: 16 May 2016 04:16:34
Message: <573981e2@news.povray.org>
Le 16/05/2016 09:32, Thomas de Groot a écrit :
> I need a bit of help. I made a depth_map of a Poser head (see attached) and thought
that using it in the Rockhead code would be straightforward. It is, except that the
face remains flat with hardly a hint of features. I believe there is nothing wrong
with the depth_map
> itself, so how can I improve on this? Here is the basic code used:
> ================================
> 
> Thanks!
> 
If it can help... look at attached scene

then compare with your scene. (and please next time, give me camera & light sources
too)


Post a reply to this message


Attachments:
Download 'dep.png' (273 KB) Download 'dep.pov.txt' (2 KB)

Preview of image 'dep.png'
dep.png

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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