Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: hellfire on December 19, 2008

Title: [LED] Cubes (ps3.0)
Post by: hellfire on December 19, 2008
Here's my entry to the challenge.
Put together in a hurry and many things are left to do; as usual.
I took a different approach and tried to visualice the led itself (ended up being some kind of glass-cube, though).
To conform with the rules, i used a 2x2 matrix ;D
Hope you like it.

Requires shader model 3.0; a video can be found here (http://hellfire.untergrund.net/videos/led.avi) or watch a stream on vimeo (http://www.vimeo.com/2602099).

Uses OpenGL (http://www.opengl.org/), MiniFmod (http://www.fmod.org/fmoddownload.html), Jasper (http://www.ece.uvic.ca/~mdadams/jasper) and music from Dune/Orange (http://en.wikipedia.org/wiki/Brothomstates).
Title: Re: [LED] Cubes (ps3.0)
Post by: ninogenio on December 19, 2008
that is simply awsome!!!!!!!


Quotemany things are left to do; as usual.

eh?!? where it looks damn fine right now ;D
Title: Re: [LED] Cubes (ps3.0)
Post by: bikerboy on December 19, 2008
Quote from: hellfire on December 19, 2008
Put together in a hurry

i wonder what you can do if you're not in a hurry :D :D

Quote from: hellfire on December 19, 2008
and many things are left to do; as usual.

lol?!? like what nanotechnology? :o lol , downloaded the vid to view it, i don't think my card can play it, it gives me an error...

wow man it looks so real you think you can touch it :o ... does this demo comes with VR glasses too?  :P :P

it's really amazing man :clap: :clap:
Title: Re: [LED] Cubes (ps3.0)
Post by: benny! on December 19, 2008
Did not had the chance to run the exe file yet - but the
video simply rocks. I wasnt that impressed since a long
long time. It looks soooooooooooooooooooooooooooooo
cool. If possible - a longer video version would be cool!

Very, very good work hellfire.
Title: Re: [LED] Cubes (ps3.0)
Post by: va!n on December 19, 2008
@hellfire:
oh my god.. thats really kicking ass! i can just say only 4 words... "awesome, i love it!"  8)
Really really great conpect which fits great to the music/design... the mirroreffect, the extrem kewl lightings and the very nice transparent cubes... and yes... all in one is just fucking great!  10 points!  :goodpost:

PS: Since i dont have PS3, i watched the video and really enjoyed it! Thx for the video!
Title: Re: [LED] Cubes (ps3.0)
Post by: Dr.Death on December 19, 2008
Hellfire my god that is amazing m8 i can say i have never seen something like that before its just sweet  :clap:
Title: Re: [LED] Cubes (ps3.0)
Post by: Rbz on December 20, 2008
Great engine there! Works smoothly here

Loved that camera shaking and reflections  :clap:
Title: Re: [LED] Cubes (ps3.0)
Post by: Hezad on December 20, 2008
Runs at 1FPS on my computer :S 'downloading the video. (the screen looks awesome oO Can't wait to see it in action)

edit : Speechless ... THAT IS AWESOME !! And this brushed texture on the floor .. Mate, it's simply astounding :)
Title: Re: [LED] Cubes (ps3.0)
Post by: Shockwave on December 20, 2008
If I was wearing a hat I'd be taking it off to you there Hellfire.

It's stunning.

I especially love the way that the floor has a kind of scratched texture and picks up the light.

Fabulous.
Title: Re: [LED] Cubes (ps3.0)
Post by: Pixel_Outlaw on December 20, 2008

Mine just says:

Fail

Required Extensions not available.
Title: Re: [LED] Cubes (ps3.0)
Post by: hellfire on December 21, 2008
Many thanks for the kind feedback everyone!

