Journal of Aardvajk

Vague rambling with the occasional tangible result
1,927 comments
21 followers
744 entries
Advertisement
Aardvajk
April 04, 2012
Template Metaprogramming
Who says template metaprogramming can produce confusing error messages?

..\branch\src\business\importer\qc\QcImportWorker.cpp: In member function 'virtual void QcImportWorker::work()':
..\branch\src\business\importer\qc\QcImportWorker.cpp:168: error: no match for 'operator<' in 'columns.QVector::o…
2,763 views
Aardvajk
March 21, 2012
Opus 3D update


Just thought I better post an update about Opus really since it's been a long time. I decided at lunchtime today that as well as wading through the planned features, I needed to start actually using the software as well to highlight …
1,590 views
Aardvajk
February 28, 2012
Opus New features


Wow. Regular journal updates at the moment. Nice to feel motivated again actually.

The tool panel on the right-hand side of the application always contains a vertical stack of controls and I wanted to be able to show/hide them easily …
1,297 views
Aardvajk
February 27, 2012
Opus3D stress test


Decided I better test that Opus can cope with complex models sooner rather than later so found a free sonic OBJ model, loaded it into Milkshape and exported it using the Opus exporter I quickly threw together.

I'm actually very please…
1,289 views
Aardvajk
February 27, 2012
Opus3D low poly modeller reawakened


Playing with Milkshape again and coming up against some of its bugs has got me reinterested in working on Opus3D, my own low polygon modeller. Screenshot above for those of you who have forgotten.

It's meant to be a kind of modern Mil…
1,937 views
Aardvajk
February 26, 2012
Milkshape plugins
Got in touch with the chap at Chumasoft or whatever it's called and he very kindly dug out my Milkshape key for me. Excellent customer service, very impressed.

Since I'm working on a 3D game I figure I'll need some animated models at some point so started dusting of my Milkshape skills again. Nothin…
1,826 views
Aardvajk
February 23, 2012
3D platformer continues


So the mess in the picture above actually marks some pretty sterling progress on my 3D platformer. You are looking at a cubic tile-based map along with a bunch of moving blocks and a controllable player that can run and jump.

All of t…
2,017 views
Aardvajk
February 20, 2012
3D Platformer


So I saw an advert for Super Mario 3D on the 3DS on TV the other day and I thought to myself, wouldn't it be nice to just stop worrying about complicated physics for a bit and just write a platformer like I used to, just based on axi…
1,613 views
Aardvajk
February 12, 2012
Shadow Mapping part 2


Painfully slow progress as is normal for me, but the shadow mapping experiment continues well. I'm trying very hard to make sure I understand everything properly rather than just copy-paste code, hence the snail-like pace.

I've combin…
1,668 views
Aardvajk
February 11, 2012
Shadow Mapping


Decided to start learning about some of these new-fangled 3D graphics programming techniques recently. Above is a very early-stage experiment with shadow mapping. I'm generally about 10 years behind the rest of the world, so probably…
1,533 views
Aardvajk
December 22, 2011
Seasons Greetings
Thought since the festivities are nearly upon us and I'm off tomorrow to rural Scotland, the land of limited internet, I should pop my head into [s]bad-tutorial-land[/s] journal-land and say hi.

Work continues well. I love being paid to write computer programs after all these many years as a hobbyis…
860 views
Aardvajk
December 06, 2011
Work related stuff
Might as well post some work related stuff since I'm certainly not doing any other programming.

While Qt is a fantastic library, one of the great things about Win32 is that you can subclass pretty much anything you want to do pretty much anything you want. The downside of a GUI library based on inhe…
1,157 views
Aardvajk
November 22, 2011
New direction
Again, long time no post, simple reason is that I've done nothing programming related outside of work.

I've decided tonight that if I'm going to work on games in my own time, I'm going to write Flash games. The reasons for this decision are as follows:


  • They better reflect games smaller in scope, so a…
1,130 views
Aardvajk
September 30, 2011
Complex grammar is a pain
Something I really want to put into Om, my scripting language, is custom types and nested types. This is a for fun project so something being difficult is not a reason to avoid it - quite the reverse really. But it is definitely bringing its own problems.

Up until thinking about this, the grammar fo…
1,101 views
Aardvajk
September 24, 2011
More VM and compiler stuff
Might as well post up some more detail on my compiler/VM as I'm bored and home on a Saturday night.

I got concatenation operator working today for arrays. The following works:

[source]

char[][] a={ "one","two","three" };
char[][] b=a;

out a[1]+"\n"+b[1]+"\n";

a[1]="fish"+"four"+"five";

