POV-Ray : Newsgroups : povray.general : Media Confusion : Re: Media Confusion Server Time
8 Aug 2024 16:14:52 EDT (-0400)
  Re: Media Confusion  
From: Dawn McKnight
Date: 18 Nov 2000 00:45:04
Message: <3A16175D.6CFEB14@mac.com>
Margus Ramst wrote:
> If you use the declared I_Glass interior, then the above will work, yes (of
> course it's media{...} not media[...]).

Thanks, Margus.

I came home and played with that, and I'm getting an odd behavior that's
making me want to tear my hair out, and I'm hoping someone will have
some insight that will show me the error of my logic.

Let's say I have a cylinder, which I want to fill with media.  I declare
the cylinder, everything's fine, I make it hollow, I apply the texture
(T_Glass3), I apply the media, great.

Except that the hollow keyword causes a very thin skin of glass on a
volume of media, which isn't actually what I want... I want a fairly
thick skin of glass.  So, I do a CSG difference, and scale the cylinder
smaller, use it to difference the larger version of itself, and try
applying media to the CSG object... and get nothing useful.

So I try setting the CSG object hollow, and I get an interesting, but
not useful effect... the area between the two cylinder walls fills with
media.  I look at the documentation for the hollow keyword, try
explicitly setting the larger cylinder not hollow, and the smaller one
hollow, fill with media... and get nothing useful.

How do I get the media to go into the 'hole' created by the smaller
cylinder when it's differenced from the larger one?


-- 
Dawn McKnight      | "Who cares what the hipbone's connected to? I'm in Neurology!"
McK### [at] maccom   |					-- Justine Devlin, M.D.


Post a reply to this message

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