Bricksmith and Allen Smith


RE: Bricksmith and Allen Smith
#18
(2019-02-13, 4:55)Travis Cobbs Wrote: I pulled, built, and ran, and the debug build got an assertion failure on line 232 of LDrawGLRender.m:

Code:
    assert(glIsEnabled(GL_VERTEX_ARRAY));

A release build ran fine, but didn't show the model (not surprisingly, given the above assert).

Adding the following to the OverlayWindowHelper initWithFrame: fixed the fact that the 3D views were all covered by another opaque view (which was actually a window, not a view):

Code:
       self.backgroundColor = [NSColor clearColor];

Once I did this, I seem to have gotten to the same point as Ben, which is broken Z Buffering. (It also has some dark mode issues.)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Bricksmith and Allen Smith - by Ben Supnik - 2018-03-17, 14:48
RE: Bricksmith and Allen Smith - by Eugen - 2024-10-10, 16:51
RE: Bricksmith and Allen Smith - by Petrasich - 2018-12-09, 19:09
RE: Bricksmith and Allen Smith - by Travis Cobbs - 2019-02-13, 6:00
RE: Bricksmith and Allen Smith - by Oli Hahn - 2020-05-05, 22:14

Forum Jump:


Users browsing this thread: 7 Guest(s)