Does anyone know how to do this or where to find good examples for scrolling (animating) 2D text using an OpenTK structure. I need something like the lower (upper) scroll tickers on the news channels.
Thank.
There are many possible approaches to text rendering. Simplest: use System.Drawing to render text in System.Drawing.Bitmap. Then load this bitmap into the OpenGL texture and split it into a square for rendering. Animate the text by moving this square and updating the bitmap / texture whenever the text changes.
: OpenTK, : http://opentk.svn.sourceforge.net/viewvc/opentk/trunk/Source/Examples/OpenGL/1.x/TextRendering.cs?revision=3063&view=markup
TextRenderer , . .
Source: https://habr.com/ru/post/1785625/More articles:Scaling with LinearLayout - androidBroadcastReceiver called, but PhoneStateListener not called - androidwhat is the difference between sleeping 2.X and sleeping 3.0 - hibernateWindows Mobile Development for Mac OS X - mobilejQuery - after the number of elements add html! - jqueryMedia Player window detection - pythonIncorrect function porting in Python to C using the Python C API - pythonUnable to create JPA objects from HSQLDB - jpa-2.0Pixel color matching score - cОпределение цвета с использованием цветового пространства YCrCb? - javaAll Articles