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
3 Dec 2024 12:31:41 EST (-0500)
  Re: Photons, in version 3.6 to 3.7  
From: Alain
Date: 8 May 2019 16:01:49
Message: <5cd335ad@news.povray.org>
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-2023 Persistence of Vision Raytracer Pty. Ltd.