Page 1 of 1
LOLz Playing Around With OpenGL... Trippy as hell
Posted: Mon May 24, 2010 10:01 pm
by davidthefat
http://www.sendspace.com/file/fuwh9p
LOLs, its really trippy... It only takes 2 for loops and whole bunch of rectangles... Its so easy to make something cool looking
I used SDL for the windowing, you can vaguely see the cube
what really surprises me is that it only uses like 4264 k of ram... Does not higher or lower.
edit: forgot to add, press escape to exit
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Tue May 25, 2010 1:10 am
by Live-Dimension
Lmao! That's cool.
How the hell did you do that concept wise?
At a random guess, I assume you have a huge rectangle split up into really small ones, you are changing the Z depth of all the mini-rectangles to a random height relative to the object. Then your rotating the main object.
The only thing I can't explain is the uniform colour over the main rectangle, but I barely know OGL so...
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Tue May 25, 2010 9:18 am
by dandymcgee
That hurts my eyes.
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Tue May 25, 2010 10:14 am
by davidthefat
Live-Dimension wrote:Lmao! That's cool.
How the hell did you do that concept wise?
At a random guess, I assume you have a huge rectangle split up into really small ones, you are changing the Z depth of all the mini-rectangles to a random height relative to the object. Then your rotating the main object.
The only thing I can't explain is the uniform colour over the main rectangle, but I barely know OGL so...
I was just playing around with changing the z coordinates of the rectacngles and ended up with that, putting random z coordinates
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Tue May 25, 2010 10:33 am
by MrDeathNote
Lol, that's pretty funky, it does kinda make me dizzy though!
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 4:51 pm
by epicasian
Can't see it:
"Couldn't set 1440x900x8 video mode: No video mode large enough for 1440x900n"
That's the stderr.txt output.
(integrated video sucks lol)
~EpicAsian
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 4:57 pm
by combatant936
That'd be a cool screensaver.. xD
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 5:04 pm
by GroundUpEngine
epicasian wrote:Can't see it:
"Couldn't set 1440x900x8 video mode: No video mode large enough for 1440x900n"
That's the stderr.txt output.
(integrated video sucks lol)
~EpicAsian
Same here. Can make 1280x720 version pl0x, I wanna see :P
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 5:36 pm
by davidthefat
GroundUpEngine wrote:epicasian wrote:Can't see it:
"Couldn't set 1440x900x8 video mode: No video mode large enough for 1440x900n"
That's the stderr.txt output.
(integrated video sucks lol)
~EpicAsian
Same here. Can make 1280x720 version pl0x, I wanna see :P
Doh! Never thought about screen resolution, I just made it optimized for my scree, which is an awkward res... BRB
http://www.sendspace.com/file/66xnsb
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 5:54 pm
by GroundUpEngine
ahh my eyes, lol thats crazy dawg! nice
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 5:58 pm
by davidthefat
GroundUpEngine wrote:ahh my eyes, lol thats crazy dawg! nice
Eh, its very simple, nothing compared to your engine, its like just 2 for loops, I am prototyping for this project I am doing.
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 7:25 pm
by epicasian
That looks friggin' sweet! lol
~EpicAsian
Re: LOLz Playing Around With OpenGL... Trippy as hell
Posted: Wed May 26, 2010 10:24 pm
by XianForce
Hey, do you mind if I look at the code? I don't care about what you did so much. The thing is, I've never been able to get an OpenGL app run on my computer. It always seems to get an Access Violation... but somehow, yours just ran on my comp...
So I'm just curious, because maybe now I can get OGL to work...