Marius Kintel

Results 396 comments of Marius Kintel

@cjmayo Not sure why the shader compilation fails, but I'll update my shader compilation code to report errors better. Sometime today depending on how quickly I can do it.

@cjmayo Try #5008 now. #5005 was already merged to master. There was a bug which I fixed, and the shader compiler should now output a better error message.

I wonder if the GL error happens before the Renderer constructor is called. Could you try inserting this at the start of `Renderer::setupShader()`? ``` glCheckd("Renderer::setupShader()", __FILE__, __LINE__); ```

Thanks, so _something_ is going wrong earlier. It's hard to debug for me, but if you have the opportunity to sprinkle `glCheckd("something", __FILE__, __LINE__);` statements around trying to pin down...

I can try to remote-diagnose it, but need more info: Could you post your cmake output, plus the output of Help->Library info?

I think the first step is to check if we can use OpenGL as initialized by Qt, basically https://doc.qt.io/qt-6/qopenglwidget.html#details

I think we can skip the GL error check on glLinkProgram(), considering we inspect the results afterwards. If everything else works, you get the correct shaders etc., we can probably...

I agree that a new module makes more sense. `heightmap` sounds like a good name. API design is hard though. Some notes: * `doubleSided`: It feels like this can be...

Thanks @roel-v - I added checkboxes to the TODO list. Let's check them off as items are resolved.