• Welcome to Dark Bit Factory & Gravity.
 

[CUBES] HTTSC

Started by Knurz, May 04, 2012

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Knurz

Hi!

I considered long if this is worth an entry here. But I'm in a learning process and want to hear your opinions to this :).
So this is my first real OpenGL Stuff done. I played a little around with blending and OpenGL so it's more a "What I have learned while writing this" :).

Please tell me what you like and what you didn't like, I want to learn from my design/program mistakes I've done with this one :).

Remember what the dormouse said: Feed your head

jace_stknights

#1
 :clap: Great one!!!  :clap:

Really nice and colorfull!!! Love it! 

For an first opengl, pfewww!!!

EDIT: got a problem with the window at startup! It is displayed first at 0,0 position and then centered. But there is still it drawing at screen on the background (at previous 0,0 position).
Challenge Trophies Won:

Kirl

That was really awesome, I enjoyed it a lot!

Very cool prod!  :clap:
www.kirl.nl
Challenge Trophies Won:

Raizor

#3
Really cool entry Knurz! I love the cubes splitting up reforming and the subtle sine wobble. Great stuff :)

K++

EDIT: btw, was does HTTSC stand for?
raizor

Challenge Trophies Won:

padman

Very cool stuff! Especially for a firsty. Well done!  :clap:
Challenge Trophies Won:

Knurz

@jace: Thanks, I figured out that MoveWindow after GL has initialized is not smart ... Will change my init.-code :)

As uncreative as ever HTTSC stands for "Homage to the spinning cube" :).

Thanks for the positive replies. :)
Remember what the dormouse said: Feed your head

Clyde

I'm unable to run and test this on windows7 64-Bit. Apparently, I don't have the correct permissions.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

benny!

Woah ... if this was your first try in OpenGL ... I wonder how your next intro will look like.

Great entry - love the cracktro colored cubes on the ground. Tune fits perfectly and everything runs really smooth.

:clap:
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Knurz

Mhh I programmed this on W7/64, should not need any additional permissions  :o.

Except for that "VROOM" Remake, this is my first Intro :).
Remember what the dormouse said: Feed your head

Blacksheep8Bit

#9
Are those colors (from the rainbow cubes) real-time generated? If not take this with you:


struct RGBA
{
float r;
float g;
float b;
gloat a;
}

float _arcoiris(float ti)
{
float tiDelta = floor(ti/360);
ti = ti - float(tiDelta*360);

if (ti<=240)
{
if (ti<120) // 0 - 119
{
return ti/119;
}
else // 120 - 239
{
return 1 - (ti-120)/119;
}
} else { // 240 - 360
return 0.0;
};
};
RGBA ArcoIris(float ti)
{

RGBA rgba;
rgba.r = _arcoiris(ti + 0  );
rgba.g = _arcoiris(ti + 120);
rgba.b = _arcoiris(ti + 240);
rgba.a = 1.0f;

return rgba;
}



Example:

t++;
RGBA color = ArcoIris(t)
glColor3f(color.r,color.g,color.b);

I Am giving you this piece of code for one reason: I Need motivation to work in my demo, and giving resources to everybody only makes my work harder, so i can get out of the bed and work more :3
Challenge Trophies Won:

Pixel_Outlaw

Very nice entry!

I love the wobble on the main cube. :)
Challenge Trophies Won:

Jim

Nice! No W7/64 problems for me.
Jim
Challenge Trophies Won:

Knurz

@BlackSheep: Nope, the colors are precalc (it'S the same routine as used in vroom  ) => lazy Jones mode :).

Thanks for your positive replies.

Now that my logical Volume on my server works again (Thought I have lost all my work from prev. 5 years -.-), I'll post the source after the comp. has finished :).

Remember what the dormouse said: Feed your head

Clyde

I had to temporarily disable avg, it said about the exe having the oneheur virus.

It's a really neat intro!! :)
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Optimus

Great for first OpenGL try.
I like when the cube waves.
Challenge Trophies Won:

combatking0

Cool backgrounds, and I like how the colours pulse through the cubes at the bottom.

The synchronised 4*4*4 cube is also good.
You are our 9001st visitor.
Challenge Trophies Won:

Shockwave

I wish my first try with Opengl had been as good as this.

I like it Knurz :) the cube exploding into lots of cubes looks good.

Good luck in the voting.
Shockwave ^ Codigos
Challenge Trophies Won:

Hotshot

Good OpenGL Cube there  :clap:

Kirl

Excellent happy chippy tune too, I just have to open it from time to time. :)
www.kirl.nl
Challenge Trophies Won:

Knurz

Source Code for httsc.

(It's a mess and there are many functions in it which I never use...  :updance: )



Remember what the dormouse said: Feed your head