POV-Ray : Newsgroups : povray.text.tutorials : Stereoscopic Colour 3D images on shutter glasses Server Time
24 Nov 2024 03:37:19 EST (-0500)
  Stereoscopic Colour 3D images on shutter glasses (Message 1 to 2 of 2)  
From: Filiep Geeraert
Subject: Stereoscopic Colour 3D images on shutter glasses
Date: 17 Jun 2001 09:11:55
Message: <3b2cac9b@news.povray.org>
I just got a Geforce 3 from Asus, and included were some 3D shutter glasses.
Also there were some 3D pictures to be found on the CD-ROM.

The 3D still images are unfortunately displayed using line interleaving,
which results in a rather flickering display and loss of half of the
vertical resolution (2 800x300 images in 3D instead of one 800x600 image)
(for games, page flipping can be used, so you get a 3D 800x600 image).

Anyway, I thought about the way those images were made.
They simply consist of two images taken from a different positions.
Each image is then assigned to the even or odd lines, so that each eye sees
one of the two images, thus creating the stereo illusion.

Once I knew the principle of how those images are created I figured it
shouldn't be too difficult to create some my own.
And Povray is ideal for this, as you can experiment as much as you like with
all the 3D settings.
It took me less than a day to create a way of making those 3D images.

This is how I did it (though there are some things I do not know, and the
method uses some trial and error).

I took the PAWNS.POV sample that comes with the POVRAY distributions.
I left alone the default 4/3 aspect ratio (very important !!!).
The image was saved as PAWNS.BMP
Next I changed the first parameter in the look_at line (this is the X axis).
I saved it under the name PAWNS2.POV, resulting in a slightly different
PAWNS2.BMP.
Now came the hard work
Somehow I had to merge the two files.
So I created a simple Turbo-C (the DOS version) program that would read 2
RAW files and subsequently take a line (800 pixels x 3 bytes per pixel (24
bits colour)) from each file (2400 bytes), and write them to a merged file.
To create the RAW files I converted them with Paint Shop Pro.

The only thing I don't know is if I 'm doing it right, there is some depth
in the images that I created, but I don't know how far each image should be
from the other.
Maybe there could be more depth in those images

how to calculate that with the parameters location, direction, sky, up,
right, look_at, and so forth.

Anyway, if you 're interested in the program that joins 2 800x600x24 colours
images (it 's very limited for the time being), or if you want to see an
example of such a 3D image, send me a mail.
Of course, I doubt that you can do anything with the image if you don't have
shutter glasses or they work in a different way.

BTW : the images I 'm talking about were done entirely by other people,
since I don't have much knowledge about creating my own pictures.
I just like to tinker with aspect ratios, 3D,etc.


Post a reply to this message

From: Richard Dault
Subject: Re: Stereoscopic Colour 3D images on shutter glasses
Date: 19 Jun 2001 13:48:35
Message: <3b2f9073$1@news.povray.org>
Hi,

I don't have any 3D glasses, but I just built two computers for friends that
have some.

I started on this site
http://www.stereovision.net/toxicx/shots/its3d2/its3d2.htm which seems to
have done the same thing you have.
But from there, I read that Elsa has software that uses image flipping
instead.  So I then found this:
http://www.elsa.com/international/europe/produkte/mmedia/3d_demos.htm.  I'm
not sure if it will work with ASUS glasses, but it might.  Since I found
this comment: "if you try to install the Windows 9x driver for your ELSA
graphics board or one from an other manufacturer without having installed
the driver from the ELSA 3D REVELATOR CD, you will have to install this
program to activate the ELSA 3D Revelator." it seems to imply that it might
work with other video cards.

This company here: http://www.nuvision3d.com/3dpix.html has a viewer that
might do the trick.  You can download an evaluation copy for 30 days, so
that you can at least try it.

Here's another one that appears to be free:
http://staff.vscht.cz/~husakm/jpsview.html

There's a whole bunch more here: http://www.stereo3d.com/3dhome.htm

So if you find software that does it properly and assuming it can also
convert two images into some 3D format (i.e. jps), then you should be able
to convert any POV images into 3D.


"Filiep Geeraert" <fil### [at] pandorabe> wrote in message
news:3b2cac9b@news.povray.org...
> I just got a Geforce 3 from Asus, and included were some 3D shutter
glasses.
> Also there were some 3D pictures to be found on the CD-ROM.
>
> The 3D still images are unfortunately displayed using line interleaving,
> which results in a rather flickering display and loss of half of the
> vertical resolution (2 800x300 images in 3D instead of one 800x600 image)
> (for games, page flipping can be used, so you get a 3D 800x600 image).
>
> Anyway, I thought about the way those images were made.
> They simply consist of two images taken from a different positions.
> Each image is then assigned to the even or odd lines, so that each eye
sees
> one of the two images, thus creating the stereo illusion.
>
> Once I knew the principle of how those images are created I figured it
> shouldn't be too difficult to create some my own.
> And Povray is ideal for this, as you can experiment as much as you like
with
> all the 3D settings.
> It took me less than a day to create a way of making those 3D images.
>
> This is how I did it (though there are some things I do not know, and the
> method uses some trial and error).
>
> I took the PAWNS.POV sample that comes with the POVRAY distributions.
> I left alone the default 4/3 aspect ratio (very important !!!).
> The image was saved as PAWNS.BMP
> Next I changed the first parameter in the look_at line (this is the X
axis).
> I saved it under the name PAWNS2.POV, resulting in a slightly different
> PAWNS2.BMP.
> Now came the hard work
> Somehow I had to merge the two files.
> So I created a simple Turbo-C (the DOS version) program that would read 2
> RAW files and subsequently take a line (800 pixels x 3 bytes per pixel (24
> bits colour)) from each file (2400 bytes), and write them to a merged
file.
> To create the RAW files I converted them with Paint Shop Pro.
>
> The only thing I don't know is if I 'm doing it right, there is some depth
> in the images that I created, but I don't know how far each image should
be
> from the other.
> Maybe there could be more depth in those images

idea
> how to calculate that with the parameters location, direction, sky, up,
> right, look_at, and so forth.
>
> Anyway, if you 're interested in the program that joins 2 800x600x24
colours
> images (it 's very limited for the time being), or if you want to see an
> example of such a 3D image, send me a mail.
> Of course, I doubt that you can do anything with the image if you don't
have
> shutter glasses or they work in a different way.
>
> BTW : the images I 'm talking about were done entirely by other people,
> since I don't have much knowledge about creating my own pictures.
> I just like to tinker with aspect ratios, 3D,etc.
>
>
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.