Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitwise_... functions not working in user defined functions #446

Open
ingoogni opened this issue Jul 9, 2022 · 0 comments
Open

bitwise_... functions not working in user defined functions #446

ingoogni opened this issue Jul 9, 2022 · 0 comments
Labels
bug? reported as bug; triage pending

Comments

@ingoogni
Copy link

ingoogni commented Jul 9, 2022

The scene below results in the error "Expected 'function identifier', } found instead".
It seems the three bitwise_... functions are not usable in / available to user defined functions
Could it be made so?

POV-Ray Version

3.7.xx, 3.8.xx

Runtime Environment

Win10

Scene

#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>
}
@ingoogni ingoogni added the bug? reported as bug; triage pending label Jul 9, 2022
@ingoogni ingoogni changed the title [BUG] bitwise_... functions not working in user defined functions Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? reported as bug; triage pending
Projects
None yet
Development

No branches or pull requests

1 participant