POV-Ray : Newsgroups : povray.animations : Photons : Re: Photons Server Time
26 Jun 2024 14:18:16 EDT (-0400)
  Re: Photons  
From: Hughes, B 
Date: 26 Feb 2004 21:53:09
Message: <403eb115$1@news.povray.org>
"Ken" <ken### [at] tagpovrayorg> wrote in message
news:403EA7B4.5F001F27@tag.povray.org...
>
> "Tim Nikias v2.0" wrote:
>
> > First: povray.animations might be the wrong group for this kinda post,
cause
> > there's nothing that has to do with animations in your problem...
>
> povray.newusers would be the appropriate group for this type of question.

Maybe it was going to animated later.  ;-)

Not only is the Box object not reflective (or anything else), it just
doesn't make sense what it's doing there. Maybe was to be a container for
the media? Those two planes are obvious anyhow, for top and bottom surfaces
while having separate textures. If photons are to hit the bottom plane
though, it really shouldn't be black. Maybe media scattering was only thing
in mind and not for there to be dappled light reaching the bottom. Sorry if
I am speculating too much.

So... there *is* a water material and the object its applied to. It ought to
be the thing with a photons statement most of all.

Doing the following might be correct if the box is intended as basin for
water:

#declare waterbase = plane
{
  -y,-1
  pigment { color rgb 0 }
}

#declare watertop = plane
{
  y, 0
  material {watermaterial}
}

#declare water = union
{
  object {waterbase}
  object {watertop}
}

#declare Box = intersection {
box
{
  <-100,-1.001,25>,<100,0.001,100>
}
object
{
  water
}
}

object
{
  Box
  photons
  {
    target 0.5
    reflection on
    refraction off
  }
 hollow // for media to show
}

That red Ball doesn't need photons block unless to specify 'collect off' for
it or it gets a reflection added to the texture, like Tim was saying. My
changes here make the whole scene different so it's still not clear to me
what was intended by it (the Box mainly).

-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

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