Twitter  Facebook  Google+  YouTube  E-Mail  RSS
The One Man MMO Project
The story of a lone developer's quest to build an online world :: MMO programming, design, and industry commentary
By Robert Basler on 2013-01-28 23:27:24
Homepage: www.onemanmmo.com email:one at onemanmmo dot com

I'm writing this up because of the unbelievable pain I went through to get it working. It seems like something that shouldn't be that difficult: getting a model to follow terrain by adjusting its up vector to match the up vector of the terrain mesh under it and to face in a given direction, but try and try again, I could not get it to work. Rotation matrices are my bane. Nothing else I do is so unbelievably frustrating. If they worked or didn't work that would be fine, but as I went along I found a lot of variations that would almost work and it wasn't always easy to tell what was wrong. My favourite variation worked perfect when going north or south, but squashed the model into a diagonally tilted pancake as it rotated through east and west.

I found a lot of information on the topic on the internet, but all the detailed examples were for DirectX, the OpenGL ones were all brief, too brief evidently.


By Robert Basler on 2013-01-20 02:09:15
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
My game's environment is 300km by 300km. In real world terms, that isn't all that big, but for a game world, it is sizeable. Once a rendered scene becomes larger than a couple of kilometres in size, you start running into severe problems with floating point accuracy. Even with my test terrain which is only 20km by 20km, I had very noticeable problems with props on the terrain appearing and disappearing as the camera moved. The graphics card thought the terrain was alternatingly in front of, or behind, the prop.

Luckily there is a fairly simple to implement workaround for this issue.
By Robert Basler on 2013-01-12 02:15:20
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
Today I got the last major rendering feature running. I also fixed a bug that has been bothering me for weeks. I didn't expect today, or the last two weeks for that matter, to turn out like they did.

I wanted there to be some vivid color in my world. Much of the scenery is monochromatic, so I wanted flowers. Fields of them.

Normally I write about things that go well. Like this week I wrote a bitset template class, nothing super complex, but a few hundred lines of code. To my amazement it compiled without warning and passed its also-brand-new unit-test the first time. That doesn't happen very often. Occasionally I'll write about things that went pretty badly. Then there are the things that go spectacularly off the rails.
By Robert Basler on 2013-01-02 19:33:01
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
I was designing a faction select screen today. I want there to be approximately equal populations in each faction. While doing the layout, an old bias I noticed came to mind.
By Robert Basler on 2012-12-31 12:35:27
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
Last year I looked back at 2011 and made some predictions. I thought it would be good to take a look back at this year and see how I did on those predictions.

2012 was definitely the year of rendering. I had a vision for the look of my game and my biggest accomplishment this year was taking the first screenshot that actually looks like that vision.
By Robert Basler on 2012-12-24 14:02:52
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
Getting my Christmas list ready this year was sort of disappointing. In years past, I would ask for all the hottest new PC games and I had a lot to look forward to on Christmas morning. This year there were few big releases, and I already had Mass Effect 3. The only 2012 game on my list this year? Guild Wars 2.

I like big, complicated, 100 hour story driven games. I love Command and Conquer (haven't played a good one of those in years), Mass Effect (although I can't get into the final chapter) Bioware or Bethesda RPG's. I love to explore the worlds of MMO's. I really miss the space shooter genre - Freespace was so much fun, and getting Wing Commander 4 for Christmas so many years ago was the highlight of the day.

I think the fragmentation of the games market is getting me down. I don't have an iPad, or a Android phone, or an iPhone (I often feel like I'm the only one) I don't use Facebook, so all the effort that has gone into development of games for those platforms is wasted on me. And frankly, one session of Angry Birds was really enough.
By Robert Basler on 2012-12-18 00:19:10
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
I'm not a great artist. I did some drawing classes a few years ago which I quite enjoyed, but I didn't produce too many masterpieces -- although I liked this one:

chalk.png


