Author Topic: Qubism  (Read 6676 times)

0 Members and 1 Guest are viewing this topic.

Offline jusa

  • ZX 81
  • *
  • Posts: 6
  • Karma: 5
    • View Profile
Qubism
« on: March 19, 2011 »
Welcome :)

Can we see your prodution ?

Thank you :)

Yep, it uses SFML for music playback and to hide the platform specific Window creation/OpenGL stuff to get easy "portable" code. I implemented it with Ubuntu and was hoping to easily compile Windows binary later as well, but alas, not too familiar with Windows and the cryptic Visual Studio Express problems, I threw the blanket to corner and quit with Windows port.

But, there is quickly done video capture with glc (it might have the audio a bit out of sync, it's not really smooth, huge file for the "quality", etc.), and of course the Linux-binaries. Binaries should work with Ubuntu 10.04 and later with SFML libraries..

Stuff is here:
http://kraa.fi/qubism-final.tar.bz2
http://kraa.fi/qubism-final.avi
« Last Edit: March 19, 2011 by Shockwave »

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17394
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Qubism
« Reply #1 on: March 19, 2011 »
That's wonderful for a firsty Jusa :)

I really love the idea of using cubes for all those effects, the plasma worked well, and zooming in oin the Earth like that was cool too!

I would like to split this off intp its' own topic if that is ok with you?

It means that it won't get forgotten in this thread.
« Last Edit: March 19, 2011 by Shockwave »
Shockwave ^ Codigos
Challenge Trophies Won:

Offline jusa

  • ZX 81
  • *
  • Posts: 6
  • Karma: 5
    • View Profile
Qubism
« Reply #2 on: March 19, 2011 »
That's wonderful for a firsty Jusa :)

I really love the idea of using cubes for all those effects, the plasma worked well, and zooming in oin the Earth like that was cool too!

Thank you. :)

I would like to split this off intp its' own topic if that is ok with you?

Yep, that's ok.
« Last Edit: March 19, 2011 by Shockwave »

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17394
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Qubism
« Reply #3 on: March 19, 2011 »
Cool :)

Well here you go.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 990
  • Karma: 260
    • View Profile
Re: Qubism
« Reply #4 on: March 19, 2011 »
I agree with Shockwave, that's truly nice stuff! :) K+
Challenge Trophies Won:

Offline LittleWhite

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 418
  • Karma: 31
  • It's me!
    • View Profile
Re: Qubism
« Reply #5 on: March 19, 2011 »
Just for the additional links Shockwave (in the Welcome part)

I like it a lot ... and now I am really sad about my crappy first prod.

Wow I am really happy to see a new GNU/Linux user \ o / Linux demo are the best (in fact like windows demo :p)
To compile under Windows / for Windows I advice you to use Code::Blocks (even more if you have already the whole project in C::B)

Otherwise, did you use SFML also to open a window ?

Really really nice demo. The plasma is ace :) The scroller too with the shadow cube :)
I like it for sure

Hope to see your next demo :)
The demoscene will never die, never!

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: Qubism
« Reply #6 on: March 20, 2011 »
That's brilliant - how did you get it to display that many cubes in real-time?
You are our 9001st visitor.
Challenge Trophies Won:

Offline LittleWhite

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 418
  • Karma: 31
  • It's me!
    • View Profile
Re: Qubism
« Reply #7 on: March 20, 2011 »
That's brilliant - how did you get it to display that many cubes in real-time?
Personnaly ... I don't think it's the most difficult part ... :) Graphic cards can do a lot ... two years ago, I could go up to 1/2 million particles without any optimisations (and not GPU calculated :p)
Moreover, I didn't see so many cubes ... I am used to have done some more non optimised crap (just like I have fixed two hours ago :p)

But I should have wait the answer of the Creator maybe he had little tricks ;)
The demoscene will never die, never!

Offline va!n

  • Pentium
  • *****
  • Posts: 1431
  • Karma: 109
    • View Profile
    • http://www.secretly.de
