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
moosedude
Baaaaaaa!
Baaaaaaa!
Posts: 6209
Joined: Fri Nov 19, 2004 1:19 pm 0
Location: Craggy Island
Contact:

Post by moosedude »

Dvorak wrote:
moosedude wrote:Image

I'm not going to explain what this is
That's unfair, man, and you know it... :D

I assume audio (not video), and recognising (not generation)? Hm? Any hints?
OK, I was going to ask lots of questions about your new 3d engine, (insert big hypocrite here) but it is a little unfair of me not to describe things properly ;-)

Anyway, I'm glad you got the issues sorted with this new algorithm!

I'm not sure how my projects going to end up looking, I'm not sure about the direction its going to take, the thing that originally draw me to yakyak in the first place was the mutual interest in Synaesthesia, i.e. VLM.

This is my attempt at that, to explore my own ideas, and algorithms, and put a new twist on things. It started off as an attempt for beat detection, but after reading some documents to do with this, using FFT's, I throw those ideas away because of the time/frequency domain resolution issues, so I started work on wavelets. Its evolving into something more than beat detection. i want to produce a system (ideally) that isn't about abstract images & objects but meaningful worlds and recognizable objects that move with the feel of the world...its difficult to explain. I've just started to build the new version in C++, with this new algorithm I've implemented.

I don't like to build anything up about this, I do this in my spare when I'm bored of the hundred or so other things I want to program, and its going to take a long time.

My hope is to stick my 3D engine on the front of it soon, coupled with the particle engine prototype I've got lying around and the bones animation system, there are a few minor niggles have to fix in each of these, least of all the 3D engine is currently living in a software world ... :lol: (I've had about six/seven versions of it!) Should be fairly easy to convert to hardware...

01000101 01000100 01000111 01000101

http://www.redbubble.com/people/fotofill/ buy my photos!
User avatar
The Caffeine Kid
Baaaaaaa!
Baaaaaaa!
Posts: 5691
Joined: Mon Mar 01, 2004 9:24 pm 0
XBL Gamertag: TheCaffeineKid
PSN: caffeinekid
Yahoo Messenger: caffeinekid
Location: Wakefield
Contact:

Post by The Caffeine Kid »

Anyone remember Super Obliteration on the Amiga? It was a PD game that appeared on a coverdisk.

I'm giving it a PC update and engine is pretty much completed. :)

Vid: http://www.youtube.com/watch?v=aqaDyqE4ZrM

Gotta go all the levels, then proper player death, menus, etc - all the boring stuff now. ;)
Life... Don't talk to me about life...

http://www.tcksoft.co.uk
http://www.retroremakes.com
User avatar
[Feeblez]
Baaaa!
Baaaa!
Posts: 961
Joined: Mon Dec 02, 2002 2:03 pm 0
Location: neither here nor there, UK

Post by [Feeblez] »

The Caffeine Kid wrote:Anyone remember Super Obliteration on the Amiga? It was a PD game that appeared on a coverdisk.

I'm giving it a PC update and engine is pretty much completed. :)

Vid:

Gotta go all the levels, then proper player death, menus, etc - all the boring stuff now. ;)
Yeah, i remember it, played it a lot, was one of my favourites! :)

That and Super Twintris which i started remaking simply because it's still the best Tetris i've ever played, along with an old EGA version of Tetris for PC which i forget the name of. Unfortunately my remake/re-imagining has stalled a bit, which is a shame 'cos there's really not that much left to do. :?

EDIT: A bit of constructive criticism that you're probably already going to address... Lasers and explosions need more colours in them!

Apart from that it looks lush. Looking forward to playing it.
User avatar
Dvorak
Baaaaaa!
Baaaaaa!
Posts: 4560
Joined: Wed May 08, 2002 7:37 am 0
Yahoo Messenger: d3dxquaternion
Location: Germany

Post by Dvorak »

Image Image

I apologise if I got everyone on the nerves with too much babbling about graphics engines, raytracers and the like lately.
But watching stuff emerging slowly out of nothingness is what got me hooked on alternative graphics engines.

So, two actual screenies and then I shut up. :)
>take off sunglasses
Seamen and fishermen alike swear to have heard voices in the rising tide. Inhuman screams, some of them say.
User avatar
DaiStation
Baaaa!
Baaaa!
Posts: 745
Joined: Thu Nov 23, 2006 3:56 pm 0

Post by DaiStation »

Dvorak wrote:I apologise if I got everyone on the nerves with too much babbling about graphics engines, raytracers and the like lately.
Not as all, it's fascinating.

Care to explain what's doing on in those screenies? Ray tracing sample results?
User avatar
l1n3n01z
Baaaaa!
Baaaaa!
Posts: 1777
Joined: Tue Nov 19, 2002 12:14 pm 0
Location: Iceland
Contact:

Post by l1n3n01z »

