BZFlag in a new dimension: (3D Glasses Required)

BZFlag related only please...please attach large images
User avatar
Sir Lance-A-Lot
Private First Class
Private First Class
Posts: 503
Joined: Tue Jun 29, 2004 12:49 am
Location: Amongst my Computers
Contact:

BZFlag in a new dimension: (3D Glasses Required)

Post by Sir Lance-A-Lot » Wed Mar 29, 2006 5:35 pm

About a month ago I learned how to make anaglyphs, or 3D photographs.
I went around the house taking pictures of things, then converted them to anaglyphs so you could almost reach out and "touch" them.

I got the idea to try this with BZ, using the same technique.

The program requires a left and right image - so I went into observer mode.

You have to be focused on an exact point, then rotate around that for left and right screenshots.

Only about a centimeter of difference is needed to make the 3D illusion - if you are good, you can increase that distance and create images that shoot out of the screen.

Here's the two of BZ I've made so far - the one of Twin Peaks got a little distrorted - it was my first try. 8)
Attachments
3d1.jpg
(465.24 KiB) Downloaded 139 times
metro3d.jpg
(390.39 KiB) Downloaded 248 times
Image

trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan » Wed Mar 29, 2006 5:43 pm

./bzflag -view anaglyph

User avatar
Sir Lance-A-Lot
Private First Class
Private First Class
Posts: 503
Joined: Tue Jun 29, 2004 12:49 am
Location: Amongst my Computers
Contact:

Post by Sir Lance-A-Lot » Wed Mar 29, 2006 6:01 pm

Your kidding - right?

If your not, Im about to go insane. :lol-old: :lol-old:
Image

User avatar
Saturos
Art Master General
Art Master General
Posts: 1111
Joined: Mon Apr 19, 2004 2:48 pm
Location: Berlin/Germany
Contact:

Post by Saturos » Wed Mar 29, 2006 6:56 pm

He is not. Try it. :)

User avatar
Sir Lance-A-Lot
Private First Class
Private First Class
Posts: 503
Joined: Tue Jun 29, 2004 12:49 am
Location: Amongst my Computers
Contact:

Post by Sir Lance-A-Lot » Wed Mar 29, 2006 7:06 pm

That is incredible! It's so real it almost makes ya sick :shock: :D
Image

User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom
Contact:

Post by Spazzy McGee » Wed Mar 29, 2006 7:11 pm

that's totally insane! though my 3D glasses leave alot to be desired ;)

lol, trepan, why don't you tell us about stuff like this :P lets see some others....
"Life is what happens to you while you're busy making other plans." - John Lennon

User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom
Contact:

Post by Spazzy McGee » Wed Mar 29, 2006 7:13 pm

no need - you do tell us about this stuff, i just diddn't look:

[-view {normal|stereo|stacked|three|anaglyph|interlaced}]
"Life is what happens to you while you're busy making other plans." - John Lennon

User avatar
DJ Atomica
Private First Class
Private First Class
Posts: 145
Joined: Thu May 12, 2005 8:55 pm
Location: PA - USA
Contact:

Post by DJ Atomica » Wed Mar 29, 2006 8:13 pm

:'( I don't have any 3D Glasses. (I usually eat them afterward) Where can I buy them?
DJ Atomica.........Scratching the records! :twisted:

Skype me! Skype name is "dj.atomica"!

User avatar
Sir Lance-A-Lot
Private First Class
Private First Class
Posts: 503
Joined: Tue Jun 29, 2004 12:49 am
Location: Amongst my Computers
Contact:

Post by Sir Lance-A-Lot » Wed Mar 29, 2006 8:42 pm

You could probably almost make them.

Buy 2 colors of celophane - red and blue.

cover your left eye with red, and your right eye with blue.


If you can't do that, some cereal boxes come with them, for some reason. Maybe to view "hidden" messeges on the box or something.

You can also buy them online somewhere, for about $2 or something...
Image

User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted » Wed Mar 29, 2006 8:46 pm

trepan wrote:./bzflag -view anaglyph
what dies that do? and where would i put it?

User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano » Wed Mar 29, 2006 8:57 pm

Basically you need to use that switch, however you start your client. If you are on Windows modify your shortcut to look like this (of course your path may be different) "C:\Program Files\BZFlag2.0.5b6\bzflag.exe" -view anaglyph. You then need to whip out your cool 3D shades and play BZ-3D :P

Not sure how you do this on a MAC exactly, but I am sure it is a pretty similar situation.

EDIT:
For all you n00bs out there :P
To turn it off: "C:\Program Files\BZFlag2.0.5b6\bzflag.exe" -view normal
Last edited by joevano on Thu Mar 30, 2006 9:20 pm, edited 2 times in total.

User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny » Wed Mar 29, 2006 9:16 pm

ooo....

how cool

User avatar
Scorch
Private First Class
Private First Class
Posts: 747
Joined: Thu Sep 30, 2004 12:16 am
Contact:

Post by Scorch » Wed Mar 29, 2006 9:22 pm

