| | |
how to display numeric values in glut
![]() |
You can render it as text.
The following link shows how to render text in glut:
http://www.lighthouse3d.com/opengl/g...ex.php?bmpfont
You can use sprintf to convert numbers into strings:
http://www.cplusplus.com/reference/c...o/sprintf.html
Should be all you need to start displaying any text you want ^^
The following link shows how to render text in glut:
http://www.lighthouse3d.com/opengl/g...ex.php?bmpfont
You can use sprintf to convert numbers into strings:
http://www.cplusplus.com/reference/c...o/sprintf.html
Should be all you need to start displaying any text you want ^^
![]() |
Other Threads in the Game Development Forum
- Previous Thread: RPG classes - conditional inheritance?
- Next Thread: Using OpenGL in Visual C++: Part I
| Thread Tools | Search this Thread |
3d advertising ai algorithm ban c++ cambridge camera censorship china competition console development engine fov fpx game gamer games gaming gauntanamo government idaho in-gameadvertisement intellectualproperty l-systems laracroft lindenmayer live manhunt math mathematics matrix mercenaries microsoft mmorpg modded msn naked news nintendo obama opengl palin physics pirate playstation politics projection ps3 rpg search selection software sony stephenhawking stocks studio technology terrorism tombraider uk videogame web wii world-of-warcraft xbox xbox-live xbox360





