Archive for March, 2009

So after the mess of my last post (see the comments for how it all plays out) it seems that while LINQ is really efficient for small data sets, ordering appears to happen at an O(n^2) rate (or close) of speed. Try sticking a list with a few million items in it through that and [...]

Monday, March 30th, 2009 at 22:11 | 6 comments

Recently there was a question on the XNA forums about finding the closest object to a certain point. Ultimately an answer was given using a for loop that is probably the best route to go. But I was curious about this and decided to try and write a LINQ query that would do the same [...]

Monday, March 30th, 2009 at 06:14 | 9 comments

One of the things I wanted to tackle for my framework is the idea of dynamically reloading assets that were altered while the game is running. The first step is just laying down the basic idea of how to accomplish such a thing. So here’s my first stab.
First we define a common base for all [...]

Monday, March 23rd, 2009 at 20:54 | 5 comments

I’m pretty stoked right now. I have my first real render in D3D10. It took me a while to get things set up, but now I’m feeling a bit better. It definitely has shaken some of my conceptions of how things worked in Native Land, but I’m getting there.
So far the two main stopping blocks [...]

Sunday, March 15th, 2009 at 17:46 | 7 comments

Don’t have time to write much right now, but I got myself a cornflower blue window running with Direct3D 10 tonight:

It’s not much, but at least it means my Win32 message loop is working, and all of my Direct3D 10 initialization is working.
I also spent time to make a GameWindow class which handles the window [...]

Saturday, March 14th, 2009 at 18:57 | 3 comments

One thing about my MVP award that always bugged me is that I’m in the category of “XNA/DirectX”. The problem with that is I really don’t know DirectX at all. Sure XNA is a wrapper on top of it and I played around with D3D9 for all of a week or so a while back, [...]

Saturday, March 14th, 2009 at 16:24 | 0 comments

It’s been a while since I’ve had steady income, which directly affects my post frequency as you may have noticed. However this is a problem that was remedied today when I accepted a contract position* at Microsoft as an SDE (software development engineer) which will start on Monday and last for the next six months.
So [...]

Monday, March 9th, 2009 at 20:23 | 2 comments

I’ve moved the site again! Now instead of going to NickOnTech.com, a domain purchased when I had ideas that never came to fruition, you can update your bookmarks to NickGravelyn.com. Thankfully this time it was a direct move so no data loss and all links* have been maintained so there should be no discontinuity.
* I [...]

Sunday, March 8th, 2009 at 12:12 | 2 comments