Dark Bit Factory & Gravity

GENERAL => Projects => Topic started by: Raizor on March 05, 2013

Title: Sundowner - Intro Sourcecode
Post by: Raizor on March 05, 2013
I've attached a RAR file containing the sourcecode to "Sundowner", the intro I released at the Sundown 2012 demo party. It's build against Visual Studio 2010 in C++ and uses OpenGL for rendering and 4kLang (by Alcatraz) for sound.

The code is pretty messy but shows how to use VBOs for drawing instanced objects (the cube logo at the beginning and the cube based greets screen). There's also some raymarching (for the Menger sponge and Julia) but there are much better examples if you want to get into Raymarching as the shaders are a bit of a mish-mash.

Anyway, here it is, do whatever you like with it :)

Cheers,

Raizor
Title: Re: Sundowner - Intro Sourcecode
Post by: Baudsurfer on March 06, 2013
Pretty nifty. I'm not into shadercoding (no computer at home that enables this), but source code releasing is always good for karma.
From the review on another site and the youtube video, it's a winner alright (imho ought to have gotten 2nd place) and the soundtrack is awesome also.
Thank you.
Title: Re: Sundowner - Intro Sourcecode
Post by: Canopy on March 06, 2013

For some reason the download won't start on my laptop (firefox) or my work pc (chrome)

but i managed to snag it on my work mac mini (safari)

hopefully i'll spot something to learn from in there,  if not now, in the future k++


here's the youtube for completeness

[youtube]74MHxLfzeAA[/youtube]
Title: Re: Sundowner - Intro Sourcecode
Post by: Kirl on March 06, 2013
It's so awesome, I love it! The funky tune really makes it shine!  :updance:
Title: Re: Sundowner - Intro Sourcecode
Post by: energy on March 06, 2013
super....
and thanx for sharing the source. :clap:
Title: Re: Sundowner - Intro Sourcecode
Post by: Hotshot on March 06, 2013
that is Best Demo I have seen so far from you( Raizor )  and keep good work up  :clap:
Title: Re: Sundowner - Intro Sourcecode
Post by: Shockwave on March 09, 2013
Really stunning intro, it suits the music perfectly.

K+ for releasing the source code too :)
Title: Re: Sundowner - Intro Sourcecode
Post by: Raizor on March 09, 2013
Thanks guys :)
Title: Re: Sundowner - Intro Sourcecode
Post by: jace_stknights on April 03, 2013
fantastic!!! Raizor for President!!!  :clap: :clap: :clap:
Title: Re: Sundowner - Intro Sourcecode
Post by: mrmudlord on September 11, 2013
Thanks!
Always wanted to see how VBOs work since thats in OGL3 as standard.
Title: Re: Sundowner - Intro Sourcecode
Post by: Raizor on September 11, 2013
Cool, Mudlord :)

I'll post some more simple (less cluttered) examples of stuff like that soon. The Sundowner code is a bit of a mess, so probably not ideal for learning a lot. I also want to do a few small examples using OpenGL Geometry Shaders, as I've been using them quite a bit lately, and they're pretty cool :) I'm thinking of putting together a little framework for 8k prods, with support for GNU Rocket for sync and a few other bits and bobs. It's something I need to make, so it should at least get done reasonably quickly.

Sorry I've been so quiet of late, had a million things on at both work and play. Been tied up working on some new tools and a few slow burning prods. I'm also in the process of trying to sort out our demo comp entry from Sundown, which went 'BANG!' several times over the weekend, forcing us to enter a totally b0rked (debug) version into the compo. We came first though (somehow), so it worked out in the end. There's quite a mess to sort out before I can release even a workable 'party' version though. Hopefully by tomorrow night I'll have it sorted though.

Will keep you posted. Hope everyone is doing well and having fun :)
Title: Re: Sundowner - Intro Sourcecode
Post by: combatking0 on September 11, 2013
It starts off so simple, then my ability to understand the code behind it gets blown away!

Excellent demo! :D
Title: Re: Sundowner - Intro Sourcecode
Post by: Raizor on September 11, 2013
Thanks CK :)
Title: Re: Sundowner - Intro Sourcecode
Post by: Moroboshisan on September 12, 2013
simply G-R-E-A-T !!!... well done Raizor!!!
Title: Re: Sundowner - Intro Sourcecode
Post by: trimbaard on September 18, 2013
Thanks for Sharing the source code.