Show us yer programming projects!

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

>Excellent work.

Thanks. :D

>Will you be releasing it into the wilds as free/shareware?

Ye, there will be a whole set of tools. The shareware route probably won't work well. I basically have zero data points for that kind of thing. On one hand it's somewhat small scale, but on the other hand it's highly specialized. I really don't have a clue what kind of prices would work there. I'll probably go with donate-if-you-can-ware or the same a tad more pushy. I.e. a fully functional completely unrestricted thingy which is free for educational, open source and personal use and 5-10$ for commercial use (sorta like Fmod's licensing model). Something like that perhaps.

Well, it was pretty much unplanned. I just felt that I had to do it. It's always like that... once I got all the puzzle pieces together I have to do it, because those puzzle pieces are there. Oh the wonders of circular logic. I don't really try to resist though - often the result is something useful.
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Re: Show us yer programming projects!

Post by failrate »

For anywhere between free to 10 dollars, I would make a point of making sure every ui designer I know kept a copy of that in their holster :)
User avatar
noodles
Baaaaaa!
Baaaaaa!
Posts: 2053
Joined: Wed May 15, 2002 1:04 pm 0
Location: France

Re: Show us yer programming projects!

Post by noodles »

Well I'm still hacking away at my little Rogue-like.

Latest installment is 0.7 :

Image


Demo download (first 5 levels only): Here
SiN
Baaaa!
Baaaa!
Posts: 850
Joined: Sat Dec 11, 2004 4:25 am 0
Location: Canada
Contact:

Re: Show us yer programming projects!

Post by SiN »

@oNyx:
Looks fantastic. Quick bit of feedback though. In your 3x3 matrix, consider putting the "normal" image in the middle. It's *much* easier to compare the original with the rest of them this way.


SiN
32x32 . duotrix . geomex . smiley's shooty adventure . by caffeine monster software | my blog
User avatar
Devlin
Baaaaa!
Baaaaa!
Posts: 1380
Joined: Tue Aug 02, 2005 10:53 pm 0
XBL Gamertag: Anarkhis
Location: Bradford, Sacred Sod of God's Own County
Contact:

Re: Show us yer programming projects!

Post by Devlin »

I've updated my BlitzMax library. Now I have a builder(all running off IDENTICAL sourcecode yay :)) for Windows, Linux and Mac/PPC(a slightly older version seeing as my mac access is very very limited), and it's all available on my site :)

Library and Builder for Windows
Library and Builder for Linux
Library and Builder for Mac/PPC

Now I can put this on the backburner for a bit, and concentrate on a bit of gamedev :D
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

>[...]consider putting the "normal" image in the middle.

Yea, guess that's more sensible. I'll also add shortcuts for flipping through em. 1-9 and 0 for overview (keypad layout) would be pretty nice, I guess. And of course a combo box for those who can't be arsed to read the documentation. ;)

The new simulation code is going to be *SO* much slower, but it will be far more accurate. Well, threading and file caching should help a lot. *crosses fingers*
User avatar
evilpaul
Baaaa!
Baaaa!
Posts: 811
Joined: Wed Sep 29, 2004 2:01 pm 0
Location: #ukscene, helsinki branch
Contact:

Re: Show us yer programming projects!

Post by evilpaul »

Keep forgetting to post this up here........

Image
Up The Garden Path. A game produced in a day, by me, at the last Dundee Jam event. Actually, not so much a full day - more like 10 hours or so. Not an amazing game but it's an interesting prototype.... and that's pretty much what the event is about. With another day spent on tweaking and adding features it could be a lot better. The game uses the Jam engine (for fast 2D game prototyping) and full source is available.
http://www.dundeejam.com/Jams/20080531/ ... npath.html

The Jam engine as well as more games from the event (and previous events) are all available on http://www.dundeejam.com/.
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

Updated the simulation code. It's now about 100 times more complex, but the results are far more accurate.

Old:
Image
(bigger)

New:
Image
(bigger)

As you can see the old code was pretty off in spots. The new one was very slow initially. Took about 3 seconds for a 720p image (for any of the 6 complicated modes). Got that down to about 0.7 seconds, which isn't that bad, I guess. Well, I haven't multithreaded it yet and the (lock free) caching system should also help a lot.

It also supports pasting and drag&drop now. The paste button is only active, if there is some image to paste btw. That was pretty easy to do with that FlavorListener which was introduced with 1.5. ;)

