-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Mac OS X Lion && Intel GPU: Lighting on surface faces goes completely black [$5] #71
Comments
I've seen this as well, but only on Mac OS X Lion on an Intel GPU (Macbook Air). |
I'd be willing to go digging around to find a fix, though I'd need help in suggestions about where to start to look. Where in the code base should I start looking to get familiar with it, and also which parts would you suspect to be related to this problem? |
FWIW the same issue exist when using thingiview on thingiverse with lion + intel GPU |
if you would be able to try compiling and running the regression tests, it can help narrow down things quite a bit. (see doc/testing.txt) . you need to install cmake, imagemagick, and python |
Hm, sounds like a deeper issue. I don't have a machine to test on, so if anyone wants to pursue this, it would be awesome. |
It's not issue of only MacBook Air but every lion machine with Intel HD3000 :-( |
Thanks god my macbook air is nvidia based and I was able to put ATI 6800 to my desktop :-) Now its fixed |
Is there any word on a fix for this? It's not a show stopper but it's definitely annoying when designing new things that require frequent rendering. Not sure if it's of interest, but my macbook air dual boots between lion and win 7. I do not see this issue in win 7 (however in windows certain projects render things incorrectly. For example, a hollow cube comprised of 6 extruded squares rotates one of the sides to give a view into the cube for some reason). |
Well, i guess in theory, some sort of fundraising crowdsource thing could bring some money into the project to buy some hardware ??? I mean everyone is crowd sourcing these days, Louis CK, indie rock bands, game developers, writers, etc etc etc. Is there some way to hook up OpenSCAD to this crowdsource funding thing? Unfortuantely i tend to be terrible at this sort of thing. |
Flattr could work as a crowdsourced fundraising platform - it's possible to donate over flattr in addition to just pushing the button. I've also been asked if I could set up an OpenSCAD PayPal donation solution, but I'm not sure what kind of paperwork is necessary for such things to work out. I was hoping for some other projects having similar issues to sort them out, e.g. thingiview. I would guess there are multiple other pieces of software with similar issues. It would be beneficial to have those identified as it makes it easier to search for solutions. |
I noticed the same thing and additionally the F5 rendering doesn't work ( http://bastya.net/openscad-rendering.png ). Mac OS X 10.7.4 MBA 13-inch, Mid 2011 OpenSCAD 2011.12 I tried to compile the latest version from git and finally I managed to compile it using the macosx-build-dependencies.sh script and it compiled fine but the compiled app is crashed on any complex operation. It could render a cube or a sphere for instance but it crashed when I tried a union on these. The crash log is here: http://bastya.net/openscad-crash.txt I tried to compile it to add a small feature I wanted to use and not because of this rendering issue, btw. Do you have any idea what I did wrong during the build process? |
The F5 rendering issue can sometimes be improved by enabling "Force Goldfeather" in Preferences->Advanced. It's an experimental feature which may help pinpoint what is going wrong under Lion. Not being able to build a stable binary under Lion is another issue. I've made some progress there, and I think I might have a working version soon. If you'd be willing to test a build for me it would be cool. |
Sure, just let me know and I'll test the build! The rendering issue is something what I can live with but I really want to add the scaling during linear_extrude() and this is the main reason I want to compile the package myself. |
A note on the Lion build issue: Optimized builds fail to work due to a likely bug in CGAL. Debug builds should work though. |
Same problem here. |
The Lion build issues has since been fixed, but this still hinges on finding a developer with a computer exhibiting these problems, alternatively, find other software (e.g. thingiview) with the same problems and look how they fix it. |
Same problem here on Mountain Lion, Macbook Air 13" 2012 |
"Goldfeathering" didn't fix the problem. Oddly, F5 and F6 both having shading problems, but they differ as to which surfaces are completely black. I also tried unchecking the OpenGL 1.0 box. |
Still, none of the developers have a computer which reproduces this bug - hardware donation or developer time to fix this would be very welcome! |
I think I found a solution to this problem |
Thanks for the input! Nevertheless, if this actually improves things, let's include the fix. |
Yes, I tried this and the problem appears again with shininess=0, but I only tried on my system. I think that this is a bug in Apple's OpenGL drivers for this hardware. So, maybe the problem doesn't appear on other hardwares even with shininess=0. Unfortunately, I have only a mac with Intel HD 3000... |
It seems like there are some faces on the sphere that should be shaded instead of being completely black.
https://skitch.com/iamwilhelm/g3k8i/openscad-sphere.scad
This doesn't seem like it's the right behavior, since it seems like there's two light sources, one above and to the left, and one below to the right. Both light sources should be able to cover the currently black square faces.
Did you fix this issue? Go claim the $5 bounty on Bountysource.
The text was updated successfully, but these errors were encountered: