Edit: SOLVED; glMultMatrixf() did work, I overlooked something.
I'm trying to have a ball roll forward, that is, rotate along its x-axis. Works fine, but when I've moved the camera around the...
Type: Posts; User: Katun
Edit: SOLVED; glMultMatrixf() did work, I overlooked something.
I'm trying to have a ball roll forward, that is, rotate along its x-axis. Works fine, but when I've moved the camera around the...
Nvm, I found it:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd368677(v=vs.85).aspx
Sorry, that's not what I meant. That tutorial draws the text on top of the 3D environment, so the text itself is still in its 2D overlay environment. That's what I was doing already. I want to draw...
This may seem very simple, but I can't figure it out.
I'm using wglUseFontBitmaps to draw 2D text in a 2D overlay, kinda like a HUD in a 3D game.
Now I want to use the 2D text in the 3D...
That works; thank you!
I'm using the following code to draw a 256x256 .tga texture and it works just fine:
....
for(int n = 0; n < 1; n++){
LoadTGA(&texture[n], texname[n]);
glGenTextures(1, &texture[n].texID);...