Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualBrother Bob

Posted 22 July 2013 - 12:24 PM

The second video cleared things up a bit.  When I saw the red being drawn out in the first video I thought that you were not calling glClear(); but then I saw it in the DrawRect function so I assumed that the two left most vertices were not being moved creating the impression that you weren't clearing the screen. The second video makes it seem as if the DrawRect function is either not being called or it's not being called in the proper order.  Try moving glClearColor() and glClear to the top of your Render Function.  This will clear the draw screen every frame so you have a blank canvas for the textured model to be drawn at it's new position without the old draws from previous frames showing up as well. 


#2marcClintDion

Posted 22 July 2013 - 03:23 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.


#1marcClintDion

Posted 15 June 2013 - 12:01 PM

The second video cleared things up a bit.  When I saw the red being drawn out in the first video I thought that you were not calling glClear(); but then I saw it in the DrawRect function so I assumed that the two left most vertices were not being moved creating the impression that you weren't clearing the screen.   The second video makes it seem as if the DrawRect function is either not being called or it's not being called in the proper order.  Try moving glClearColor() and glClear to the top of your Render Function.  This will clear the draw screen every frame so you have a blank canvas for the textured model to be drawn at it's new position without the old draws from previous frames showing up as well. 


PARTNERS