out a[1]+"\n"+b[1]+…
712 views
Aardvajk
September 23, 2011
Reference counted garbage collection
Bit too tired to write this up in detail, but I've got an interesting system working in the VM now where, as per ApochPiQ's advice last post, I'm now using reference counted garbage collection. A buffer is also tagged to say whether it points to a list of allocated buffers and if so, when it is fre…
791 views
Aardvajk
September 12, 2011
Yet another virtual machine
Hey. It's been a month since my last journal. That's long. Lots of us seem to be posting like this these days.

Work continues well. It has been a big shift from being a solo hobbyist developer to working on a real project as part of a (admittedly small) team but I was kind of prepared for the differ…
916 views
Aardvajk
August 11, 2011
Still alive
So I'm still alive and the job is still going well. Much as I feared though, I've lost all motivation to work on pet projects in my own time, but I guess that was inevitable. May change in the future, who knows.

Actually got my hands on some C++ at work now although I was quite happy messing about w…
741 views
Aardvajk
July 25, 2011
New job begins
So first day in the new programming job today and all went very well indeed. Was just setting the PC up all day today so not really a typical day but the people seem lovely, its a nice office and there is an entertaining dog that dribbles on you while you work.

Looks like the first order of business…
785 views
Aardvajk
July 18, 2011
Yet another scripting language
I've got to the point where I'm thinking about plug-in support for Opus and after many hours sitting in a cafe scribbling notes about the pros and cons of DLLs, I decided that a scripted solution was the way forward. I've been looking into various options and, as per usual with a hobby project, bec…
806 views
Aardvajk
July 15, 2011
Er

Er

Er, um, er.

Er.

I appear to have a job as a C++ Developer.

Er.

Um.

Er, think in shock. In the best possible way of course.

Um. Er.

Er.
1,588 views
Aardvajk
July 08, 2011
Extrude edges and some fun with Undo/Redo


Got the extrude edges tool working at last. You can basically select a bunch of vertices and when you extrude, it finds all the unique triangle edges that are selected, and extrudes from them. This is handy when you don't have faces …
1,092 views
Aardvajk
July 04, 2011
Extrude Face tool (titles get worse)


So yes, I have the extrude face tool working and yes it was a complicated bugger to get right, especially getting it playing nicely with the undo/redo system.

Behold a little building fashioned from a cube with a combination of the ex…
964 views
Aardvajk
July 03, 2011
Scale tool (can't think of witty title)


Appreciate these entries are getting a bit dull, but I've got the scale tool working in a way I'm happy with now.

You have the usual options - locking off certain vertices, scaling axes in a uniform way or not and so on. The scaling c…
730 views
Aardvajk
July 02, 2011
You spin me right round, baby, right round


Finally got the rotate tool working in a way I'm happy with.

I decided to add the concept of a cursor to the orthoviews. The cursor has a global world position and can be dragged around or set manually using the cursor tool, set to fo…
576 views
Aardvajk
July 01, 2011
3D modeller dusted off


I've dusted off Opus recently and been messing about trying to get some more stuff working. Most of it has been under the hood stuff to improve performance but I did get the optional infinite grid working in the orthogonal views toda…
696 views
Aardvajk
June 28, 2011
They think we are all weirdos


My local library has really weird ideas about us lot. Probably think I'm even more weird for taking photos of it.

In other news, since when did I suddenly become an "outstanding forum member"? "Brilliant", "witty" and "movie-star hand…
700 views
Aardvajk
June 23, 2011
Never assume people know you think your code is crap
Lesson learned. When dealing with people in the professional world, never ever assume that they know you think your code is crap.

I was emailing back and forth with the guy mentioned recently about this potential project. Now I should know better than this - I'm an experienced B2B salesman and have …
1,143 views
Aardvajk
June 22, 2011
Qt

Qt

Hmm. So now I have to research Qt. Looks quite impressive.

Now building the library at the command line. Man, this makes me feel like a proper computer programmer. Might full screen the command prompt and dress up like Neo for a bit. Fuck I wish I'd set the prompt font colour to green before I start…
956 views
Aardvajk
June 22, 2011
This could be promising...
Hmm. So I applied for a job as a C++ Developer recently. Was quite amazed to see one advertised in my home town and am massively underqualified based on the spec (degree, experience, all the usual stuff) but thought sod it, I'll send an email.

The guy came back within the hour to say that while I wa…
547 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
8 Followers
15 Entries
9 Followers
johnhattan
Programmer
1,277 Entries
46 Followers
ApochPiQ
Generalist
628 Entries
43 Followers
dgreen02
Generalist
338 Entries
55 Followers
Advertisement