Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 20 Mar 2013
Offline Last Active Apr 24 2013 12:11 AM

Posts I've Made

In Topic: SDL - inconsistent timing of sounds...?

28 March 2013 - 03:06 AM

I think if you don't have a realtime OS you cannot guarantee that timing is perfectly accurate. The problem could also be your soundcard. Musicians have external soundinterfaces with ultra low latency but this is just a guess. For windows you could try asio drivers and for linux the jack audio system.

In Topic: CSG (context sensitive grammar) parser

20 March 2013 - 04:21 AM

I had a course on compilers, grammars and such stuff but that was some years ago. I think languages which are context sensitive and can therefore be described by context free grammars are a big problem. When I am at home I will have a look at my book from the course and tell you some more about the topic.

In Topic: mvc ,games and multicore

20 March 2013 - 04:16 AM

Intel has a very interesting paper about multithreading in games (http://software.intel.com/en-us/articles/designing-the-framework-of-a-parallel-game-engine).

The idea in short: let each subsystem (rendering, physics, AI) operate on their on data. So every subsystem starts with a copy of the initial data. When for example the physics calculation leads to a movement of an object, an event for this movement is generated. Subsystems which are interested in this event can handle it (e.g. renderer updates its own data with the data from the event).