-
Notifications
You must be signed in to change notification settings - Fork 89
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
Rendering issues (Maybe only on Mac M1?) #462
Comments
Thank you for your bug report. This bug was introduced well over 2 years ago, in version 2.79, so it is strange that it went unreported for so long. The root of the problem is that MacOS does not give you access to the key architectural feature (SSBO) required for transparency. A very approximate work around is implemented that can handle some very simple cases, but unfortunately this bug prevented this fallback code from working at all. The best solution would be to abandon OpenGL (which has not been maintained by Apple for about a decade now) and switch over to the Vulkan version of Asymptote, which is currently in the branch vulkan. However, it doesn't work yet on all MacOS platforms. Help from users in testing the vulkan branch under MacOS platforms would be appreciated, as I don't have access to a machine with Metal support. |
I am sadly just a mere mortal, but the stack exchange post is actually 1.5 years old, I was just not aware of this repository here. For a mere mortal who would even have to check whether I have asymptote installed via home-brew or the LaTeX package manager, how would I “switch over”? edit: I do not even see what or where a “vulkcan” version is, since this repo does not even have any readme. But it is also c/c++ code and I would have zero clues how to compile that (again, I am merely a poor mortal born a bit late to speak assembler as my mother tongue). |
Stack exchange isn't really meant for posting bug reports; we don't automatically get notified of issues posted there. |
Well until 8. hours ago I did not think that was a but, but mainly me being too stupid to use Asymptote. |
Hi,
first of all thanks for proving such a nice package – it has helped me generating great 3D graphics for a lot of years.
However, a while back, rendering on M1 Macs stopped working correctly. I already posted bout it here, but though maybe posting it as an issue here as well might draw some attention, since I seem to not be the only one having the problem.
If I take the code
and would like to render this with
asy -render 4 -f png temp.asy
(in order to get a high resolution result for a paper say), I getSo the sphere is cut off and (persistently) only the bottom left part is (a bit) rendered, the rest is not.
What might be the reasons?
The text was updated successfully, but these errors were encountered: