The One Man MMO Project
For some time now I've suffered with abominable build times on my optimized builds. A full rebuild of just the client in Debug takes 160,825ms but in Release it takes 371,462ms. So for less code, that's a whopping 231% increase in build time just for optimization!
I build three different configurations of my game. Debug is a build with all debugging features enabled, ASSERT's on and debug trace output. Release has full optimization, no ASSERT's or trace output. I also have an Abort built which is fully optimized with ASSERT's and no trace output. I use the Abort build often, but the 6 minute build times even for a one-line change make it super-inconvenient to iterate.
Read 1895 more bytes... (1 comments)
The interview I did last week has been posted: Interview: Robert Basler, One Man MMO and The Imperial Realm: Miranda.
Read more... (2 comments)
I've spent quite a bit of time the last couple weeks piecing bits of different articles together to figure out how to implement normal mapping in the Lair Engine. The problem I encountered is that there is a huge variation in the methods and terminology used for normal mapping. This makes it a very confusing topic for non-math-lovers like myself. So here I'm going to explain the three common techniques for normal mapping for the mathematically uninclined.
Read 23052 more bytes... (7 comments)
Thursday morning it occurred to me that today would mark the 4 year anniversary of the start of my work on The Imperial Realm :: Miranda which made me think, "it's about time I put up some real, unretouched in-game screenshots."
[Waiting out the Sandstorm]
[Immovable Object, Meet The Irresistible Force]
I love the sand storm effect! Sometimes I park the camera under a ridge and watch the sand blow over my head. Getting all those particles interacting with the terrain at a decent frame rate was tough.
These screenshots show The Wasteland, one of several biomes in the game. It is hot, white sand, and rock and nothing lives there except some curious flowers. Anything you can see in the screenshots you can go to with no immersion-breaking load screens.
You may have noticed the second shot borrows a note from Oblivion. I loved the shots of Jack motorcycling between buried ships in a post-apocalyptic wasteland. If the final game reminds you a bit of Iceland, Oblivion and Prometheus are why.
Read 2391 more bytes... (0 comments)
Here is a good example of why multithreading is hard.
Read 3044 more bytes... (0 comments)
I can't remember the last time I had to spend any time finding a memory stomp. This was not always the case -- I have spent many an hour with data breakpoints. Man was I happy when those finally started working on the Wii. Today I thought I'd share a couple little things I use to eliminate overflows in my code.
Read 2561 more bytes... (2 comments)
I always hated working on games that didn't have a working debug build. On some the framerate was too low. Some didn't even build. There was always one real reason for it: somebody in charge didn't think it was worth having a running debug build. But the cost of a broken debug build is a huge increase in bugfixing time. Debugging a non-debug build results in misleading values in your debugging windows, bad callstacks, and heavy reliance on static analysis of trace output to figure out what has gone wrong. In short: it has a huge cost in developer time.
Read 5477 more bytes... (0 comments)
I've been stuck on this for a week, so I'm putting it out as a Friday puzzle challenge. Can you tell me what I'm doing wrong?
I added the normal mapping code from Followup: Normal Mapping Without Precomputed Tangents. I have other normal mapping code which uses the usual method of passing the tangent vector with the vertex data and that works great. There's no vertex shader code on The Tenth Planet, so I had to figure that out myself.
The problem I have is that if I use the normal from perturb_normal, the lighting rotates with the model so it is always the same side of the model that is lit (beautifully) no matter how the model is oriented relative to the light source. If I light the model with the interpolated vertex normal I get smooth n dot l lighting which works as expected.
Read 8363 more bytes... (1 comments)
In my quest to increase draw distance, I needed to find a way to reduce the number of triangles in my terrain block meshes from 7938 to something much smaller but that still retained the overall shape of the original block. I found lots of algorithms for decimating (reducing the number of triangles in) meshes but nothing specific to terrain meshes.
Read 8978 more bytes... (0 comments)
I read this post on AltDevBlogADay which made me decide to finally post this:
I was approached by a fresh-faced rep from Hansoft at Game Developers Conference a couple years ago. She asked me if I used project management tools, and after replying that I used their software, she was really excited and asked me what I thought of it. I told her I had never seen a product so thoroughly designed to make people feel bad about their work. She stared at me blank faced, then handed over one of every tchotchke they had in their booth.
The toys didn't make me feel any better about Hansoft. Do you have a happy team? Hansoft may well drive it into the ground.
Read 3167 more bytes... (1 comments)
Designing a Secure MMO Login System - 2014-08-30 12:19:14 (6 comments)
Its just a random number appended to the data you are hashing so that if you hash the same password for two different users, they don't have the same hash. That way it is harder for someone with a list of common passwords to hash and compare them ...
Designing a Secure MMO Login System - 2014-08-30 12:11:57 (6 comments)
hi, im new to all this ... what is "salt" ?
Thanks for the suggestion, I hadn't considered that. I'll try to figure a way to let players do that.
So I notice that the colour picker has no place to simply input an RGB colour. Will we be able to input an RGB colour manually in-game so that we can get the exact shade that we want?
Single-File Installer - 2014-07-23 17:48:47 (2 comments)
Found a solution to the MT warning message http://onemanmmo.com/?mt
Copyright (C)2009-2014 onemanmmo.com. All Rights Reserved