I am decent with a camera -- I was working the macro lens a couple weekends ago shooting some kitchen items to try as textures. Sugar looks like diamonds, and icing sugar looks like weird rock formations. Shortly afterwards I found cgtextures.com which is an amazing resource for textures.

You may be able to tell, I've been having a whole lot of fun the last few weeks. As a programmer I was surprised at how wonderful and satisfying it is to put art into a game engine. It's not something I really got to do working on game engines at EA. With the new art in place, a couple weeks ago I took the first screenshot where I excitedly thought "I could show this to people and they wouldn't laugh!"
By Robert Basler on 2012-12-01 19:32:35
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
If you haven't already, check out Part I.

Things have been quiet on the blog the last couple of weeks but there has been lots of exciting progress behind the scenes. I purchased World Machine and modified my terrain import tool to read the beautiful World Machine height maps as well as its flow, deposition and wear maps.

I've increased the terrain heightmap resolution from 10 metres to 2.5 metres, and the improvement is startling. There is now lots of fine detail on the heightmap which makes it much more realistic and interesting. The rolling hills are officially retired.
By Robert Basler on 2012-11-28 23:22:55
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
I'm working on optimizing my terrain processing program a bit. I figure with the current process it goes through it will take a whopping 9 days full-tilt to process my terrain data. So I got out AMD CodeAnalyst to see what was taking the time. I was shocked that CodeAnalyst reported that my app was spending 91% of its time waiting on spinlocks.

I didn't believe it. But that didn't mean I wasn't going to check.
By Robert Basler on 2012-11-05 21:02:09
Homepage: www.onemanmmo.com email:one at onemanmmo dot com
I was debugging a texture settings bug when I got this cool looking result:

PsychedelicBug.png

Read more... (0 comments)

More Posts

Project Line Counter in Visual Studio 2010 - 2011-06-04 00:01:45 (5 comments)
A Chrome UI - 2011-04-07 10:28:46 (6 comments)
Looking for a Fast Square Root - 2012-03-29 11:19:56 (4 comments)
Enabling NVidia GPUs on Optimus Laptops - 2014-12-03 02:31:40 (3 comments)
Trailer Update - 2017-04-03 00:05:02 (0 comments)
Setback - 2017-05-24 23:14:05 (0 comments)
Stuck!! - 2016-10-12 15:47:27 (0 comments)
Full Indie Demo Night 5 - 2016-09-30 02:09:45 (0 comments)
Netgear is Stupid - 2017-01-14 19:48:29 (0 comments)

Recent Comments

Here are some better images showing the Foundation Extension in action.

The Imperial Realm - Miranda - Steep Cliff_Lo.jpg
[Too steep a cliff for a building]


The Imperial Realm - Miranda - Steep Cliff Consumable_Lo.jpg
[Used one of the Foundation Extensions]


The Imperial Realm - Miranda - Steep Cliff Positioned_Lo.jpg
[Tadaa!]
So How's it Going? - 2017-08-04 13:27:26 (1 comments)
Any news on updates ? been a while ?
The 5% Problem - 2017-07-27 18:22:17 (4 comments)
That all sounds like a pretty reasonable summary of the state of RTS multiplayer. Mostly I played co-op multiplayer with friends because in 1v1 I would slaughter them. While you can play 1v1 in Miranda's Nemesis mode if that's what you want to do, ...
The 5% Problem - 2017-07-26 13:35:05 (4 comments)
One of the major reasons there is so little competitive multiplayer in RTS (the scene is almost exclusively made up of starcraft, along with some other extremely tight communities) is that in most cases the competitive MP is designed for 1v1 ...
The 5% Problem - 2017-06-10 13:59:01 (4 comments)
Thanks for the feedback. Ideally at some point we will have enough players that there will be other players available 24 hours a day. I added Nemesis Mode to encourage players to interact with each other since often I see multiple people online who ...
|<      <<      13      14      15      16      17      (18)      19      20      21      22      >>      >|

  Admin Log In



[The Imperial Realm :: Miranda] [Blog] [Gallery] [About]
Terms Of Use & Privacy Policy