s-leger / blender_cad_transforms

Precise CAD like transfoms for blender
GNU General Public License v3.0
75 stars 4 forks source link

Error enabling CAD Transform on MacOs M1 Blender 3.5 #97

Open klgc2 opened 1 year ago

klgc2 commented 1 year ago

When I click the box to enable CAD Transform in Blender 3.5, blender lists a half dozen file paths then "Exception: Shader compile error." I can't find a way to copy the output, and the output disappears if I try to take a screen shot. I'm on a MacBook Pro (2.6 GHz Quad-Core intel Core i7) using MacOS 12.6.3. I don't have another computer to test this on, just the two blender versions (3.4.1 and 3.5).

klgc2 commented 1 year ago

I'm trying Blender 3.5 Beta.

s-leger commented 1 year ago

Still unable to repro using blender 3.5 beta, looks like a blender's macOs build related issue.

s-leger commented 1 year ago

You must enable "OpenGl" backend in preferences -> system instead of "Metal" one. see https://projects.blender.org/blender/blender/issues/106304

zakkhoyt commented 1 year ago

You must enable "OpenGl"

That did work. Bummer to have to give up Metal but can make it work for now. Thx

(macbook pro m1 max / blender 3.5)

jikometrix commented 1 year ago

enable "OpenGl" backend in preferences -> system instead of "Metal" This worked for me too.

dr-igor commented 1 year ago

You must enable "OpenGl" backend in preferences -> system instead of "Metal" one. see https://projects.blender.org/blender/blender/issues/106304

Based on the issue you linked to, this is due to this add-on using the old API - is there a plan to update the add-on to use the new API?

amby commented 1 year ago

I've spent some time and updated shaders to make them work with Metal. Can't test OpenGL though, but should be fine as well. Haven't tested the whole functionality, but basics things like move, rotate, scale work fine.

Attached fixed files (from version 0.95.0).

fixes.zip