opcon / gwen-nolegacy-opentk-renderer Goto Github PK
View Code? Open in Web Editor NEWA C# port of the GWEN GUI library, with an OpenTK renderer
License: MIT License
A C# port of the GWEN GUI library, with an OpenTK renderer
License: MIT License
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.
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.
The shader compilation result in the OpenTK is never checked. This means that the compilation can silently fail, resulting in rendering problems.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.