POV-Ray : Newsgroups : povray.newusers : Sponge : Re: Sponge Server Time
28 Jul 2024 18:27:10 EDT (-0400)
  Re: Sponge  
From: Archpawn
Date: 22 Dec 2007 16:20:00
Message: <web.476d7f72d68f7f9f9c37dbc40@news.povray.org>
Sherry Shaw <ten### [at] aolcom> wrote:
> ...
> Might I ask whether you're going for an actual, natural sponge or a foam
> rubber spongelike object?  (Which would probably make the difference
> between (a) an isosurface modeling a rather crinkly thingy and (b) a
> block of utterly unnatural stuff with holes in it, and possibly a layer
> of Brillo-like stuff attached to the bottom...)
> ...
> Bear in mind that, whichever you choose, a good granite normal will hide
> a multitude of sins...  ;)
> ...
I'm going for b. the unnatural stuff. I'm modeling it somewhat after the sponge
at
http://www.nortonprocleaning.com/Media/Documents/S0000000000000001051/Sponge%20Pads%20-%20Cellulose%20Sponge.jpg
I tried using a granite normal. It doesn't seem to work. What I'm considering
doing is using an isosurface for the bigger holes, and surface normals (or
another isosurface, if possible) for the smaller ones. The problem is, I can't
find a pattern that works. I might be able to make a function to do it, but it
wont seem to let me use rand() in them. Specifically, I'd use
rand(seed(floor(x)), or something to that extent.


Post a reply to this message

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