LOLz Playing Around With OpenGL... Trippy as hell
Moderator: Coders of Rage
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
LOLz Playing Around With OpenGL... Trippy as hell
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
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
-
- Chaos Rift Junior
- Posts: 345
- Joined: Tue Jan 12, 2010 7:23 pm
- Favorite Gaming Platforms: PC - Windows 7
- Programming Language of Choice: c++;haxe
- Contact:
Re: LOLz Playing Around With OpenGL... Trippy as hell
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...
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...
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: LOLz Playing Around With OpenGL... Trippy as hell
That hurts my eyes.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
Re: LOLz Playing Around With OpenGL... Trippy as hell
I was just playing around with changing the z coordinates of the rectacngles and ended up with that, putting random z coordinatesLive-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...
- MrDeathNote
- ES Beta Backer
- Posts: 594
- Joined: Sun Oct 11, 2009 9:57 am
- Current Project: cocos2d-x project
- Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
- Programming Language of Choice: C/++
- Location: Belfast, Ireland
- Contact:
Re: LOLz Playing Around With OpenGL... Trippy as hell
Lol, that's pretty funky, it does kinda make me dizzy though!
http://www.youtube.com/user/MrDeathNote1988
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
- epicasian
- Chaos Rift Junior
- Posts: 232
- Joined: Mon Feb 22, 2010 10:32 pm
- Current Project: Gigazilla Engine
- Favorite Gaming Platforms: Dreamcast, SNES, PS2, PC
- Programming Language of Choice: C/++
- Location: WoFo, KY
Re: LOLz Playing Around With OpenGL... Trippy as hell
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
"Couldn't set 1440x900x8 video mode: No video mode large enough for 1440x900n"
That's the stderr.txt output.
(integrated video sucks lol)
~EpicAsian
- combatant936
- Chaos Rift Newbie
- Posts: 39
- Joined: Wed Jul 29, 2009 11:11 pm
- Current Project: It's a secret!!
- Favorite Gaming Platforms: N64, SNES, PS2, PC
- Programming Language of Choice: C++, 65816 asm
- Location: Pennsylvania
- Contact:
Re: LOLz Playing Around With OpenGL... Trippy as hell
That'd be a cool screensaver.. xD
- GroundUpEngine
- Chaos Rift Devotee
- Posts: 835
- Joined: Sun Nov 08, 2009 2:01 pm
- Current Project: mixture
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Location: UK
Re: LOLz Playing Around With OpenGL... Trippy as hell
Same here. Can make 1280x720 version pl0x, I wanna see :Pepicasian 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
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
Re: LOLz Playing Around With OpenGL... Trippy as hell
Doh! Never thought about screen resolution, I just made it optimized for my scree, which is an awkward res... BRBGroundUpEngine wrote:Same here. Can make 1280x720 version pl0x, I wanna see :Pepicasian 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
http://www.sendspace.com/file/66xnsb
- GroundUpEngine
- Chaos Rift Devotee
- Posts: 835
- Joined: Sun Nov 08, 2009 2:01 pm
- Current Project: mixture
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++
- Location: UK
Re: LOLz Playing Around With OpenGL... Trippy as hell
ahh my eyes, lol thats crazy dawg! nice
- davidthefat
- Chaos Rift Maniac
- Posts: 529
- Joined: Mon Nov 10, 2008 3:51 pm
- Current Project: Fully Autonomous Robot
- Favorite Gaming Platforms: PS3
- Programming Language of Choice: C++
- Location: California
- Contact:
Re: LOLz Playing Around With OpenGL... Trippy as hell
Eh, its very simple, nothing compared to your engine, its like just 2 for loops, I am prototyping for this project I am doing.GroundUpEngine wrote:ahh my eyes, lol thats crazy dawg! nice
- epicasian
- Chaos Rift Junior
- Posts: 232
- Joined: Mon Feb 22, 2010 10:32 pm
- Current Project: Gigazilla Engine
- Favorite Gaming Platforms: Dreamcast, SNES, PS2, PC
- Programming Language of Choice: C/++
- Location: WoFo, KY
Re: LOLz Playing Around With OpenGL... Trippy as hell
That looks friggin' sweet! lol
~EpicAsian
~EpicAsian
Re: LOLz Playing Around With OpenGL... Trippy as hell
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...
So I'm just curious, because maybe now I can get OGL to work...