• Welcome to Dark Bit Factory & Gravity.
 

Sundowner - Intro Sourcecode

Started by Raizor, March 05, 2013

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Raizor

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
raizor

Challenge Trophies Won:

Baudsurfer

#1
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.

Canopy


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


Kirl

It's so awesome, I love it! The funky tune really makes it shine!  :updance:
www.kirl.nl
Challenge Trophies Won:

energy

super....
and thanx for sharing the source. :clap:
coding: jwasm,masm
hobby: www.scd2003.de

Hotshot

that is Best Demo I have seen so far from you( Raizor )  and keep good work up  :clap:

Shockwave

Really stunning intro, it suits the music perfectly.

K+ for releasing the source code too :)
Shockwave ^ Codigos
Challenge Trophies Won:

Raizor

raizor

Challenge Trophies Won:

jace_stknights

fantastic!!! Raizor for President!!!  :clap: :clap: :clap:
Challenge Trophies Won:

mrmudlord

Thanks!
Always wanted to see how VBOs work since thats in OGL3 as standard.

Raizor

#10
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 :)
raizor

Challenge Trophies Won:

combatking0

It starts off so simple, then my ability to understand the code behind it gets blown away!

Excellent demo! :D
You are our 9001st visitor.
Challenge Trophies Won:

Raizor

raizor

Challenge Trophies Won:

Moroboshisan

simply G-R-E-A-T !!!... well done Raizor!!!

trimbaard

Thanks for Sharing the source code.