Login  Register

Re: font texture issue - garbled characters

Posted by Xerxes Rånby on Oct 24, 2014; 12:23pm
URL: https://forum.jogamp.org/font-texture-issue-garbled-characters-tp4033437p4033451.html

"Given a sheet of paper, people write from the top of the page to the bottom. The origin for writing text is at the upper left-hand margin of the page (at least in European languages). However, if you were to ask any decent math student to plot a few points on an X-Y graph, the origin would certainly be at the lower left-hand corner of the graph. Most 2D rendering APIs mimic writers and use a 2D coordinate system where the origin is in the upper left-hand corner of the screen or window (at least by default). On the other hand, 3D rendering APIs adopt the mathematically minded convention and assume a lower left-hand origin for their 3D coordinate systems."
https://www.opengl.org/archives/resources/features/KilgardTechniques/oglpitfall/

2014-10-24 13:35 GMT+02:00 jurchiks [via jogamp] <[hidden email]>:
Why is it that OpenGL does it that way? Doesn't make sense to me.

But anyway, if I wanted to replace that texture with simple text, how would I go about doing that?


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/font-texture-issue-garbled-characters-tp4033437p4033450.html
To start a new topic under jogl, email [hidden email]
To unsubscribe from jogamp, click here.
NAML