Release 24 - IMyScene Refactoring

Rating: No reviews yet
Downloads: 24
Released: Jun 17, 2008
Updated: Jun 18, 2008 by bryanedds
Dev status: -not yet defined by owner-

Recommended Download

Source Code Ox
source code, 25012K, uploaded Jun 18, 2008 - 24 downloads

Release Notes

There are some issues with Ox's usability due to its highly granular nature, so I've added some functionality to IMyScene to ease Ox's use.

Also, I changed the names of IMyScene and IMySceneRenderer (as well as their concrete classes to match). I moved them all back into Ox.Scene. They are now call IScene3D and IScene3DRenderer, respectively.

To use the refactored IScene3D, you can now create a new Scene3D which takes just an IOxServices object. Then you use create whatever object you need by calling one of its Create...() methods. The object produced will be automatically wired up to the scene. Thus, it will automatically Update() and Render() whenever the scene's Update() and Render() is called. It will also be automatically unwired from the scene when its Dispose() is called.

The examples have been updated to use the scene in this way. The code has improved a bit because of it :)

Happy Ox'ing!

Reviews for this release

No reviews yet for this release.