POV-Ray : Newsgroups : povray.general : Possibility to assign photons to certain material? : Re: Possibility to assign photons to certain material? Server Time
2 Nov 2024 15:24:19 EDT (-0400)
  Re: Possibility to assign photons to certain material?  
From: Christoph Hormann
Date: 10 Feb 2004 05:18:07
Message: <ivmmf1-9qf.ln1@triton.imagico.de>
Warp wrote:
> 
>   That's a good idea, but I wonder if the 'photons' block should
> be a part of the 'material' block...
> 
>   How would this look like?
> 
> material
> { texture { ... }
>   interior { ... }
>   photons { ... }
> }

I don't think this would be a good idea, the way it is right now people 
recognize that photons are shot at objects and not at materials.  In 
fact photon shooting does not care about the material at all.

For example you could get the idea that assigning a material like:

material {
   texture {
     boxed
     texture_map {
       [0.5 Tex_Diffuse]
       [0.5 Tex_Reflective]
     }
   }
   photons { target reflection on }
}

to the whole scene could be reasonable.  This will lead to serious 
trouble though when your scene contains large or infinite objects.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 11 Jan. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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