
05 September 2007
05
September

So I dug up the ol' gravitas solution and decided it was time to load a mesh in there. Coding4Fun again proved helpful. Unlike the very uninformative error messages from DirectX. With some playing about, I managed to get the sample heli.x to load and render in stark white.Then I had to turn on the lights. (device.RenderState.Lighting = true; device.RenderState.Ambient...
Posted on Wednesday, September 05, 2007 by Unknown
14 May 2007
08 May 2007
08
May

TeamPlain has a goto work-item search that opens up workitems, oddly enough. I wanted to use the Firefox search box to fire this off.Using the guide: Creating OpenSearch plug-ins for Firefox, I started putting together an XML OpenSearch description in notepad.Needing an icon, I Gimped out the logo from the TeamPlain site, took it past the data: URI...
Posted on Tuesday, May 08, 2007 by Unknown
03 May 2007
03
May

So my screen went on the blink; more like the scramble. It was very upsetting, and it carried on like this for a few weeks. I used an external monitor and sometimes the regular screen would work. It was very unpredictable and would break without any cause, which frustrated the hell out of me.Eventually while sitting in a friend's loungue I decided...
Posted on Thursday, May 03, 2007 by Unknown
03
May

So, I went to the 'My Coke Fest' in Joburg. It was pretty cool. Hoobastank rocked ;) their lead singer looked like he couldn't have been more than 20; turns out the whole band is over 30 -- there's hope for us yet.The picture (left) is of Hoobastank, with their lead singer standing on his box -- he was so tiny. Apparently he's Incubus' brother,...
Posted on Thursday, May 03, 2007 by Unknown
02 May 2007
02
May
So, I wanted to add substance to my craft. This was quite easy. I rearranged the points in the VertexBuffer into a list describing a triangle fan and fiddled to get that to work.pointList_VB = new VertexBuffer(typeof(CustomVertex.PositionColored), 12, device, Usage.Dynamic | Usage.WriteOnly, ...
Posted on Wednesday, May 02, 2007 by Unknown
02
May
So, I had collected a lovely bunch of variables to track the position of the craft, looking something like this: (gotta love having your dev history in an SVN repo) private Vector3 p1rot; private Vector3 p1rotInput; private float p1rotForce; public Vector3 Player1Rotation { get { return p1rot; } ...
Posted on Wednesday, May 02, 2007 by Unknown
01 May 2007
01
May
So, I demoed my game on battery power.. and it sucked. Interestingly whenever windows showed a tooltip, the game ran at full pelt.. something fishy there.
But anyway, I introduced a Δt (delta t for the unicode (or greek) unaware) into my calculations.
The first stumbling block was that I was using the tick counter, which sucks a bit. The thing is, even though it has damn good accuracy, it is only updated every now and then. Which is a bit odd.
I managed to hack it into working by doing the following:
private void Physics()
{
while...
Posted on Tuesday, May 01, 2007 by Unknown
19 April 2007
19
April

I wanted to have my game panel run inside a splitter with a collapsible properties panel. This was quite easy to achieve, merely needing the changing of the handle that directX was pointing at. i.e. changing this:d3dDevice = new Microsoft.DirectX.Direct3D.Device(0, Microsoft.DirectX.Direct3D.DeviceType.Hardware, this, flags, d3dpp);to this:d3dDevice...
Posted on Thursday, April 19, 2007 by Unknown
17 April 2007
17
April
Update: I'm using MDX, Rein's using XNA and Colin has joined us using GL.My first deliverable was to have an object in a scene with tilt-to-steer and gravity.This is done.yay!The objectThe object is a triangle list primitive with a single triangle in it. Each vertex is differently coloured to help with orientation. It whizzes around quite satisfactorily...
Posted on Tuesday, April 17, 2007 by Unknown
29 March 2007
29
March
So, Rein and I decided to have a little compo. To learn DirectX and make something cool.
The first thing I've been able to come up with is a remake of an old game that used to go by the name of 'VGA planets', not the VGA planets, mind you. With such a name, it's just not possible to find in amongst the birdmen and the borg ( I think they've assimilated the original).
Spec:
We have a bunch of planets which remain stationary, players' space ships which are fitted with inertial drives which can be turned off.
A ship has fuel and a gun. The gun...
Posted on Thursday, March 29, 2007 by Unknown
26 March 2007
26
March
So, I had a plane trip ahead of me, and I wanted to be able to use .net StringBuilder with operators, below is the bstring class I wrote to do this. It's pretty straightforward, except the * operator behaves like python's and additionally is faster than a looped StringBuilder because of the pre-calculation (and allocation) of capacity. Still trivial, but it makes the StringBuilder useful without having to remember its syntax.In testing it (obviously) beat the string class and also was indistinguishable from the StringBuilder in all but the *...
Posted on Monday, March 26, 2007 by Unknown
Subscribe to:
Posts (Atom)
Popular Posts
-
In Boris Gloger 's "Estimation in Depth" deep dive at the South African Scrum Gathering he introduced us to Magic estimation....
-
The problem Stored in a varchar column, payload_xml , we have xml that looks something like this: <?xml version="1.0" encod...
-
A few years back I met a young soul exploring software development. He had programmed some robots, learnt some python and gotten himself to ...
-
On day 2 of the Cape Town Scrum Gathering (a.k.a. Scrum Safari) there were a few lightning talks in the afternoon. I was lucky enough to na...
-
Mohamed Bray Sugsa August 2010 This month's sugsa was a cross-talk from the Business Analysis community. The Talk Mohamed describ...
-
Or, how I learned to read the assembly name In which I include dll's I was trying out this tutorial on Geekpedia and the references w...
-
All of us at Information Logistics took the break from routine to take part in the Scrum Safari . My mind's still processing the influx...
-
Today I hosted the third code retreat at Information Logistics . Today was a great success with six awesome developers from around Cape T...
-
Breaking it down: scrum i kanban agilistic xp lean i do cious Scrumikanbanagilisticxpleanidocious is a word I dreamed ...
-
This is the third in my Agile Contracting series . As with the previous post, this is a verbatim copy of my speech notes, with some mark-up...