PhysHexGames
  • Home
  • Frost and Flame
  • Star.P.G.

Improved Font rendering.

13/10/2013

0 Comments

 
Picture
Whilst thinking about random item generation I realized that it would be a good idea if I could see the stats of the randomly generated items, and as such I have decided to create the item mouse over to see the stats first.
Well it looks like the old font rendering system I created a while back was not the best implementation possible.
The previous implementation renders the text to a texture every frame it is displayed. Clearly this can be improved. I have implemented a new text rendering system, where by the text is rendered to a texture, but the texture is then stored in memory for future use, this should proved a slight performance increase.
In the image above the text on the menu is rendered with the old system, whereas the larger text in the center is rendered with the new system. Also whilst I was working on the new system, I found a better way to render the resultant texture. Although it is working well and looks good, it is not yet fully integrated yet.

0 Comments



Leave a Reply.

    Author

    Paul Wortmann

    Archives

    May 2015
    April 2015
    March 2015
    February 2015
    December 2014
    July 2014
    June 2014
    May 2014
    April 2014
    March 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    September 2013
    August 2013
    July 2013
    June 2013
    May 2013

    Categories

    All
    Frost And Flame
    Japanese
    RoboEngine

    RSS Feed

Powered by Create your own unique website with customizable templates.