Blog

Human Factor - Physics experiments

After spending a great deal of time on configuring the Ode engine, I've managed to correctly place objects into the world that it represents. The problem is, however, that the objects do not interact as I intended them to do. From the screenshot you can see that the bomb which was placed on the back of the truck is now heading in full speed away from it. When you look at the ground, you will also see that there are som problems with the 3DS conversion I am doing. It looks as if the ground is broken somehow.
Monday September 12. 2005

Human Factor - OdeJava

I've been trying to implement the OdeJava into the application. The problem is that there is no direct connection between Java3D and OdeJava. I've written a model converter using code from the Spacebomber as a base.

When I completed this task, I realized that this converter would not work when I used the OBJ file reader provided with Java3D. When I converted these objects into 3DS files and used the Starfire 3DS loader, I was successfull in converting them into Ode objects.
Sunday September 11. 2005

Human Factor - Attached crane

I've now included functionality for attaching an object to an another object. This was made in order to allow the crane to lift the bomb in the simulator. After implementing this functionality I realized that the current simulation does not look very realistic.

After looking at several possible solutions for implementing physics simulation in Java3D, I've come across a library called OdeJava. This is a Java "port" of the Open Dynamics Engine, an open source alternative to commercial physics engines like Havok. I will try to include this engine into the application and see how well it behaves.

In the screenshot below you can see that I've placed the car with its front down into the water with the nuclear warhead on its back. The second screenshow shows that the warhead has been picked up by the crane. But what am I supposed to to with it? I'll just leave it up there for now.
Saturday September 10. 2005

Human Factor - Java3D FSAA

Although Java is the best solution to networked applications (period), the 3D part is quite problematic. In an attempt to increase visual quality I activated full screen antialiasing (FSAA). This reduced the framerate considerately - close to 2-3 frames per second. This made med think that the library either does all calculations in software, or that the FSAA process is done in software. The few images I saw were a lot better looking than those earlier, but what about the speed?
Thursday September 8. 2005

Human Factor - Remote controller

I have now implemented a client/server interface which allows a user to remotely control parts of the visualization. This functionality uses a simple protocol based on Java streams. As I have tried to make it so that as little data as possible are transferred on each update, the delay between an action on one computer and the update on the other one are almost non-exsistant. The controlled object is the crane now placed a little to the right of the truck.
Wednesday September 7. 2005

Human Factor - Skybox

I successfully added a skybox to the 3D world. What is a skybox, you ask? A skybox is a giant box covering all the other objects in the game world. Inside of this box are some textures which will give the user the illusion of an endless game world. I found some simple textures made for skyboxes which fit perfectly into the scenario of this simulation. This really made an impact on the visual quality of the application.

As you can see from this screenshot, some new models were also added. If you see near the top of this image, you can see the horizon, which is a part of the skybox image.
Tuesday September 6. 2005

Human Factor - First 3D models

We are finally getting somewhere on this project. I have included some 3D models into the application. These models were made by Torbjørn at WOW Medialab, one of the other participants in this project. We had some initial problems in importing the models into Java3D. Out of the package this library doesn't support too many formats, and we ended up using OBJ files, a primitive file format for 3D objects. The biggest problem were to give the objects some actual color, as the original material files that was created with these models gave us a dark, grey world. This was only a export issue from Maya.
Monday September 5. 2005

Back from London

I came back from london late this evening. The job interview went very well, and I am quite confident that I will get this job. Hopefully I will get a positive response sometime the next week.

London is a horrible place to find your way. I am sure that I got lost at least 10.000 times during my stay there. A friend of mine told me that he saw a documentary on Discovery on how London is the worst place to find your way. I can confirm this belief.

One thing that irritated me, was the name of the hotel I stayed at. The name of the hotel was the Westminister Hotel. I thought that the name of the hotel said where the hotel was placed, but no.. In Westminister, which were filled with tourists, noone knew where it was. I finally found out where it was - in the opposite side of the city. After my job interview I went 10 stops on the subway to get to Westminister, then 12 stops back the same way to find my hotel. Quite irritating.
Saturday September 3. 2005

Trip to London / Human Factor

Tomorrow morning I am leaving to London where I am having a job interview with Glu. Cross your fingers and praire for me to get the job.

Today has been the start of yet another project - Human Factor. In this project we will try to simulate scenarios where we will test how well people tolerate stressfull situations. The scenarios should be presented in glorious 3D. Each participant should connect to the server running the simulation using a simple client showing only the controller this person is using. One person could for example control only the X axis of a crane. As the situation comes out of control as some of the controllers gets screwed up, persons will start to stress.

We decided that we will implement the simulation visuals with the help of Java. This because I currently knows Java better than C++, and that I have used Java for networked applications earlier.

My first attempt at using Java3D i presented below. Not really impressive yet, but I am starting to get the feeling on how to use the library for implementing a virtual world.
Thursday September 1. 2005

Master's Thesis finally handed in

I've finally handed in my Master's Thesis. Six hard months of work has been put into this thesis, and it was well worth it. The amount of gained knowledge over the last few months are in a class of its own. All the way from completely scratch to a complete library for developing mobile phone games is an incredible feat in its own.
Wednesday August 31. 2005
<< 1 | 2 | 3 | 4 | 5 >>
Page 3 of 5

Adverts