POV-Ray : Newsgroups : povray.newusers : isosurfaces, textures and csg difference. : isosurfaces, textures and csg difference. Server Time
30 Jul 2024 10:22:43 EDT (-0400)
  isosurfaces, textures and csg difference.  
From: Bill Hails
Date: 30 May 2004 06:10:45
Message: <40b9b325@news.povray.org>
Hi.
I'm getting back into things after an enforced hiatus,
so here's a question.

I'm trying to use a perturbed isosurface to subtract some
damage (chips etc.) from some csg stonework.

The actual code is quite complex, but essentially I have:

difference {
    object { Stonework }
    isosurface {
        // isosurface cylinder + pigment function
    }
    texture { T }
}

The pigment function is the same as the pigment used by T.

The max_gradient is set so that there are no warnings,
however the common surface looks a *lot* darker than
the rest of the stonework (but not just black).

There is too much interdependant code to post that, but
I'll put a little pic on p.b.i to illustrate.

Hope someone can help.

-- 
Bill Hails
http://thyme.homelinux.net/


Post a reply to this message

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