Giter Club home page Giter Club logo

Comments (24)

kintel avatar kintel commented on June 19, 2024

I've seen this as well, but only on Mac OS X Lion on an Intel GPU (Macbook Air).
This does not look related to OpenCSG in any way - the hard part is to get hold of something to develop&test on.

from openscad.

iamwilhelm avatar iamwilhelm commented on June 19, 2024

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?

from openscad.

koenkooi avatar koenkooi commented on June 19, 2024

FWIW the same issue exist when using thingiview on thingiverse with lion + intel GPU

from openscad.

donbright avatar donbright commented on June 19, 2024

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

from openscad.

kintel avatar kintel commented on June 19, 2024

Hm, sounds like a deeper issue.
Perhaps the Thingiview developer has some insights on this?
FYI: That's the same guy who did CloudSCAD a while back.

I don't have a machine to test on, so if anyone wants to pursue this, it would be awesome.

from openscad.

josefprusa avatar josefprusa commented on June 19, 2024

It's not issue of only MacBook Air but every lion machine with Intel HD3000 :-(

from openscad.

josefprusa avatar josefprusa commented on June 19, 2024

Thanks god my macbook air is nvidia based and I was able to put ATI 6800 to my desktop :-) Now its fixed

from openscad.

lordnynex avatar lordnynex commented on June 19, 2024

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).

from openscad.

donbright avatar donbright commented on June 19, 2024

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.

from openscad.

kintel avatar kintel commented on June 19, 2024

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.

from openscad.

gega avatar gega commented on June 19, 2024

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?

from openscad.

kintel avatar kintel commented on June 19, 2024

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.

from openscad.

gega avatar gega commented on June 19, 2024

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.

from openscad.

kintel avatar kintel commented on June 19, 2024

A note on the Lion build issue: Optimized builds fail to work due to a likely bug in CGAL.
For more info see http://cgal-discuss.949826.n4.nabble.com/Crash-with-Nef-polyhedron-3-tc4655099.html

Debug builds should work though.

from openscad.

paulo-raca avatar paulo-raca commented on June 19, 2024

Same problem here.
Has it ever been fixed?

from openscad.

kintel avatar kintel commented on June 19, 2024

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.

from openscad.

ttennebkram avatar ttennebkram commented on June 19, 2024

Same problem here on Mountain Lion, Macbook Air 13" 2012

from openscad.

ttennebkram avatar ttennebkram commented on June 19, 2024

"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.

from openscad.

kintel avatar kintel commented on June 19, 2024

Still, none of the developers have a computer which reproduces this bug - hardware donation or developer time to fix this would be very welcome!

from openscad.

Vroumdev avatar Vroumdev commented on June 19, 2024

I think I found a solution to this problem
In GLView.cc add in function void GLView::initializeGL() these two lines
GLfloat shininess = 64;// Issue #71 patch
glMaterialfv (GL_FRONT_AND_BACK, GL_SHININESS, &shininess);// Issue #71 patch
before
glEnable(GL_COLOR_MATERIAL);
Thanks to Alex (http://forum.jogamp.org/JOGL-problems-with-OSX-10-8-2-and-HD3000-td4026518.html)
I works for me on my PowerBook 13 with Intel HD 3000.
Hope it helps.

from openscad.

kintel avatar kintel commented on June 19, 2024

Thanks for the input!
One question: If the cause of this is really that the default shininess value for these GPU drivers is 0, it should be possible to reproduce this issue on other systems by forcing the shininess value to 0. However, that doesn't work for me - have you tried that?

Nevertheless, if this actually improves things, let's include the fix.

from openscad.

Vroumdev avatar Vroumdev commented on June 19, 2024

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...

from openscad.

kintel avatar kintel commented on June 19, 2024

The latest development snapshot has this fix included. All of you having this issue: please give it a spin!

@Vroumdev Have you also experienced #65 ? Not sure if that's related to this at all..

from openscad.

Vroumdev avatar Vroumdev commented on June 19, 2024

@kintel Yes I experienced #65 and goldfeather option corrects it. Thanks

from openscad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.