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 / Using those red/blue 3D glasses in DBPro (no media) :: 13 readable lines

Author
Message
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 15th Aug 2003 19:06
Hi guys,

Here's how to use those cool red/blue 3D glasses in DBPro (you nkow, the ones you get with comic books and the new Spy Kids film).

This code does no require any special obejcts, ghosted plains etcetera.

The code works by simulating the two views a human gets of life - one from each eye.

Each view then has specific colours filtered out and then all 3 views (the R view is in there twice: for blue and green) are blended together.

Your 3D glasses filter out all the other colours and deliver the l image to the leftr eye adn right to the right and so giving the illusion of 3D.

PS - This is a rewritten, slightly cleaned up version of the code posted in the Code Snippets forum.
You are the http://s15.sitemeter.com/meter.asp?site=s15dtsig[/img]th person to view this signature.
GRAVITY: I fought the law but the law won
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 21st Aug 2003 20:10
EXE please!!!

Got a knack for finding secrets ??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 22nd Aug 2003 13:35
Mattman it's the same code as the code in COde SNippets (which had an exe), only slightly faster.

There's no place like 127.0.0.1

There are 10 people in this world, those who understand binary and those who don't.
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 22nd Aug 2003 17:45
oh. okay then.

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios

Login to post a reply

Server time is: 2024-11-24 04:14:15
Your offset time is: 2024-11-24 04:14:15