POV-Ray : Newsgroups : povray.newusers : Odd problem with hollow sphere and "transmit 1" object inside? : Re: Odd problem with hollow sphere and "transmit 1" object inside? Server Time
30 Jul 2024 10:17:01 EDT (-0400)
  Re: Odd problem with hollow sphere and "transmit 1" object inside?  
From: Warp
Date: 6 Jun 2004 07:46:11
Message: <40c30403@news.povray.org>
Stephen McAvoy <mca### [at] aolcom> wrote:
> All Media must be inside a hollow object to be visible. Create a
> hollow box or sphere to contain your scene.

  There are many misconceptions here.

  Firstly, you don't need to contain *your scene* into a hollow object
to use media. You just need to contain *the media itself* inside a
hollow object. If you have media inside an object and it's not showing
up, the reason is something else.

  Secondly, even that is not completely true: Global media (not contained
by anything) is possible.
  Global media works a bit like 'fog' but with the additional features of
media (such as the different types of media, the patterns and the
modifiers). However, some of the features will only be visible if the
ray hits an object, ie. has a finite length (an example of such feature
is a lightbeam through scattering media).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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