Hi
I would like to know if there are problems with pspgl texturing because i can draw for example a quad but when i want map it, the mapping does nothing or the quad disappear. My texture is in a tga format and works on PC. So if someone here knows problems and how to solve them,can you tell me ho to fix it?
Thx
Problem with pspgl texturing
Re: Problem with pspgl texturing
Quads aren't supported. From the pspgl homepage http://www.goop.org/psp/gl/:drcd wrote:Hi
I would like to know if there are problems with pspgl texturing because i can draw for example a quad
GL_QUADS
not supported
Zilt
I know but:
This part of code draw a quad. So i thought that the website wasn't updated.
Code: Select all
glBegin(GL_QUADS);
glVertex3f(Position.x,Position.y,Position.z);
glVertex3f(Position.x+Size.x,Position.y,Position.z);
glVertex3f(Position.x+Size.x,Position.y-Size.y,Position.z);
glVertex3f(Position.x,Position.y-Size.y,Position.z);
glEnd();
I've tried GL_TRIANGLE_STRIP and i have the same result. I've also tried to just draw a quand using GL_QUAD and change its color using glColor3ub but the quad kept its black color. I've tried to do the same thing with GL_TRIANGLE_STRIP and apply a color but i saw the same result (black color). It's very strange. Does someone can texture a quad or change its color?