I was a bit in a hurry when I posted the entry yesterday and forgot to mentioned that I used this (http://www.cgtextures.com/texview2.php?id=7815&PHPSESSID=3a83394ae2e2996a7d016cfb06658c9f&time=1229816040) texture for the ground.
The three lightmaps are generated with my own little photon-tracer; mainly because I was unable to tell mental-ray what I wanted it to do.
You can btw view the textures with IrfanView (http://www.irfanview.de) (plugins required).
The shader is included as plain text (fraction.psh), so most of the relevant source is included.
If anyone wants to play around with it, you can modify the amount of refraction by changing the variable "index".
The cube's colours are defined in shaders/colours.ini.
One major shortcut of the shader is that it traces a cube (so it ignores the edges of the chamfer cube) which isn't very obvious if you don't know it.
It's actually pretty easy to compensate this but I just ran out of time; I'll probably give it a try at some later point.
Using multiple passes it's also doable with shader2-hardware, I just don't have hardware to test it (the mainboard of my secondary pc died lately so I can't use any of my agp-cards).

Quote from: Pixel_Outlaw on December 20, 2008Required Extensions not available.
This means your card doesn't support vbo (http://www.songho.ca/opengl/gl_vbo.html), fbo (http://www.gamedev.net/reference/articles/article2331.asp) and/or glsl (http://nehe.gamedev.net/data/articles/article.asp?article=21). Unfortunately it's impossible to compensate any of these - you can download the video, though.
I'm aware of the fact that my home gfx-card has quite some horse power, so I made it work properly (~100fps in the default window size) at my work pc which has a rather low-end board (a geforce 8600 which is sold for 49,95 Euros at the moment).
I would love to make it more compatible but at the moment I simply can't.

Quote from: Hezad on December 20, 2008Runs at 1FPS on my computer :S
Impressive. What card is that?

Quote from: benny! on December 19, 2008If possible - a longer video version would be cool!
Well, all the visuals are controlled by the xm-file's pattern-data. To make it longer I need to make changes to the tune - Lassi will very probably kill me for that ;)
But I gladly invite any musician here to create a longer tune for it.

Title: Re: [LED] Cubes (ps3.0)
Post by: Hezad on December 21, 2008
Quote
QuoteQuote from: Hezad on Yesterday at 04:22 PM
Runs at 1FPS on my computer :S
Impressive. What card is that?

NVidia GeForce FX 5200 lol
Title: Re: [LED] Cubes (ps3.0)
Post by: AnimalMother on December 21, 2008
Wow, runs really smooth here at 400 fps ;)

I like the animation to the music. Reminds me a little bit of farbrausch  ::)
Title: Re: [LED] Cubes (ps3.0)
Post by: Optimus on December 22, 2008
Wow, that's awesome!!! Runs great in my new just recently bought ATI 3650.
Title: Re: [LED] Cubes (ps3.0)
Post by: Praecor on December 23, 2008
Runs smoothly 50-60fps here! Amd card+Vista. Reeeeeally nice transparencies there!

If i must say something bad i'd say the chamfer cube corners. I like better
the smooth edges generally (can be matter of taste though)

Other than that one stunning show put together!
Title: Re: [LED] Cubes (ps3.0)
Post by: Pixel_Outlaw on December 23, 2008
I wish I could only begin to approach that level of mathematics! Exceptional work from one of the best coders on this board.  :cheers:

I that ray-tracing is something that still seems magical to the human mind visually, so I doubt anyone can see errors with the chamfered faces. Hmmm I mean that most people cannot be given an object and be able to predict how it will reflect just by looking, as long as you have some refraction in there you are fine visually, the chamfers become trivial visually because most people's minds cannot form what would be the proper image.
Title: Re: [LED] Cubes (ps3.0)
Post by: Jim on December 26, 2008
Gorgeous shaders!

Jim
Title: Re: [LED] Cubes (ps3.0)
Post by: LittleWhite on January 03, 2009
Really good.
Run at ~16FPs on my laptop ( geforce 7300  Go )

Hope that one day I will be able to do the same ;) ( Which version of fmod did you use ? )
Title: Re: [LED] Cubes (ps3.0)
Post by: hellfire on January 03, 2009
Thanks again everyone!

QuoteReminds me a little bit of farbrausch  ::)
I'm not quite sure whether that's good or bad  ;D

QuoteWhich version of fmod did you use ?
I used miniFMOD 1.70 (here (http://www.fmod.org/files/minifmod170.zip)) with some minor modifications to access the currently playing note & instrument-number.
Title: Re: [LED] Cubes (ps3.0)
Post by: AnimalMother on January 04, 2009
Quote from: hellfire on January 03, 2009
Thanks again everyone!

QuoteReminds me a little bit of farbrausch  ::)
I'm not quite sure whether that's good or bad  ;D

Nope the efffect just rules and you did it great !
Title: Re: [LED] Cubes (ps3.0)
Post by: Shockwave on January 04, 2009
Now I know what you forgot... You didn't write "Hund" in huge letters on the cubes.
Title: Re: [LED] Cubes (ps3.0)
Post by: nzo on January 08, 2010
eheh.. only just encountered this from the front screen of this board.
Absolutely brilliant stuff.. rocking.
Runs at nearly 400fps fullscreen at 1600x1200 here :)

I could watch this shit for hours.. just amazing.