Re: Qubism
« Reply #8 on: March 20, 2011 »
@jusa:
Just wow and thanks for posting a video link !!!
I looked at your video and i really like it! There are some really very nice parts, like the invaders screen, plasma colored cubes and a lot more! Cool! thumbs up :)
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Qubism
« Reply #9 on: March 20, 2011 »
Awesome stuff Jusa, Thanks for including a video, Some really awesome effects there hard to believe that this is a first, hopefully it wont be the last.

Challenge Trophies Won:

Offline jusa

  • ZX 81
  • *
  • Posts: 6
  • Karma: 5
    • View Profile
Re: Qubism
« Reply #10 on: March 20, 2011 »
That's brilliant - how did you get it to display that many cubes in real-time?

Actually, like LittleWhite already said, the GPU stuff isn't really the biggest problem in the demo. All but the two static block images are quite ok (and even those could possibly be optimized a bit with display lists). Most load is on CPU with the looping for positions for all the cubes, and that's I think only place where I really had to think how to optimize bigger images, for example scroller, so that it iterates only visible block positions. Now it's quite fast with reasonable amount of visible blocks scrolling, I could have _really_ long scrollers etc. In the end it's still quite unsurprising crappy code.

Thanks for the kind words about the effects. :) I myself felt that the plasma is only _real_ effect in the demo, maybe that block-line stuff (with horrible coders colors :D) with earth as well. But it was fun how when I had enough building blocks I could do the invader part, pulsating block and the rest really quickly. Most of the time was spent just trying to get grips with the whole world of 3D. :)

SFML was used to open window, run main loop, load images and play music. In the end it felt quite limited for more lower level demo coding, but the main loop and portability are good. GNU/Linux all the way.. :)

I also have to give big credit to kaba for making the music, a demo would be nothing without sound. I harassed him for a week when he should've be doing his paper to make music for the demo, since I knew I wouldn't have time myself to do it. And eventually, 6 hours before deadline at 6 in the morning the music was ready. :) And mouldy I asked two days before the party if he had some useful drawings on his notebook (which I have seen him drawing), which he kindly scanned for me to use. I was surprised when he told me that he had previous demoscene experience from years back. :)

Offline combatking0

  • JavaScript lives!
  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4569
  • Karma: 235
  • Retroman!
    • View Profile
    • Combat King's Barcode Battler Home
Re: Qubism
« Reply #11 on: March 20, 2011 »
I've been coding interpretted langues for too long ::)

Still, I've not seen anything like that for a long time.
You are our 9001st visitor.
Challenge Trophies Won:

Offline Derold

  • ZX 81
  • *
  • Posts: 4
  • Karma: 1
    • View Profile
Re: Qubism
« Reply #12 on: October 12, 2011 »
Just putting in my first post, no reply expected to this.  currently downloading the the avi.
new to graphics programming, and hope to improve.  However I don't expect to be in competition any time soon and am just doing this for the fun of it.

posting here because this project caught my eye in a general 3d search with google.

Hope to learn allot here. :updance:

Offline jace_stknights

  • Amiga 1200
  • ****
  • Posts: 399
  • Karma: 32
  • PEEK & POKE are not MOVEM!
    • View Profile
    • ST Knights WebSite
Re: Qubism
« Reply #13 on: October 12, 2011 »
Great work! I'm actually learning openGl, and I was thinking about a sort of effect like this one.... Hum have to improve it now ;)

Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17394
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Qubism
« Reply #14 on: October 12, 2011 »
Hi Deroid, welcome to DBF :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Raizor

  • Founder Member
  • Pentium
  • ********
  • Posts: 1154
  • Karma: 175
    • View Profile
Re: Qubism
« Reply #15 on: October 12, 2011 »
Wow, I've not seen this before, it's really cool. Great work Jusa :)
raizor

Challenge Trophies Won:

Offline neriakX

  • Atari ST
  • ***
  • Posts: 117
  • Karma: 29
  • CodeNoob
    • View Profile
Re: Qubism
« Reply #16 on: October 27, 2011 »
Holy shit! I just stumbled upon this topic. Your _First_ is really awesome. I really enjoyed the cubes. And man, that space invaders ... a BigTimer! Someone said the plasma is ace? yeah, definitely! :)
cheers,
neriakX

Challenge Trophies Won: