Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.
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:
Post
by davidthefat » Mon May 24, 2010 10:01 pm
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
Live-Dimension
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:
Post
by Live-Dimension » Tue May 25, 2010 1:10 am
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...
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:
Post
by dandymcgee » Tue May 25, 2010 9:18 am
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:
Post
by davidthefat » Tue May 25, 2010 10:14 am
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
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:
Post
by MrDeathNote » Tue May 25, 2010 10:33 am
Lol, that's pretty funky, it does kinda make me dizzy though!
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
Post
by epicasian » Wed May 26, 2010 4:51 pm
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
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:
Post
by combatant936 » Wed May 26, 2010 4:57 pm
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
Post
by GroundUpEngine » Wed May 26, 2010 5:04 pm
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
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:
Post
by davidthefat » Wed May 26, 2010 5:36 pm
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
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
Post
by GroundUpEngine » Wed May 26, 2010 5:54 pm
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:
Post
by davidthefat » Wed May 26, 2010 5:58 pm
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.
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
Post
by epicasian » Wed May 26, 2010 7:25 pm
That looks friggin' sweet! lol
~EpicAsian
XianForce
Chaos Rift Devotee
Posts: 767 Joined: Wed Oct 29, 2008 8:36 pm
Post
by XianForce » Wed May 26, 2010 10:24 pm
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...