Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualBrother Bob

Posted 22 July 2013 - 12:14 PM

Well so far it's looking good, I like the ships.  I had to scale everything down with  glScalef(0.1, 0.1, 0.1); to get anything to display on screen.  That might just be a difference in our camera settings.

 

Tomorrow I'll go through your controls to see what's happening there.  

 

While you're waiting to hear back, you might want to get started on breaking the lines for the ships into  GL_LINES calls so you can make the ships explode into pieces.  When a collision occurs you can swap out the GL_LINE_LOOP calls for the GL_LINES call.  After that, glTranslate and glScale can be used on the line segments to simulate an explosion.  Each ship is made up of 6 line segments so you'll need 6 GL_LINES sets per ship, one for each edge.   I think for clarity, they should go into a function called DrawShipExplosion();  and the regular ship draw calls, as they are now,  put into a function called DrawShip();

 

I'll try and get back to you tomorrow.

 

 

//-------------------------------------------------------------------------------------------------------------------------------------------------

EDIT:   After that, glTranslate and glScale can be used on the line segments to simulate an explosion.

 

I meant to write:After that, glTranslate and glRotate can be used on the line segments to simulate an explosion.  Scaling works as well, I suppose.


#6marcClintDion

Posted 22 July 2013 - 03:10 AM

There is far too much arrogance and out right abuse by site moderators, they are teaching other people to behave this way.  The posts I've made will all be shorty removed and replaced with this notice.  Game development is not the only thing being taught here, bad behavior is being taught as well.


#5marcClintDion

Posted 28 June 2013 - 10:26 AM

Well so far it's looking good, I like the ships.  I had to scale everything down with  glScalef(0.1, 0.1, 0.1); to get anything to display on screen.  That might just be a difference in our camera settings.

 

Tomorrow I'll go through your controls to see what's happening there.  

 

While you're waiting to hear back, you might want to get started on breaking the lines for the ships into  GL_LINES calls so you can make the ships explode into pieces.  When a collision occurs you can swap out the GL_LINE_LOOP calls for the GL_LINES call.  After that, glTranslate and glScale can be used on the line segments to simulate an explosion.  Each ship is made up of 6 line segments so you'll need 6 GL_LINES sets per ship, one for each edge.   I think for clarity, they should go into a function called DrawShipExplosion();  and the regular ship draw calls, as they are now,  put into a function called DrawShip();

 

I'll try and get back to you tomorrow.

 

 

//-------------------------------------------------------------------------------------------------------------------------------------------------

EDIT:                  After that, glTranslate and glScale can be used on the line segments to simulate an explosion.

 

I meant to write:After that, glTranslate and glRotate can be used on the line segments to simulate an explosion.  Scaling works as well, I suppose.


#4marcClintDion

Posted 28 June 2013 - 10:24 AM

Well so far it's looking good, I like the ships.  I had to scale everything down with  glScalef(0.1, 0.1, 0.1); to get anything to display on screen.  That might just be a difference in our camera settings.

 

Tomorrow I'll go through your controls to see what's happening there.  

 

While you're waiting to hear back, you might want to get started on breaking the lines for the ships into  GL_LINES calls so you can make the ships explode into pieces.  When a collision occurs you can swap out the GL_LINE_LOOP calls for the GL_LINES call.  After that, glTranslate and glScale can be used on the line segments to simulate an explosion.  Each ship is made up of 6 line segments so you'll need 6 GL_LINES sets per ship, one for each edge.   I think for clarity, they should go into a function called DrawShipExplosion();  and the regular ship draw calls, as they are now,  put into a function called DrawShip();

 

I'll try and get back to you tomorrow.

 

EDIT:                  After that, glTranslate and glScale can be used on the line segments to simulate an explosion.

 

I meant to write:After that, glTranslate and glRotate can be used on the line segments to simulate an explosion.  Scaling works as well, I suppose.


#3marcClintDion

Posted 27 June 2013 - 10:04 PM

Well so far it's looking good, I like the ships.  I had to scale everything down with  glScalef(0.1, 0.1, 0.1); to get anything to display on screen.  That might just be a difference in our camera settings.

 

Tomorrow I'll go through your controls to see what's happening there.  

 

While you're waiting to hear back, you might want to get started on breaking the lines for the ships into  GL_LINES calls so you can make the ships explode into pieces.  When a collision occurs you can swap out the GL_LINE_LOOP calls for the GL_LINES call.  After that, glTranslate and glScale can be used on the line segments to simulate an explosion.  Each ship is made up of 6 line segments so you'll need 6 GL_LINES sets per ship, one for each edge.   I think for clarity, they should go into a function called DrawShipExplosion();  and the regular ship draw calls, as they are now,  put into a function called DrawShip();

 

I'll try and get back to you tomorrow.


#2marcClintDion

Posted 27 June 2013 - 10:01 PM

Well so far it's looking good, I like the ships.  I had to scale everything down with  glScalef(0.1, 0.1, 0.1); to get anything to display on screen.  That might just be a difference in our camera settings.

 

Tomorrow I'll go through your controls to see what's happening there.  

 

While you're waiting to hear back, you might want to get started on breaking the lines for the ships into  GL_LINES calls so you can make the ships explode into pieces.  When a collision occurs you can swap out the GL_LINE_LOOP calls for the GL_LINES call.  After that, glTranslate and glScale can be used on the line segments to simulate an explosion.  Each ship is made up of 6 line segments so you'll need 6 GL_LINES sets per ship, one for each edge.    I'll try and get back to you tomorrow.


PARTNERS