Closed hemanth-x closed 5 months ago
I'm also having this issue with Blender 4.0 on MacOS Apple Silicon, but the Texture Generation model isn't working for me either.
Using the command-line-rendering branch solves the problem for me.
I simply changed this line of code in engine/annotations/depth.py, works fine now!
Mind you I had the same issue in Windows with an AMD Ryzen 9 and an Nvidia Rtx3060Ti, Blender 4.0.3
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Description
Python: Traceback (most recent call last): File "/Users/hemanthsubbiah/Library/Application Support/Blender/4.0/scripts/addons/dream_textures/engine/annotations/depth.py", line 32, in _execute shader = gpu.shader.from_builtin('3D_UNIFORM_COLOR') ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '3D_UNIFORM_COLOR'
Steps to Reproduce
Expected Behavior
Works as expected in Blender 3.5x versions, but not working in Blender 4.0. Used same machine. The texture generation model works as expected in Blender 4.0 though. Only the depth model is having issue.
Addon Version
macOS (Apple Silicon)
GPU
Apple Silicon