Dvorak, why do you have clustered samples and why are there samples missing in between? Are we seeing a subpixel reperesentation (I.e for each 16*16 you will get one pixel [though it doesn't really look like that]), or is it sparse data that will be used to make adjustments to a final image like in the essay GoatFoam referenced?
User avatar
l1n3n01z
Baaaaa!
Baaaaa!
Posts: 1777
Joined: Tue Nov 19, 2002 12:14 pm 0
Location: Iceland
Contact:

Post by l1n3n01z »

Oh and the little crosses all over.. are you doing it like that to find the normal?
User avatar
nyarla
Baaaaaa!
Baaaaaa!
Posts: 2820
Joined: Tue Jan 14, 2003 1:53 pm 0
Location: i said kiss me you're beautiful these are truly the last days
Contact:

Post by nyarla »

It's all way over my head, but wow Dvorak! Nice work. I find it fascinating too. :)
User avatar
Dvorak
Baaaaaa!
Baaaaaa!
Posts: 4560
Joined: Wed May 08, 2002 7:37 am 0
Yahoo Messenger: d3dxquaternion
Location: Germany

Post by Dvorak »

DaiStation wrote:Care to explain what's doing on in those screenies? Ray tracing sample results?
I've got two processes running simultaneously:
- One produces an endless stream of samples by raytracing a world of coloured cubes (in fact a pretty huge world of voxels organised in an octree). This process runs entirely in the CPU.
- The other process tries to reconstruct an image from these samples. This process runs entirely in the GPU.
Together they keep my computer quite busy...
>take off sunglasses
Seamen and fishermen alike swear to have heard voices in the rising tide. Inhuman screams, some of them say.
User avatar
l1n3n01z
Baaaaa!
Baaaaa!
Posts: 1777
Joined: Tue Nov 19, 2002 12:14 pm 0
Location: Iceland
Contact:

Post by l1n3n01z »

Dvorak wrote:
DaiStation wrote:Care to explain what's doing on in those screenies? Ray tracing sample results?
I've got two processes running simultaneously:
- One produces an endless stream of samples by raytracing a world of coloured cubes (in fact a pretty huge world of voxels organised in an octree). This process runs entirely in the CPU.
- The other process tries to reconstruct an image from these samples. This process runs entirely in the GPU.
Together they keep my computer quite busy...
Are we seeing only the output of the first one? This is way cool BTW.
User avatar
Dvorak
Baaaaaa!
Baaaaaa!
Posts: 4560
Joined: Wed May 08, 2002 7:37 am 0
Yahoo Messenger: d3dxquaternion
Location: Germany

Post by Dvorak »

l1n3n01z wrote:Dvorak, why do you have clustered samples and why are there samples missing in between? Are we seeing a subpixel reperesentation (I.e for each 16*16 you will get one pixel [though it doesn't really look like that]), or is it sparse data that will be used to make adjustments to a final image like in the essay GoatFoam referenced?
In fact, it's just undersampling.
Theory says (in said paper) that I'll need approximately 4 samples per pixel for a 'good' image, but that's more than my GeForce 6600 GT can deliver for images of 512x512 like the above.
Right now I'm just projecting the samples into the view without cunning tricks: they are mere point sprites (as they are called in DirectX. Don't know what the corresponding term in OpenGL is).
But later I'll increase the size of these dots massively, so that they will melt together by filtering and undersampling will show up not as holes but as blur.
Since all of this happens in the GPU I'll be restricted to pixel and vertex shader magick.
>take off sunglasses
Seamen and fishermen alike swear to have heard voices in the rising tide. Inhuman screams, some of them say.
User avatar
Dvorak
Baaaaaa!
Baaaaaa!
Posts: 4560
Joined: Wed May 08, 2002 7:37 am 0
Yahoo Messenger: d3dxquaternion
Location: Germany

Post by Dvorak »

l1n3n01z wrote:Oh and the little crosses all over.. are you doing it like that to find the normal?
Nope, it's for determining luminance gradients to shape the (not yet implemented) filtering process.
In space and time btw. The crosshairs even extend right into the depth of the image, where older samples reside.
>take off sunglasses
Seamen and fishermen alike swear to have heard voices in the rising tide. Inhuman screams, some of them say.
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

How quickly are you managing to generate samples at the moment?
User avatar
Dvorak
Baaaaaa!
Baaaaaa!
Posts: 4560
Joined: Wed May 08, 2002 7:37 am 0
Yahoo Messenger: d3dxquaternion
Location: Germany

Post by Dvorak »

GoatFoam wrote:How quickly are you managing to generate samples at the moment?
Hm, haven't it measured yet.
Let me see: I've got 6 samples (one crosshair) per sampler main loop iteration. 600 iterations make a frame. Approx. 30 frames per second.
That should be roughly 100.000 samples per second then.
>take off sunglasses
Seamen and fishermen alike swear to have heard voices in the rising tide. Inhuman screams, some of them say.
User avatar
GoatFoam
Baaaaa!
Baaaaa!
Posts: 1255
Joined: Tue Dec 12, 2006 11:05 am 0
Location: Brizzle
Contact:

Post by GoatFoam »

Dvorak wrote:
GoatFoam wrote:How quickly are you managing to generate samples at the moment?
Hm, haven't it measured yet.
Let me see: I've got 6 samples (one crosshair) per sampler main loop iteration. 600 iterations make a frame. Approx. 30 frames per second.
That should be roughly 100.000 samples per second then.
Are you requesting samples asynchronously or calling the ray tracer from the controller and waiting for results?
Post Reply