Framework for Game Engine Tools
Connection setup
I’ve now finished the C# side of the tcp connection. Before implementing it I had the problem of figuring out how to let a listener thread both send and receive data, to the other side and with the main (application) thread. My solution is a inbox and outbox queue that both the listener and main thread got access to, along with variable locks to make it thread-safe and avoid collisions. The listener loops and with each cycle adds eventual received data to the inbox for the main thread to handle, then checks for outbox items and sends all of them.
Next task is setting up the equivalent threaded tcp connection in the Nebula 3 application. After that I’m going to test the capacity of the connection, how much and how often data can be sent without delays or errors. All this happens on the same computer and should therefore be fast but it will still need testing and adjustment (such as waiting time for receiving data), and proper error handling.
I’ll need to have these tasks and the synchronized start/shutdown feature of the two applications done by the end of this week to meet my goal of having all main features finished by march 12th.
Next entry: Peasant Village - Rendering, compositing, shading and fluids
Previous entry: Modeling progress

















