Previous Blog Next Blog
Prev/Next Blog
by date

DayOfWar Six Degrees Of Freedom Camera System

DayOfWar Six Degrees Of Freedom Camera System
Name:Bill Vee 
Date Posted:May 31, 2008
Rating:3.5 out of 5
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Bill Vee

Blog post
This is a video of the new six degrees of freedom camera system I created for the game.

One of the main concepts of DayOfWar is changing the way we think about up and down.
Because of this the standard camera would not do for my game.
This new six degrees of freedom camera system , or 6DOF for short, meets many needs for my game that the original could not.
In the video the structures as well as the player are near the equator and are basically on there sides.
Placement of in game objects are difficult with the standard camera in these situations.
With the new 6DOF system any angle is possible.

At the press of a button the camera can auto "level" itself to the strongest gravity source.

The camera can pan , tilt , roll and move forward , back , left , right , up and down relative it's current orientation.
The 6DOF camera is added to the game exactly the same way as the standard camera.
While in game just press "alt + V" to toggle between player and 6DOF camera.

The 6DOF camera doesn't suffer from gimbal lock like the standard camera would if you simple removed the pitch restrictions.

Recent Blog Posts
List:05/31/08 - DayOfWar Six Degrees Of Freedom Camera System
05/26/08 - DayOfWar Player Controls
05/08/08 - DayOfWar more Asteroids
05/05/08 - DayOfWar Moons/Asteroids
04/28/08 - DayOfWar Oceans
04/07/08 - DayOfWar SixSidedSpheres 2nd try
04/07/08 - DayOfWar SixSidedSpheres
02/22/08 - DayOfWar is a Finalist.

Submit ResourceSubmit your own resources!

Ryan Jaeger   (May 31, 2008 at 02:09 GMT)   Resource Rating: 4
Very nice!
Brings me back to my days with descent...

Q: Does the auto level take into account the terrain beneath you to factor how to level out? If so that's very cool!

Bill Vee   (May 31, 2008 at 02:19 GMT)
@Ryan - The auto level function takes the gravity of the planet ,which in in the form of a Point3F variable ,normalizes it then adds a force to its x and y axis to realign itself to be perpendicular to the normal.

Morrock   (May 31, 2008 at 02:34 GMT)
Just like how my gravitational realignment works :p I'm having a few problems watching the video...In IE I just get strange text and in Firefox I'm just getting the quicktime logo. Still loading or something? I'm still working on those collisions for the new player class you talked about, hope eventually I'll be half as progressed as this :p
Edited on May 31, 2008 02:38 GMT

Nathan Kent   (May 31, 2008 at 02:54 GMT)
@Murrock
I had the exact same problems. I got it to work by going to the parent directory (in IE), and loading the movie from there.

Very cool, but I think I like the water orbs better ;-)

Bill Vee   (May 31, 2008 at 02:56 GMT)
@ Morrock - The download problem may be a mime type problem with my website.
I am looking into it.

Bill Vee   (May 31, 2008 at 03:13 GMT)
If anyone is having problems with the download use this alternate link.

Morrock   (May 31, 2008 at 18:33 GMT)
Ahh, just saw the video now. So now you can actually have a useable spectator camera, eh? Looking very nice.

Brian Wilson   (Jun 01, 2008 at 19:34 GMT)
Really nice camera Billy. I can see countless uses for it based on the players mount state. And as always, your transparent development model is inspiring. I can think of at least one v.2 game engine that could learn from your example ;p

Maxwell Marsh   (Jun 02, 2008 at 07:22 GMT)
I got pretty disoriented and dizzy at around 2:30 when you started rolling far above the ground. Good work!

You must be a member and be logged in to either append comments or rate this resource.