Jump to content

  • Log In with Google      Sign In   
  • Create Account


DrunkKong

Member Since 03 May 2011
Offline Last Active Apr 29 2012 04:33 PM

Topics I've Started

Found the problem, but no the solution, help again

28 April 2012 - 03:51 PM

After new ways of usage the debugger explained by a friend and in here..

I think I found the problem, but i dunno yet the solution..

Attached File  mContact.jpg   77.19KB   18 downloads

Any ideas, clues or expl., are more than welcome.

Thanks for this

What's wrong in here please help

26 April 2012 - 02:44 PM

Sorry i need fresh ideas I duno where to go, stuck in here for a big while.

Is this expresion wrong?

Attached File  lives.jpg   75.56KB   55 downloads

or maybe this?

Attached File  matrix.jpg   31.52KB   53 downloads

any clue, ideas, or explanation will be very, very apreciated.

Thanks for oyur time and always support.

Input for a demo

26 April 2012 - 06:20 AM

Sorry I just realize that it's better and simple to use windows msg instead of direct input..

Any good tutorial or reference

Thanks

Debug Assertion Failed:(L"Buffer is too small"&&0)

25 April 2012 - 01:15 AM

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.

Thanks in advance for all your time.

wrml loader and normals problems

03 May 2011 - 07:15 AM

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..


fscanf(fp,"%d %d %d %d %d",&(ind[i]), &(ind[i+1]), &ind[i+2], &ind[i+3],&temp);


Read them but not in correct order.

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?

Thanks in advance
and sorry for my In glish Posted Image

PARTNERS