Jump to content

  • Log In with Google      Sign In   
  • Create Account


GottiJay

Member Since 20 Jun 2011
Offline Last Active Sep 19 2011 10:31 AM

Topics I've Started

how does this work glMultMatrixd(P)

24 August 2011 - 03:24 AM

i have not been able to find tutorials that could explain to me what this function glMultMatrixd(P ) actually does
could anyone please explain it to me

thank you

Glui problems

15 August 2011 - 04:35 AM

can anyone please give me a link or steps on installing gui with visual studio 2008 without having linking errors

i found a tutorial( http://www.codeproje...w_Template.aspx ) that used VS2006 to install glui...but i tried using the same steps but this time in VS2008...and i keep getting linking errors

or an alternative graphics user interface asides mfc
thanks

Linking...
1>glui32.lib(glui_spinner.obj) : error LNK2001: unresolved external symbol __iob
1>glui32.lib(glui_edittext.obj) : error LNK2019: unresolved external symbol __iob referenced in function "public: virtual int __thiscall GLUI_EditText::mouse_down_handler(int,int)" (?mouse_down_handler@GLUI_EditText@@UAEHHH@Z)
1>glui32.lib(ALGEBRA3.OBJ) : error LNK2001: unresolved external symbol __iob

Disappearing Models

25 July 2011 - 12:42 PM

Tried to do some simple animations which basically moves individual model from one position to the other...each of them enclosed in an animation function ....the problem i have is when one animation finishes the model related to that animation disappears...making way for the model in the next animation.....which is not exactly what i want...

what i want is for the first model to remain in its position while the second animation was running and the second and the first models remain in their position while the third model is running an so on...this is how my animation function looks

thanks for your help

new Opengl Window

24 July 2011 - 08:21 AM

hi, just wanted to ask if it was possible to have two opengl windows.....something of this nature......run program first window displays click button in the first window and the second window displays covering the first one...close the second window the first window dislays again...

if this is possible can anyone please tell me how i could achieve that......
working with opengl and glut

thank you.

Moving Object from one position to the other

23 July 2011 - 11:34 AM

this is supposed to be easy...but i dont understand what i am doing wrong....trying to move my object from one position to another in an animation...but it just keeps moving and wont stop....any ideas on how i could achieve this ....a short snippet would be helpful thanks




glPushMatrix();
glTranslatef(pos1X,Pos1Y,Pos1Z);
glRotatef( rot_a, 0, 0, 1 );
Draw_A();
glPopMatrix();

glPushMatrix();
glTranslatef(pos2X,Pos2Y,Pos2Z);
glRotatef( rot_b, 0, 0, 1 );
Draw_B();
glPopMatrix();

void idle(){

if ( animate==false ){
					if (pos1X > 0)
				    pos1X -= 0.020f;
		}
				if (pos1X == 0)
					animate=true;
	
	rY += 0.02;
	glutPostRedisplay();
}


PARTNERS