POV-Ray : Newsgroups : povray.general : How do you create a paint brush effect? Server Time
22 Dec 2024 16:11:12 EST (-0500)
  How do you create a paint brush effect? (Message 1 to 3 of 3)  
From: Kima
Subject: How do you create a paint brush effect?
Date: 25 Feb 2020 08:45:01
Message: <web.5e5523d58c37b9b9ecc0fada0@news.povray.org>
I wonder what shapes/objects can be used and manipulated to form a paintbrush on
the canvas, something like

https://cdn.imgbin.com/18/11/4/imgbin-oil-paint-paintbrush-watercolor-painting-paint-purple-paint-sticker-GPeinj6dEyvmi
KYTwDs7AaiA9.jpg

In the same context, how do you create a spatial object like

https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTtlV3vfVdQRULRJrpWyoqVjDFi9Y2faXwYksCJ57Pr1i_qaVE4

The reason I mentioned the latter is its similarity with julia_fractal. Perhaps,
the way julia_fractal is created in POV-Ray can be employed to build the above
images.


Post a reply to this message

From: Alain Martel
Subject: Re: How do you create a paint brush effect?
Date: 25 Feb 2020 11:16:34
Message: <5e554862$1@news.povray.org>
Le 2020-02-25 à 08:40, Kima a écrit :
> I wonder what shapes/objects can be used and manipulated to form a paintbrush on
> the canvas, something like
> 
>
https://cdn.imgbin.com/18/11/4/imgbin-oil-paint-paintbrush-watercolor-painting-paint-purple-paint-sticker-GPeinj6dEyvmi
> KYTwDs7AaiA9.jpg
> 
> In the same context, how do you create a spatial object like
> 
>
https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTtlV3vfVdQRULRJrpWyoqVjDFi9Y2faXwYksCJ57Pr1i_qaVE4
> 
> The reason I mentioned the latter is its similarity with julia_fractal. Perhaps,
> the way julia_fractal is created in POV-Ray can be employed to build the above
> images.
> 
> 

For the first, some creative use of normal could do the trick.

For the second, it can probably be achieved using an isosurface where 
you also manipulate the coordinates passed to the function : Having the 
X and Z coordinates affected by the sin and cos of the Y coordinate will 
cause the shape to twist in a similar way.

Try :
Func(x*sin(y), y, z+cos(y))
to see how it works.
Replace «Func» with some function of your won devising.


Post a reply to this message

From: Bald Eagle
Subject: Re: How do you create a paint brush effect?
Date: 25 Feb 2020 13:30:01
Message: <web.5e5566e2ccf78b184eec112d0@news.povray.org>
"Kima" <nomail@nomail> wrote:
> I wonder what shapes/objects can be used and manipulated to form a paintbrush on
> the canvas, something like
>
>
https://cdn.imgbin.com/18/11/4/imgbin-oil-paint-paintbrush-watercolor-painting-paint-purple-paint-sticker-GPeinj6dEyv
mi
> KYTwDs7AaiA9.jpg

When I was looking to do a quick & dirty "painted" effect, I used a bump normal
and just scaled it really big in one direction to stretch it.

I suppose you could actually make a bumpy object and create a loop to make a
sort of sphere sweep, and even vary the bumpiness to give the flexible bristle
effect.
Then just bury it under the surface so some sticks out, or difference away the
irrelevant part.

> In the same context, how do you create a spatial object like
>
>
https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTtlV3vfVdQRULRJrpWyoqVjDFi9Y2faXwYksCJ57Pr1i_qaVE4
>
> The reason I mentioned the latter is its similarity with julia_fractal. Perhaps,
> the way julia_fractal is created in POV-Ray can be employed to build the above
> images.

Play around here:

http://www.econym.demon.co.uk/isotut/splines.htm

and see what you like.


Post a reply to this message

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