POV-Ray : Newsgroups : povray.general : bitwise_.. in funtions? : bitwise_.. in funtions? Server Time
18 Apr 2024 22:23:11 EDT (-0400)
  bitwise_.. in funtions?  
From: ingo
Date: 9 Jul 2022 05:38:11
Message: <XnsAECF765E095FEseed7@news.povray.org>
The scene below results in "Expected 'function identifier', } found 
instead".

Are the three bitwise_.. functions not usable in functions? Bug? Me?

Ingo

---%<---%<---%<---

#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }} 

plane{ 
  <0,1,0>, 0 
  texture{ 
    pigment{ 
      function{bitwise_xor(x, y, z)}
    }
  }
}

light_source{< 3000,3000,-3000> rgb 1}

camera {
  angle 75
  location <0.0 , 3.0 ,-3.0>
  right x*image_width/image_height
  look_at  <0.0 , 1.0 , 0.0>
}

---%<---%<---%<---

-- 
https://ingoogni.nl


Post a reply to this message

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