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_and' not supported #2

Open
H-tr opened this issue May 7, 2024 · 0 comments
Open

'bitwise_and' not supported #2

H-tr opened this issue May 7, 2024 · 0 comments

Comments

@H-tr
Copy link

H-tr commented May 7, 2024

Hi! Thanks for the great work. However, when I was trying to convert the mesh, I got the following problem

Encoding custom attributes in UVs...
Traceback (most recent call last):
  File "/media/run/Extend/tmp/BakedSDF2FBX/BakedSDF2FBX.py", line 103, in <module>
    EncodeSHDataInUVs(path, args.skip_fbx)
  File "/media/run/Extend/tmp/BakedSDF2FBX/BakedSDF2FBX.py", line 35, in EncodeSHDataInUVs
    exp = PackInExponents(scale)
  File "/media/run/Extend/tmp/BakedSDF2FBX/BakedSDF2FBX.py", line 16, in PackInExponents
    e1 = int((x & 0xF) | 96) 
TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Do you have any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant