Author Topic: Sundowner - Intro Sourcecode  (Read 8061 times)

0 Members and 1 Guest are viewing this topic.

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Sundowner - Intro Sourcecode
« 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
raizor

Challenge Trophies Won:

Offline Baudsurfer

  • C= 64
  • **
  • Posts: 46
  • Karma: 18
    • View Profile
    • x86 Assembly language page
Re: Sundowner - Intro Sourcecode
« Reply #1 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.
« Last Edit: March 06, 2013 by Baudsurfer »

Offline Canopy

  • Atari ST
  • ***
  • Posts: 208
  • Karma: 20
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #2 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]

Offline Kirl

  • Senior Member
  • Pentium
  • ********
  • Posts: 1217
  • Karma: 230
    • View Profile
    • Homepage
Re: Sundowner - Intro Sourcecode
« Reply #3 on: March 06, 2013 »
It's so awesome, I love it! The funky tune really makes it shine!  :updance:
www.kirl.nl
Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #4 on: March 06, 2013 »
super....
and thanx for sharing the source. :clap:
coding: jwasm,masm
hobby: www.scd2003.de

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #5 on: March 06, 2013 »
that is Best Demo I have seen so far from you( Raizor )  and keep good work up  :clap:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Sundowner - Intro Sourcecode
« Reply #6 on: March 09, 2013 »
Really stunning intro, it suits the music perfectly.

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

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #7 on: March 09, 2013 »
Thanks guys :)
raizor

Challenge Trophies Won:

Offline jace_stknights

  • Amiga 1200
  • ****
  • Posts: 399
  • Karma: 32
  • PEEK & POKE are not MOVEM!
    • View Profile
    • ST Knights WebSite
Re: Sundowner - Intro Sourcecode
« Reply #8 on: April 03, 2013 »
fantastic!!! Raizor for President!!!  :clap: :clap: :clap:
Challenge Trophies Won:

Offline mrmudlord

  • ZX 81
  • *
  • Posts: 18
  • Karma: 1
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #9 on: September 11, 2013 »
Thanks!
Always wanted to see how VBOs work since thats in OGL3 as standard.

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #10 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 :)
« Last Edit: September 11, 2013 by Raizor »
raizor

Challenge Trophies Won:

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: Sundowner - Intro Sourcecode
« Reply #11 on: September 11, 2013 »
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:

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #12 on: September 11, 2013 »
Thanks CK :)
raizor

Challenge Trophies Won:

Offline Moroboshisan

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 454
  • Karma: 18
  • C=64
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #13 on: September 12, 2013 »
simply G-R-E-A-T !!!... well done Raizor!!!

Offline trimbaard

  • ZX 81
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Sundowner - Intro Sourcecode
« Reply #14 on: September 18, 2013 »
Thanks for Sharing the source code.