POV-Ray : Newsgroups : povray.binaries.images : pattern blend Server Time
6 Nov 2024 18:26:15 EST (-0500)
  pattern blend (Message 1 to 10 of 66)  
Goto Latest 10 Messages Next 10 Messages >>>
From: And
Subject: pattern blend
Date: 2 Mar 2018 10:30:01
Message: <web.5a996d03fe35f84f1c2f7e850@news.povray.org>
Use some codes to modify photos.



#declare p_modify1 =
pigment{
    pigment_pattern{p_original}
    pigment_map{
    #for(i,0,255)
        [i/255,
        bumps
        scale 1/input_wide_res
        scale 4.8
        rotate <0,0,20>
            color_map{
            [0.2+0.6*(1-pow(i/255,1/3)) rgbt<0,0,0,0.1>]
            [0.2+0.6*(1-pow(i/255,1/3)) rgbt<0,0,0,0.9>]
            }
        ]
    #end
    }
}


Post a reply to this message


Attachments:
Download 'photos1.jpg' (1852 KB)

Preview of image 'photos1.jpg'
photos1.jpg


 

From: And
Subject: Re: pattern blend
Date: 2 Mar 2018 10:55:01
Message: <web.5a9973be8351d7b01c2f7e850@news.povray.org>
Another test

#declare p_modify1 =
pigment{
    pigment_pattern{p_original}
    pigment_map{
    #for(i,0,255)
        [i/255,
        bumps
        scale 1/input_wide_res
        scale 0.8
        rotate <0,0,20>
            color_map{
            [0.2+0.6*(1-pow(i/255,1/3)) rgbt<0,0,0,0.1>]
            [0.2+0.6*(1-pow(i/255,1/3)) rgbt<0,0,0,0.9>]
            }
        ]
    #end
    }
}


Post a reply to this message


Attachments:
Download 'photo2.jpg' (732 KB)

Preview of image 'photo2.jpg'
photo2.jpg


 

From: Kenneth
Subject: Re: pattern blend
Date: 2 Mar 2018 19:45:00
Message: <web.5a99efa78351d7b0a47873e10@news.povray.org>
VERY cool. I like both images. Thanks for the interesting code.

With some appropriate functions maybe-- to split the original color image into 3
functions-- you might be able to do all three *color* channels in a similar way,
for a painterly 'pointilism' effect.


Post a reply to this message

From: Thomas de Groot
Subject: Re: pattern blend
Date: 3 Mar 2018 03:05:56
Message: <5a9a5764$1@news.povray.org>
On 3-3-2018 1:43, Kenneth wrote:
> VERY cool. I like both images. Thanks for the interesting code.
> 
> With some appropriate functions maybe-- to split the original color image into 3
> functions-- you might be able to do all three *color* channels in a similar way,
> for a painterly 'pointilism' effect.
> 

It is a bit like your airbrush.

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: pattern blend
Date: 3 Mar 2018 08:00:01
Message: <web.5a9a9bee8351d7b01792537a0@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> VERY cool. I like both images. Thanks for the interesting code.
>
> With some appropriate functions maybe-- to split the original color image into 3
> functions-- you might be able to do all three *color* channels in a similar way,
> for a painterly 'pointilism' effect.

I ever split it into 3 functions. But re-composite them using this code the
result is weird.

I often using it to create two color image.


Post a reply to this message


Attachments:
Download 'image_render_enviroment 19.png' (575 KB)

Preview of image 'image_render_enviroment 19.png'
image_render_enviroment 19.png


 

From: And
Subject: Re: pattern blend
Date: 3 Mar 2018 08:10:02
Message: <web.5a9a9dda8351d7b01792537a0@news.povray.org>
This time using quilted

#declare p_modify1 =
pigment{
    pigment_pattern{p_original}
    pigment_map{
    #for(i,0,255)
        [i/255,
        quilted control0 0.5 control1 1
        scale 1/input_wide_res
        scale 4.8
        rotate <0,0,20>
            color_map{
            [0.2+0.6*(1-pow(i/255,1/3)) rgb<0.24, 0.167, 0.167>]
            [0.2+0.6*(1-pow(i/255,1/3)) rgb<1,1,0.9>]
            }
        ]
    #end
    }
}


Post a reply to this message


Attachments:
Download 'image_render_enviroment 18 quilted.png' (1761 KB)

Preview of image 'image_render_enviroment 18 quilted.png'
image_render_enviroment 18 quilted.png


 

From: And
Subject: Re: pattern blend
Date: 3 Mar 2018 08:10:03
Message: <web.5a9a9ea28351d7b01792537a0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 3-3-2018 1:43, Kenneth wrote:
> > VERY cool. I like both images. Thanks for the interesting code.
> >
> > With some appropriate functions maybe-- to split the original color image into 3
> > functions-- you might be able to do all three *color* channels in a similar way,
> > for a painterly 'pointilism' effect.
> >
>
> It is a bit like your airbrush.
>
> --
> Thomas

I'd like to see.


Post a reply to this message

From: Norbert Kern
Subject: Re: pattern blend
Date: 3 Mar 2018 13:30:02
Message: <web.5a9ae85a8351d7b0452216fa0@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:

> I ever split it into 3 functions. But re-composite them using this code the
> result is weird.
>
> I often using it to create two color image.


I agree to Kenneth - very cool methods - and thanks for the code.
With 3 functions I got this nice image ("glasses" from Hall of Fame as input).

Norbert


Post a reply to this message


Attachments:
Download 'pattern_blend_color.jpg' (629 KB)

Preview of image 'pattern_blend_color.jpg'
pattern_blend_color.jpg


 

From: Kenneth
Subject: Re: pattern blend
Date: 3 Mar 2018 17:45:01
Message: <web.5a9b24368351d7b0a47873e10@news.povray.org>
"Norbert Kern" <nor### [at] t-onlinede> wrote:
> With 3 functions I got this nice image ("glasses" from Hall of Fame as input).
>

YES! Very impressive. You picked a good image to work with, too, nice color
values.


Post a reply to this message

From: Thomas de Groot
Subject: Re: pattern blend
Date: 4 Mar 2018 02:40:27
Message: <5a9ba2eb@news.povray.org>
On 3-3-2018 14:09, And wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> On 3-3-2018 1:43, Kenneth wrote:
>>> VERY cool. I like both images. Thanks for the interesting code.
>>>
>>> With some appropriate functions maybe-- to split the original color image into 3
>>> functions-- you might be able to do all three *color* channels in a similar way,
>>> for a painterly 'pointilism' effect.
>>>
>>
>> It is a bit like your airbrush.
>>
>> --
>> Thomas
> 
> I'd like to see.
> 

http://news.povray.org/povray.binaries.images/thread/%3C48295282%40news.povray.org%3E/

-- 
Thomas


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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