Comments on: Simplifying My Workflow Yes Box is C# - minimal amount of work, simple UI, outputs text and triggers command line jobs. The engine is C++. At first we were going to implement a "proper" system that communicated over TCP/IP - establishing a connection and then Box would send the file to the engine to reload. As a test though, we tried something ridiculously simple instead and it still hasn't really broken yet. The engine just checks the mod time on a common "autoreload" file ( 4 times a second or so ). If the mod time changed since the last check, the engine attempts to reload all of its loaded assets. The asset reloading code does its own check of mod times for each individual asset, so only assets that actually changed reload. So Box detects source level asset changes, runs command line tools to compile binary platform versions for the engine, then touches the "autoreload" file when done. This only took a couple of hours to implement and runs fairly well without much overhead to support. Since Box is super light weight, we can modify our command line tools and pipelines without having to restart Box ever as well. Yes Box is C# – minimal amount of work, simple UI, outputs text and triggers command line jobs. The engine is C++.

At first we were going to implement a “proper” system that communicated over TCP/IP – establishing a connection and then Box would send the file to the engine to reload. As a test though, we tried something ridiculously simple instead and it still hasn’t really broken yet. The engine just checks the mod time on a common “autoreload” file ( 4 times a second or so ). If the mod time changed since the last check, the engine attempts to reload all of its loaded assets. The asset reloading code does its own check of mod times for each individual asset, so only assets that actually changed reload.

So Box detects source level asset changes, runs command line tools to compile binary platform versions for the engine, then touches the “autoreload” file when done. This only took a couple of hours to implement and runs fairly well without much overhead to support.

Since Box is super light weight, we can modify our command line tools and pipelines without having to restart Box ever as well.

]]>
By: Garett Bass/2011/04/14/simplifying-my-workflow/#comment-2766 Garett Bass Thu, 14 Apr 2011 19:27:05 +0000 Awesome stuff Szymon can't wait to see more! When are the particle tools coming? Awesome stuff Szymon can’t wait to see more! When are the particle tools coming?

]]>
By: Neil Purvey/2011/04/14/simplifying-my-workflow/#comment-2726 Neil Purvey Thu, 14 Apr 2011 09:31:10 +0000