POV-Ray : Newsgroups : povray.newusers : if version patch present condition : if version patch present condition Server Time
2 May 2024 20:52:41 EDT (-0400)
  if version patch present condition  
From: Mr
Date: 27 Jan 2015 03:35:01
Message: <web.54c74d7e67f6cc9cc31ce6010@news.povray.org>
Hi, there is something I want to do with the version directive, could you
confirm it's possible? I want to add some options to a texture which are
specific
to uberpov in a scene, but still be able to run it with pov 3.7 just ignoring
them. would it be possible?

i am trying something along:


#declare Test = sphere
{ -1, 1
  pigment { rgb <0.9713, 0.7420, 0.3277> }
  finish
  { ambient 0 diffuse 0
    reflection { 1 metallic
    # ifdef ("upov-reflection-roughness")
        roughness 0.1
        #end
    }
    specular 1 metallic 1 roughness 0.0002
  }
}


but UPOV doesnt recognize the string so render is just plain reflection.


Post a reply to this message

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