Hi everyone. Recently I installed devkitPro 1.5.0 , and I'm using libnds. At the moment everything is amazing, compile for the Nintendo DS!! But the other day, I downloaded a few examples of 3dWorldToolset, and testing some models converted X, I noticed that the texture does not work...
should show...
...and this is my output
The output is pixelated. I think if i use some scaling function, could solve... Someone
Scale Texture (SOLVE)
-
- Posts: 9
- Joined: Tue Aug 18, 2009 2:29 pm
Scale Texture (SOLVE)
Last edited by WhiteSkull on Mon Aug 24, 2009 8:39 am, edited 2 times in total.
-
- Posts: 9
- Joined: Tue Aug 18, 2009 2:29 pm
Re: Scale Texture
I got it ... clear that I had to first specify the mode of the matrix with glMatrixMode(GL_TEXTURE), as I read in another thread of this forum. Then I had to add only the changes needed in this case...
Thank you all, see you!!
Code: Select all
....
....
glMatrixMode(GL_TEXTURE);
glLoadIdentity();
glScalef(4.0f,4.0f,4.0f);
glRotatef(-90.0f,0.0f,0.0f,1.0f);
....
....
Who is online
Users browsing this forum: Bing [Bot] and 1 guest