POV-Ray : Newsgroups : povray.binaries.images : interior_texture and shadows (26KBbu) : interior_texture and shadows (26KBbu) Server Time
15 Aug 2024 08:15:51 EDT (-0400)
  interior_texture and shadows (26KBbu)  
From: Philippe Debar
Date: 18 Jul 2002 08:42:46
Message: <3d36b7c6@news.povray.org>
Some experiments with interior_texture, shadows and reflection

interior_texture is always blue
(exterior) texture is always red

Striped pigment is for example:
       marble
      color_map{
        [0 color rgbf <0,0,1,.8>]
        [1 color rgbf 1]
      }
Plain pigment is for example:
    pigment{color rgb <.25, .25, .75>}


From back to front:
   Three whole spheres
   Three clipped spheres (so vision and light hit an interior_texture
without coming through a texture first)
   A clipped sphere with photons


From left to right:
   Striped filtering pigment for interior and exterior
   Striped filtering pigment for interior, plain opaque for exterior
   Plain opaque pigment for interior, stripped filtering for exterior


I find the current (no photon) behaviour for shadows to be at least
unintuitive, even if it is understandable (raytracer shoot vision-rays, not
light-rays). Moreover, it is inconsistent with photons.

Is this difficult to fix and should it be fixed ?

(I "found" this while trying to get an object to be no_shadow for, and only
for, the light_source it contains, see "Help - Lost in shadows and
light_groups" in p.g)



Povingly,


Philippe


Post a reply to this message


Attachments:
Download 'inttextshadows.jpg' (26 KB)

Preview of image 'inttextshadows.jpg'
inttextshadows.jpg


 

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