Sven Framework
0.4
Sven is a DirectX10 based game development framework, somewhat XNA inspired.
Sven uses a subset of hungarian notation.
-
Classes are prefaced with 'C', as in CApplication.
-
Abstract classes are prefaced with 'I', as in IDrawable.
-
Member variables start with 'm_' and start with a lower case letter, with subsequent words starting upper case, as in m_fieldOfView.
-
Functions start with a lower case letter, with subsequent words starting upper case, as in createCamera()
Remember to use initialization lists and proper comment formatting. Maintain const correctness. When in doubt, examine an existing file. Sven::Graphics::CEffect is a good example.
A note on coordinate systems:
-
The system is right handed.
-
Forward is (0.0, 0.0, -1.0)
-
Up is (0.0, 1.0, 0.0)
-
Right is(1.0, 0.0, 0.0)
Restrictions on model loading:
-
Smooth Binding skeletons must be rooted at the origin.
-
Meshes that are bound to the skeletons should have their transformations frozen prior to binding.
-
The bind pose is assumed to be frame zero.