NxOgre.org

Index

Cake should be a food group

cake

Cake is a small sandbox type application to quickly prototype or play with any feature of NxOgre. It’s designed to work within two functions; createScene and onFrame, so that all of the Ogre, GUI and Input code is hidden away from direct view and the developer can concentrate on the NxOgre code only.

The normal Cake sandbox looks something like this.

class Cake : public Sponge {
	public:
 
		World* mWorld;
		Scene* mScene;
		void start() {
			mWorld = new World("time-controller: ogre");
			mScene = mWorld->createScene(
					"Eddie",
					"renderer: ogre, controller: accumulator, gravity: yes"
					);
		}
		void stop() {
			delete mWorld;
		}
			void frame(float deltaTime) {
		}
		Cakes_are_made_out_of_many_things_including(mWorld, mScene);
};
Id_Like_Some(Cake);

From this simple template within the Cake VisualStudio solution, we can add something magical.

Fetching Cake

Subversion details go here.

Baking my first Cake.

Text