Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Animation Loops outside the Gameloop
#5
No, not is not. Your rendering time is still random in context with the rest of the program. You want to render in order - its not about performance, its not about thread safety, its just about logic. You can mix in updates with rendering at times (although its a bit harder to follow and not very well structured) but you can not throw around your rendering times randomly.

If you are rendering to a separate buffer, put the code where you want it in the call to render to that separate buffer. Keep it linear and simple.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)