Skip to main content
gamedev.net
🔒 Locked

Problem with text

Started by Etus Dec 29, 2002 at 12:27 PM 2 replies 350+ views
Original Post
Etus
Etus
Hi, I''m trying to use NeHe''s tutorial number 13 about font text. Well, everything is working well except that the text stays in one location and doesn''t move with the camera(I thought glRasterPos should do it). How can I fix this? Thanks, Yuval
JonoX
JonoX
glRasterPos dose just that. raster positions something. the ''raster'' is the screen so you could almost call it glPixelPos(). it is a 2d function not 3d so it realy cant move with the camera.
do lesson-14 as it dose 3d text that ''will move with the camera''.

but anyway i personal dont think glRasterPos sould be used with 3d graphics as it makes it almost imposable to use any stereo viewers with you program.


- Jono AH
JonoRule #1: If you build it, they will come -- to hack and cheat.
GRoZ
GRoZ
Drop this job!
Russian programmers did library for loading and using text

GLF library main features:

* Very easy text drawing
* Wired, Solid, 3D wired and 3D solid text support
* Textured text support
* Contoured text support
* Bitmapped text support
* Console mode support
* Text centering support
* Text rotation support
* Text direction support
* Load/Unload GLF fonts
* Load Bitmapped fonts (BMF format)
* In GLF included 6 different vector fonts and also other font-packs is available
* In GLF included more than 10 bitmapped fonts
* You can set space between symbols, set 3D symbols depth and more
* 21 Demos (with GLUT usage) and 1 demo for win32
* Documentation included
* And many other features
it's the best library to work with text.

link for this wonder:
http://romka.demonews.com



[edited by - GRoZ on December 30, 2002 6:55:09 AM]
snisarenko
snisarenko
Privet Ruskim !!!!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.