POV-Ray : Newsgroups : povray.binaries.images : How to Make a Surface "Porous"? Server Time: 18 Jun 2019 04:47:12 GMT
 How to Make a Surface "Porous"? (Message 1 to 5 of 5)
 From: Sven Littkowski Subject: How to Make a Surface "Porous"? Date: 30 Mar 2018 02:32:30 Message: <5abda1be@news.povray.org>
```Hi wonderful POV-Ray community citizens,

here is again a new question that came up while working for a customer
of mine.

I have a blob item, irregular shape. Creating the general shape that I
need, is not my problem. But I need to know, how to "destroy" the
surface in a way, that it looks porous like seen in the attached photo.
Can this be done with a special NORMAL statement? If so, how would such
a statement look?

Or if it is a function, then I need full assistance as i am not good
with functions.

Please advise, big thanks in advance.

---
Diese E-Mail wurde von AVG auf Viren geprÃ¼ft.
http://www.avg.com
```

Attachments:
Download 'untitled-1.jpg' (621 KB)

Preview of image 'untitled-1.jpg'

 From: Norbert Kern Subject: Re: How to Make a Surface "Porous"? Date: 30 Mar 2018 05:55:01 Message:
```Sven Littkowski <I### [at] SvenLittkowskiname> wrote:
> Hi wonderful POV-Ray community citizens,
>
> here is again a new question that came up while working for a customer
> of mine.
>
> I have a blob item, irregular shape. Creating the general shape that I
> need, is not my problem. But I need to know, how to "destroy" the
> surface in a way, that it looks porous like seen in the attached photo.
> Can this be done with a special NORMAL statement? If so, how would such
> a statement look?
>
> Or if it is a function, then I need full assistance as i am not good
> with functions.
>
> Please advise, big thanks in advance.

Hi Sven,

look at the code given by Tek -
http://news.povray.org/povray.binaries.images/thread/%3C487a8fb0%40news.povray.org%3E/
..

You can use the pigment as an pigment_pattern in a normal statement.
Code is very flexible dependent on the color_map you use in the pigment_pattern.
I showed some examples in this thread -
http://news.povray.org/povray.binaries.images/thread/%3Cweb.569134bed4c0a323b221960d0%40news.povray.org%3E/?ttop=418382
&toff=250
..

Norbert
```
 From: Sven Littkowski Subject: Re: How to Make a Surface "Porous"? Date: 30 Mar 2018 07:58:15 Message: <5abdee17\$1@news.povray.org>
```Those sample images are amazing! Very inspiring!
Thanks.

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com
```
 From: Alain Subject: Re: How to Make a Surface "Porous"? Date: 31 Mar 2018 16:11:50 Message: <5abfb346\$1@news.povray.org>
```Le 18-03-29 Ã  22:32, Sven Littkowski a Ã©critÂ :
> Hi wonderful POV-Ray community citizens,
>
> here is again a new question that came up while working for a customer
> of mine.
>
> I have a blob item, irregular shape. Creating the general shape that I
> need, is not my problem. But I need to know, how to "destroy" the
> surface in a way, that it looks porous like seen in the attached photo.
> Can this be done with a special NORMAL statement? If so, how would such
> a statement look?
>
> Or if it is a function, then I need full assistance as i am not good
> with functions.
>
> Please advise, big thanks in advance.
>
>
> ---
> Diese E-Mail wurde von AVG auf Viren geprÃ¼ft.
> http://www.avg.com
>

I'd use a combination of methods.

First, for the largest holes, you should use negative strength blob
components to actually dig the largest holes. Use cylinder components.
Those holes will automatically tapper as they go deeper. Also, add some
small positive elements to add some bumps to the surface.

Next, for the finer details, add some normal perturbations complemented
with some pigment. The pigment and normals don't need to match, you can
use some totally different patterns here.
```
 From: Sven Littkowski Subject: Re: How to Make a Surface "Porous"? Date: 26 Apr 2018 00:08:49 Message: <5ae11891@news.povray.org>
```Okay, for the amusement, I am posting now some of my results of creating
a "horizon haze". Not finish yet, but the first results are from ...
some other dimension.

---
Diese E-Mail wurde von AVG auf Viren geprÃ¼ft.
http://www.avg.com
```

Attachments:
Download 'horizon haze - 01.jpg' (96 KB)

Preview of image 'horizon haze - 01.jpg'