It's a shame theres not an Xtra dimension eh? we can't see colors in analagliph (can't spel.)

User avatar
tw1sted
Private First Class
Private First Class
Posts: 849
Joined: Tue Feb 21, 2006 10:21 pm

Post by tw1sted » Wed Mar 29, 2006 9:25 pm

donny_baker wrote:Basically you need to use that switch, however you start your client. If you are on Windows modify your shortcut to look like this (of course your path may be different) "C:\Program Files\BZFlag2.0.5b6\bzflag.exe" -view anaglyph. You then need to whip out your cool 3D shades and play BZ-3D :P

Not sure how you do this on a MAC exactly, but I am sure it is a pretty similar situation.
ahh. ok thanks. wooo thats awsome

User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner » Wed Mar 29, 2006 9:41 pm

Cool! Is it possible to have it be 3d yet windowed at 800 by 600?

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image

User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom
Contact:

Post by Spazzy McGee » Wed Mar 29, 2006 10:38 pm

on a mac it's the same:

in terminal type (depending on your path to bzflag. [remember to get the path to the actual executable you have to right (ctrl) click the bzflag icon, click show contents, then the folder MacOS, as 'application' icons in mac os are actually diguised folders with all the program's data inside them.])

Code: Select all

/applications/bzflag-2.0.5p.2005.11.08/bzflag/contents/MacOS/bzflag -view anaglyph
"Life is what happens to you while you're busy making other plans." - John Lennon

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG » Thu Mar 30, 2006 1:35 am

Here's -view three (spread across 2 monitors):

BZFlag dual-head

User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny » Thu Mar 30, 2006 8:09 pm

did you mod the source to do that Rpg?

PS: you must do this 3d thing on alpine assault it makes it look realy cool.

User avatar
Sir Lance-A-Lot
Private First Class
Private First Class
Posts: 503
Joined: Tue Jun 29, 2004 12:49 am
Location: Amongst my Computers
Contact:

Post by Sir Lance-A-Lot » Sun Apr 02, 2006 3:09 am

Win Xp wrote:did you mod the source to do that Rpg?

PS: you must do this 3d thing on alpine assault it makes it look realy cool.
Make sure you check out the butterfly while your there 8) 8) 8)
Image

User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post by TD-Linux » Sun Apr 02, 2006 7:54 pm

The bad thing about anaglyph is that it distorts colors something terrible.

There are some other methods out there...
You could split your monitor into two images, and stare into it like a Magic Eye puzzle. That _really_ causes eyestrain :p

There are also 3D glasses that sync with your monitor... it exposes the right eye for a tiny bit while showing the right eye image on the monitor, then quickly covers the right eye and exposes the left eye while showing the left eye image.

By far, anaglyph is the easiest.

User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post by L4m3r » Mon Apr 03, 2006 4:32 am

Or, with some very expensive equipment (and probably extreme changes to the client) you could use that polarized trick that Imax uses. :D

I rigged some "3d glasses" and I wasn't able to see that well, heh. But then my glasses were crap anyway.
Optimism is just a milder alternative to denial.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5193
Joined: Fri Dec 13, 2002 4:11 am
Location: https://github.com/OmniTanks
Contact:

Post by JeffM » Mon Apr 03, 2006 7:31 am

bzflag has supported a number of view modes to work with various sterio 3d methods for a very long time ( since before it was open source ).
ImageJeffM

User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG » Mon Apr 03, 2006 8:47 pm

Win Xp
No, it was not modded. Run bzflag in -view three mode, and you'll notice four little corners in your screen. Now, what I did was added another monitor to the mix. I plugged a 2nd monitor into my graphics card, and then had the graphics driver tell Windows that my screen resolution was a 2560 x 1024 monitor! Therefore, it tricked XP into thinking I had one very large monitor, but in reality the graphics card split the images in half and gave each screen a portion. Now, BZFlag instinctively takes up all the screen resolution in full screen mode. Since Windows thought my res was 2560 x 1024, BZFlag adjusted itself to that size. However, the graphics card cut the res in half, putting half of the image on each screen. Therefore, achieving the 2 monitor - 4 view effect.

Now time for the pictures:

1 monitor setup: [+] (bzflag takes up 4 corners of the screen)

my 2 monitor setup:
To windows, it appears as this: [--|--] (one big ass monitor)
But then, my graphics card splits it into this: [--] [--] (two tiny monitors)

Winterberry
Private First Class
Private First Class
Posts: 24
Joined: Fri Feb 10, 2006 4:41 am

Post by Winterberry » Thu Apr 13, 2006 3:48 am

I hate to bump this topic so late, but I just discovered this and was fooling around with it this afternoon...

Is anyone actively playing in any mode other than normal?

I found a nifty site giving away free 3D glasses. I'm sending off for a pair or two tomorrow; I'll let you know how well they work.

Also, I started up 2.0.6 in Stereo mode and I could see any difference between that and normal mode (I was hoping it would split the screen and I could do the crosseyed trick. I can usually sustain that for quite a while and it works great). Has anyone else experienced results unlike mine with this mode?
You could split your monitor into two images, and stare into it like a Magic Eye puzzle. That _really_ causes eyestrain Tongue out
Can you elaborate on this one a bit or are you describing the stereo method I talked about above?

meeba
Master Sergeant
Master Sergeant
Posts: 507
Joined: Sun Mar 12, 2006 10:49 pm
Location: N. Sanity Beach
Contact:

Post by meeba » Tue May 29, 2007 4:41 am

Macrosoft wrote:i cant start it in stereo view, i get an error about an unsupported visual mode
Tell me you didn't just bump a topic that was over a year idle.

Post Reply