POV-Ray : Newsgroups : povray.advanced-users : Photons, in version 3.6 to 3.7 : Re: Photons, in version 3.6 to 3.7 Server Time: 26 Jun 2019 19:57:28 GMT
  Re: Photons, in version 3.6 to 3.7  
From: Alain
Date: 8 May 2019 20:01:49
Le 19-05-08 à 10:11, Albun a écrit :
> 
>
> 
> 
> 
> 
Can you try using the object's photons block without the macro?
It's OK for any object to have a photons block in a non-photons scene. 
It will just have no effect.

Your sample sphere will look like :

sphere { <0,0,0>, 1.00
          texture { GlassTex} // end of texture
          interior {Interior}
//// The following is a "no op" in non-photon scene /////////
  photons {
    target
    collect off
    reflection off
    refraction on
   }
/////////////

         no_image   ///////////////////////

           scale<1,1,1>  rotate<0,0,0>  translate<0,1.35,0>

        }  // end of sphere -----------------------------------


Alain


Post a reply to this message

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