Jump to content

DevBlog 01: Font improvements and math failures


Chod

54,659 views

Today I had planned to implement some more of the missing features into Tarkov, and did eventually end up achieving that, but ended up spending far too long doing smaller jobs. 

 

The first thing on my list was to implement loot esp into Tarkov. Simple enough, as it was mostly a case of copying the code from the old cheat into the new one and fixing up the differences. Well, for the most part this was true, except I made a stupid typo in the vector class that took me over 2 hours to diagnose. 

 

length_bad.png.c39061569334799f2950756c43f6d8f9.png

 

Embarassing that it took me so long to spot it, but there you go.

 

After fixing this small but significant problem the loot ESP and snap lines were working correctly:

 

snaplines.png.dccf431dda22aa1f7cfffd21be34b38a.png

 

 

Something else that had been annoying me is the font renderer. If you look back to a post I made in September, the text is not looking great. The font is squashed together, the outline is really bad. And generally its not pleasant to look at.

 

eft_teaser.png

 

So to fix this, I fixed the spacing between characters by adjusting the amount of alpha that a pixel must emit before it is considered "the edge" of the glyph. Next up the outline, for this I changed the font pre-generator so that it doesn't smooth the outline, creating that kind of patchy outline you can see above.

 

The results looked like this:

 

fontfixed.png.5e2c84f00235baa30cce30be10e32c30.png

 

Whilst I was making changes to the font system I also found a bug that once fixed, improved text rendering speeds by about 4x, the effects were immediately noticeable and the ESP is silky smooth now.

 

That's it for today, more soon...

 

  • Like 37
  • Thanks 8

43 Comments


Recommended Comments



22 minutes ago, Freakingenius said:

I realy enjoy this.  Its more intresting than playing the game right now

 

I agree. I'm refreshing this page more than I am refreshing the tarkov reddit.

  • Like 1
Link to comment

finally a devblog, it was just what we need atm.

Am very pleased that you share your daily work with us and only here you can find this kind of devotion to this work.

 

Link to comment

These Devblogs are exactly what alot of us wanted. This is amazing to see a day in the life of Chod! keep em coming when you can :D
Looks awesome

Link to comment

Devblog is amazing. As long as it is updated, it will make the community more aware of the devs work and will make customers happy to see progress in the works.

Link to comment

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines.