Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualAndy474

Posted 24 June 2013 - 01:58 AM

 

 

Why redraw every frame when you only need to redraw if a cube is removed or placed? Doesn't make sense.

It says there's a camera.  Can the player move the camera around?

 

 

it doesnt matter.. even with a fixed camera.. if you don't _DRAW_ stuff EVERY FRAME, it's NOT THERE.

 

 

xD 100% correct tongue.png

 

The XNA Draw Procedure

1/ CLEAR THE GRAPHICS DEVICE (To a nice colour)
2/ Proceed to draw the programmers stuff.
3/ End Draw Call

#1Andy474

Posted 24 June 2013 - 01:57 AM

 

 

Why redraw every frame when you only need to redraw if a cube is removed or placed? Doesn't make sense.

It says there's a camera.  Can the player move the camera around?

 

 

it doesnt matter.. even with a fixed camera.. if you don't _DRAW_ stuff EVERY FRAME, it's NOT THERE.

 

 

xD 100% correct :P

 

The XNA Draw Procedure

 

1/ CLEAR THE GRAPHICS DEVICE (To a nice colour)
2/ Proceed to draw the programmers stuff.
3/ End Draw Call

PARTNERS