Hi to alll Devs.
Sorry i've been stuck for a few hours in here....
Ive got a not working little game that i must make it to work.
There is no errors now but the one attached.. i'v been looking around but nothing clear.
the last chage i made and maybe is that the problem. was in
swprintf_s( strBuffer, 512, strMsg, args );
identifier not found for swprintf_s.
so I add #include <wchar.h> in the header to make it work as seen that the little game use this instead of <stdio.h>.
Please help!!.
Any clue pointing or fresh ideas are more than welcome.
Hello to all Dev's.. Just new around here, sorry for my lack of knowledge.. I've got a couple of questions here. stock for a while before posting.
1. I've implement a vrml loader and found that the normal index and coord index from Maya sometimes came with 4 values. The question is that i manage to read the 3 values when usually happens, but not load properly with the fourth one. i've done something like..
2. How to load the Normals and the coordinates from a wrml loader from Max.
I manage to load the mesh but not the normals and coordinates acording int i,j; for (j=0;j<noofshapes;j++) { for (i=0;i<noofpoly[j]*3;i=i+3) { glBegin(GL_TRIANGLES); //glNormal3f( &(norms[j][3*nindices[j][i])); I've try this glVertex3fv(&(coords[j][3*indices[j][i]])); //glTexCoord2f.. what in here? glVertex3fv(&(coords[j][3*indices[j][i+1]])); //glTexCoord2f.. what in here? glVertex3fv(&(coords[j][3*indices[j][i+2]])); //glTexCoord2f.. what in here? glEnd(); } }
And if someone can point me to tutorials about OpenGl and games even paid ones?