Coder Social home page Coder Social logo

Gorgon 2.0 artefacts about gorgon HOT 3 CLOSED

stigzler avatar stigzler commented on May 31, 2024
Gorgon 2.0 artefacts

from gorgon.

Comments (3)

Tape-Worm avatar Tape-Worm commented on May 31, 2024

My first instinct is that it might be artifacts due to the bilinear filtering.

First thing to try is to turn off the smoothing and see if the artifacts disappear (it'll look blocky though). If that removes the artifacts, then you'll need to introduce padding between the glyphs when generating the font. This should correspond to the GlyphLeftOffset, GlyphTopOffset, GlyphWidthOffset and GlyphHeightOffset properties on the font.

As for video, no, there's no built-in video support unfortunately.

from gorgon.

stigzler avatar stigzler commented on May 31, 2024

Thanks for the reply. Removing smoothing made no difference. :(

from gorgon.

Tape-Worm avatar Tape-Worm commented on May 31, 2024

Another thing you might want to try is change the font texture size. I can't remember what the old version defaults it to, but I think it's quite small (probably 256x256). Try something like 2048x2048 for a font of that size.

Also, a good thing to do with diagnosing these things is to turn off all special effects (e.g. shadowing, outlining, etc..) so that we can determine whether or not it's the base font rendering code that's the problem, or if it's the usage of an effect.

And finally, if you haven't already, try v2.0 of Gorgon (it's in the master branch). Its font rendering is much better than the version you're using. I know you tried to get v3 working, but honestly I have no idea if it'll work with VB.Net as it uses the latest version of C# (7.3 I think), and requires Visual Studio 15.8.x and I don't know if VB.Net has kept up.

Unfortunately, I'm no longer set up to compile the code from the first version anymore. So I can't try a reproduction to dig into it.

from gorgon.

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.