Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / More ripples!

Author
Message
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 22nd Sep 2003 15:12 Edited at: 23rd Sep 2003 20:24
Yes! The ripples return! What's different this time round is that I'm using a tiled plain created using a memblock, and with slightly curved normals. This allows me to apply sphere mapping with a constantly changing coloured texture to make the ripples look even cooler than before! Memblock meshes need a lot of setting up and manipulating, so I'm amazed I managed to stuff the whole lot into 20 lines exactly, it was originally about 250 lines. Btw I'm still keeping to the '5 commands per line' rule because I like a challenge . Watch the code get completely messed up because of my comparison operators. You can download a .zip file containing the exe here:

http://www.mikeyben.org/darkb/ripples20.zip

Oh, there aren't any lights this time round because the effect looks cool enough on its own, and there wasn't any space to add more commands.



Your comments please!

EDIT: this won't work in dbc, because of the long lines
EDIT: added screenshot

Once I was but the learner,
now, I am the Master.
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 22nd Sep 2003 19:10
Nice, a bit slow on my computer but still cool. The matrix versions ripples looked smoother, but memblock manipulation is a really cool way of doing it.

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 22nd Sep 2003 22:08
very nice! it does look abit rough at certain points but alot of the time its stunning!


PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 22nd Sep 2003 23:46
Wow, that's much better then your old one(but where are the coloured lights!)

Red_Eye was right, it does look rought around the corners.

I would sure that this would be a winner, too bad you already won

Cheers.

"Talk doesn't cook rice." -Chinese proverb
Flashing Blade
22
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 23rd Sep 2003 12:53
Darthster - IMHO u one of the very top coders on this site. You should do a kick arse tech demo for DBpro.
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 25th Sep 2003 19:05 Edited at: 25th Sep 2003 19:05
Quote: "I would sure that this would be a winner, too bad you already won"


You were saying?

Brains are for idiots.

Athelon XP 1400 Plus - Nvidia Geforce MX400 - 256mb RAM
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 26th Sep 2003 00:44
lol

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
Preston C
21
Years of Service
User Offline
Joined: 16th May 2003
Location: Penn State University Park
Posted: 26th Sep 2003 04:27
Wow, thats neat, that'd make a good screensaver


Dark Basic Pro has arived! I can feel the power!

Login to post a reply

Server time is: 2024-11-24 00:11:22
Your offset time is: 2024-11-24 00:11:22