POV-Ray : Newsgroups : povray.binaries.scene-files : AT Devil Plate : Re: AT Devil Plate Server Time
9 May 2025 21:31:45 EDT (-0400)
  Re: AT Devil Plate  
From: Bald Eagle
Date: 28 Apr 2025 14:30:00
Message: <web.680fc86bd1f5ea8eb00a87a025979125@news.povray.org>
Try Mike Williams' isosurface thickening trick:

Thickening
If we have a function F(x,y,z) we can turn it into two parallel surfaces by
using abs(F(x,y,z))-C where C is some
small value. The original function should be one that works with zero threshold.
The two resulting surfaces are
what you would get by rendering the original function with threshold +C and -C,
but combined into a single
image. The space between the two surfaces becomes the "inside" of the object. In
this way we can construct
things like glasses and cups that have walls of non-zero thickness.
#declare F = function {y + f_noise3d (x*2, 0, z*2)}
isosurface {
function {abs (F(x, y, z))-0.1}
....


Post a reply to this message

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