Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Back from the North!

Sign in to follow this  


Went up to Leeds for the music festival this weekend (see here for more info). In short, it was great.

Got back to work on my demo, and really made some progress on one of the systems that's been holding me back a bit: user input. I've coded an input reader class and input listener interface, similar to the system employed in OGRE. Classes that want to recieve input information inherit from the listener interface, and hook themselves into the input reader. This gets messages from the OS, packages them, and dispatches them to the hooked classes. This should be finished in the next few days.

Also nearing completion is the hierarchical scene graph manager. I decided to use scene objects to represent things. A scene object class has standard SRT (Scaling, Rotation and Translation) attributes, along with a few base member functions, for adding child objects and performing scaling, rotation and translation. Anything that wants to be in a scene, like an instance of a mesh, a camera or a light, is derived from a scene object. This means that complex objects, like vehicles (with doors which open, wheels which turn and lights that illuminate their environment) can be loaded and manipulated quite easily by the higher level classes that represent actual game objects, built on top of this architecture.

I'm still working on actually loading models, however. The lack of documentation for the XSI file transfer kit has somewhat blunted my attack on that for the time being, and I'm gathering more information to code the whole thing in one go next week. Hopefully. Plus, my trial version of 3DS Max 6 has run out, so I need to buy it if I want to any more messing about with the automatic gun model that is forming the basis of this demo. I shouldn't need to (I saved the model in four formats just in case), but you never can be sure.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!