POV-Ray : Newsgroups : povray.newusers : Finishes on blobs : Re: Finishes on blobs Server Time
30 Jul 2024 00:29:45 EDT (-0400)
  Re: Finishes on blobs  
From: Mike Williams
Date: 21 Dec 2004 15:36:57
Message: <lPqa8HAclIyBFwLW@econym.demon.co.uk>
Wasn't it Amazon_Warrior who wrote:
>Evening all!
> I'm a very new user of POVray, and am just dabbling in a bit of blob object
>generation.  However, I seem to have run into a problem.  I can make bits of
>my blob object different colours (by applying them to the induvidual
>components of the blob object), but when I try to apply a finish to the
>whole object, nothing seems to happen.  I've tried specifying my own finish
>properties, and also using those in the finish.inc file, but nothing seems
>to work.  Anyone have any advice?  I'd really like to crack this as I want
>to use blob objects in an animation!  A copy of my experimentation is pasted
>below:

It's my understanding that you can EITHER have textures on the
individual blob components OR have a texture on the whole blob, but you
can't have some of each. It doesn't work like CSG operations where bits
of the parent object texture propagates down to the components that
don't have their own texture information.

What you could do is change the default finish before creating the blob,
like this:

   default {finish {Mirror}}

If necessary, restore the normal defaults after you've created the blob,
like this:

   default {finish {ambient 0 diffuse 0.6 reflection 0}}

This is exactly equivalent to writing "finish {Mirror}" on each blob
component.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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