Code Monkey home page Code Monkey logo

Comments (6)

thefiddler avatar thefiddler commented on May 22, 2024

Thank you for reporting this issue. This should now be fixed - please reopen if you can still reproduce.

from opentk.

shorowit avatar shorowit commented on May 22, 2024

Hi,

While the crash no longer occurs (thanks!), artifacts now appear in the GLControl rendering where surfaces meet that didn't show up in beta3 or earlier. Here is the result using the rc1 release:
opentk-artifacts

(I would re-open the ticket, but Github doesn't seem to allow me to.)

from opentk.

thefiddler avatar thefiddler commented on May 22, 2024

This looks like a depth-fighting issue. Try requesting a GraphicsMode with a depth of 24bits - GraphicsMode.Default only gives you 16bits.

I tried switching GrapihcsMode.Default to 24bits in 1.1-b3, but it caused some compatibility issues so I had to revert this to 16bits.

from opentk.

shorowit avatar shorowit commented on May 22, 2024

I will test that to see if it helps. However, I'm pretty sure that all versions before beta3 (which you seem to indicate used 16bits) did not have this issue -- but I will double-check this as well.

from opentk.

shorowit avatar shorowit commented on May 22, 2024

Settings the GraphicsMode to 24bits with rc1 does work. I've also confirmed that beta2 worked using the default GraphicsMode.

To recap, here's what I've found testing with Remote Desktop:
beta2: works perfectly
beta3: works perfectly
beta4: crash
rc1: works but with artifacts (works perfectly with 24bits)

from opentk.

thefiddler avatar thefiddler commented on May 22, 2024

Thanks for testing.

1.1-rc1 will now fall back to 16bit if a 24bit depth buffer is not supported, instead of throwing a GraphicsModeException. This means that it is now safe to switch to 24bit by default - the fall back will take care of (terribly outdated) hardware that does not offer 24bit depth.

I will move back to 24bit for 1.1-rc2.

from opentk.

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.