The preview in the file chooser now also shows width, height, and bits per pixel.
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

Caching brought the 720p framecap from 0.7s down to 0.11s. Pwoar! :D

Edit: That's even faster than the old buggy simulation code, which took about 0.4s.
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Re: Show us yer programming projects!

Post by GoatFoam »

That's pretty interesting. Just curious about how you are doing the simulation? Converting RGB colours to a spectrum, removing bits of it and converting back to a renderable colour space, or are there shortcuts?
ido
Posts: 10
Joined: Wed Jun 25, 2008 5:58 pm 0
Location: Vienna, Austria.

Re: Show us yer programming projects!

Post by ido »

Hi guys,
I'm new to this forum - I just found it by googling for Jeff Minter :)

Anyway my little game is also a roguelike - the keys are explained in the intro help screen, press '?' to bring it up again.

Windows executable + source code (compiles and runs on windows/linux/mac os x - but you might get some problems with the latter's default terminal) are attached.

-Ido.
cryptrover.zip
Windows executable
(32.28 KiB) Downloaded 31 times
cryptrover.tar.gz
Source code
(24 KiB) Downloaded 29 times
User avatar
Firefox
Sheepie Whore
Sheepie Whore
Posts: 11412
Joined: Fri Apr 26, 2002 6:15 pm 0
Location: Sheffield

Re: Show us yer programming projects!

Post by Firefox »

Welcome in, ido. :)
"I am a very considerate person. If I want to go out all night on my miniature golf course and shoot lizards, well, no reason to keep the neighbours awake..."
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

GoatFoam wrote:That's pretty interesting. Just curious about how you are doing the simulation? Converting RGB colours to a spectrum, removing bits of it and converting back to a renderable colour space, or are there shortcuts?
RGB->XYZ, then the channels are mashed up accordingly to the defect (which is pretty messy), and finally it's converted back to RGB again.

For those two kinds of achromatopsia it's just a simple vector multiplication, however. Right now the first one isn't all that accurate (as I found out yesterday). With complete color blindness you also get 5-10% less visual acuity (could be simulated with some blur) and increased sensitivity to lightness (could be simulated with aggressive bloom). Well, with those conditions there isn't really much you can do to aid them. Except of really bold shapes and strong contrasts. I'd guess that most of them don't play any games or browse the web with usual tools/settings. Well, it's a bit hard to find any information on that topic, because only about 1 in 100,000 are affected by this. So, I'll probably leave this part of the simulation as it is for now, since it's a good indicator for the contrast levels.

--

Made lots of progress these days. Lock free multithreading is there. Unsurprisingly it scales pretty linearly with the number of cores, which is truly great since about 80% of those Macs (and more and more PCs) got 2 or more cores. Automating the Mac packaging also went pretty well (used the JarBundler Ant task). Still need to do the same for Windows (won't be as easy I'm afraid). Also added i18n support (will support en_US, en_UK, and de_DE out of the box) and dodged some weird Mac i18n pitfall.

Mac still needs a bit more attention here n there, but it looks like I'll get there soonish. And there are a few other things I need to take care of. I didn't really expect it to be so much work... oh well... the devil is in the details. ;)
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Re: Show us yer programming projects!

Post by GoatFoam »

Tone mapping for a modified human visual system - interesting :)

I guess the problem with adding bloom & blur is that it is hard to pin down the extent of the loss of spatial resolution when you don't know the resolution or distance the images will be viewed at.

There was an interesting paper at egsr05 (I think) about time dependent tone mapping. IIRC the research was driven by an attempt to model the deterioration of vision with age, which could be vaguely interesting. It was mainly about the increase in the eyes adaptation time & reduction of dynamic range with age though, so it probably isn't a lot of use to you. Shiny though :)
User avatar
oNyx
Baaaaa!
Baaaaa!
Posts: 1652
Joined: Mon Sep 08, 2003 1:24 am 0
Location: de/fd

Re: Show us yer programming projects!

Post by oNyx »

Another interesting thing which is somewhat related is realistic (or slightly more realistic) motion blur. All I know is that rods n cones are asynchronously polled with a rate of approximately 7hz. I'd guess that rod polling (lightness) is a tad faster than cone polling (color), since it's less important. I'd also guess that dark to bright is quicker than the other way around (e.g. lightning).

Feel free to give it a whirl. You might come up with some pretty interesting effect. :)
Post Reply