POV-Ray : Newsgroups : povray.newusers : Sponge : Re: Sponge Server Time
28 Jul 2024 18:22:59 EDT (-0400)
  Re: Sponge  
From: Sherry Shaw
Date: 15 Dec 2007 19:24:24
Message: <47647038@news.povray.org>
Archpawn wrote:
> I need to make a sponge. The kitchen kind, not the cool mathematical surface.
> I've tried making it using an isosurface with f_noise3d. It looked almost, but
> not quite, entirely unlike a sponge. The second thing I tried was making a
> script to show a huge number of spheres clipped by each other and the rectangle
> that contained them. That one was recognizable as a sponge, but barely. It's
> going to be the main part of the picture, so I can't just use a spongy texture.
> All I can think of is essentially using an actual picture of one. Any ideas?
> 
> 

I'm thinking that, if the isosurface looked *almost* like a sponge, it 
might just be a matter of "tweaking" the texture or the function 
parameters.  Could you post a bit of sample code for us to play with?

--Sherry Shaw


-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

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