Coder Social home page Coder Social logo

gwen-nolegacy-opentk-renderer's People

Contributors

forki avatar gitter-badger avatar happyemu avatar opcon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gwen-nolegacy-opentk-renderer's Issues

Text is not scissor tested and clipped.

QuickFont does not currently support cpu scissor testing, and so after switching to QuickFont as the text renderer, text is no longer clipped to its bounds.

This will have to be fixed on the QuickFont side. Additionally due to the performance penalty incurred by switching programs to draw using QuickFont, currently the text is drawn after the rest of the scene. This results in the text being drawn in front of controls that should be covering it. Will need to investigate how to mitigate this issue.

Perhaps can be achieved through the use of clipping rectangles? Or maybe ignore the performance hit and draw the text at the same time as drawing the controls. This shouldn't have too large an impact except for very complex scenes with large amounts of text.

Scaling Issue on High DPI displays

Hey,
I found this project a few weeks ago, and it worked fine so far on my workstation at home.
But currently I'm using my laptop (Surface Pro 4) which has a 2K display.

While the same build works fine on my desktop at home, on my laptop it looks like this:
http://img03.imgland.net/MxhhFBy.png

The font size is too big and the elements are unclickable (it seems like the mouse position is transformed wrongly).

I tried changing the canvas.Size to 0.5f, but it seems to change the position of the UI, so that the UI elements are invisible.

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.