POV-Ray : Newsgroups : povray.binaries.images : How to Make a Surface "Porous"? : Re: How to Make a Surface "Porous"? Server Time
26 Apr 2024 07:11:40 EDT (-0400)
  Re: How to Make a Surface "Porous"?  
From: Alain
Date: 31 Mar 2018 12: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.


Post a reply to this message

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