POV-Ray : Newsgroups : povray.binaries.images : Anaglyphs with a single render - attached files (1/1) Server Time
19 Nov 2024 22:36:17 EST (-0500)
  Anaglyphs with a single render - attached files (1/1) (Message 1 to 6 of 6)  
From: Kaveh
Subject: Anaglyphs with a single render - attached files (1/1)
Date: 26 Aug 2003 11:28:13
Message: <kaveh-D953D6.16272726082003@netplex.aussie.org>
Seeing a recent discussion on anaglyphs, I wondered if we could make 
them in a single render. I did a search and found a trick used to make a 
stereo image, using mirrors. See "Dawn Patrol" in

http://www.irtc.org/stills/1998-02-28.html

It's a simple extension of that method to make an anaglyph. I have 
attached the final result, with two diagrams to show how it was made. 
(Please note the model changed a bit in between these renders.)

The picture with the checkered floor (put in just for clarity in this 
picture) shows the optical system. There are four "special" mirrors:

- The bright one nearest us has transmit 1 and reflection 1. So it's a 
povray supermirror, transmitting *and* reflecting 100% of the light.

- The one directly behind it is just a normal mirror.

- On the right of the supermirror is a "blue" mirror, reflecting only 
blue.

- On the left of the plain mirror is a "red" mirror.

"anaglyph1.jpg" shows what happens when the camera looks through the 
system. Note that the two mirrors in the centre are at 45 degrees to the 
x-y plane. The coloured mirrors are tilted a little from 45 degrees, 
such that when we look directly towards the object, the centre of the 
blue and red images are coincident.

Please note that on the two explanatory figures, I have given the 
mirrors some diffusion to make them visible. Also, I have put a grey 
background in these cases.

I think of the optics combined with the camera as the effective camera 
system. I put a variable for the angle subtended by the two colour 
mirrors. (The code is a bit dirty so I am a bit embarrassed to upload it 
;-)

Problems:
---------

1. Note that I have cheated by choosing a greyscale image. This is 
because the two coloured images should have the same tonality. If an 
object in the scene were blue, it would look bright in the blue half, 
and black in the red half. This is why I posted a message today about 
whether a scene can be rendered in black and white (which ABX replied 
to):

http://news.povray.org/povray.general/32924/

What we need ideally is a magic filter to put in between the camera and 
the object to make it look monochromatic. I leave this for the povray 
'dudes' to ponder on.

2. The mirrors have a finite size, so it would be difficult to use this 
method with a very wide angle in the camera.

-- Big thank you to all the povray team for a great program!

-- 
Kaveh


Post a reply to this message


Attachments:
Download 'anaglyph.jpg' (75 KB) Download 'anaglyph1.jpg' (47 KB) Download 'anaglyph2.jpg' (86 KB)

Preview of image 'anaglyph.jpg'
anaglyph.jpg

Preview of image 'anaglyph1.jpg'
anaglyph1.jpg

Preview of image 'anaglyph2.jpg'
anaglyph2.jpg


 

From: Marc Champagne
Subject: Re: Anaglyphs with a single render - attached files (1/1)
Date: 26 Aug 2003 15:18:59
Message: <Xns93E39B73C6FF0POVMIKA@204.213.191.226>
Kaveh <kav### [at] delete_this_bitfocalimagecom> wrote in
news:kav### [at] netplexaussieorg: 

> Seeing a recent discussion on anaglyphs, I wondered if we could make 
> them in a single render. I did a search and found a trick used to make a
> stereo image, using mirrors. See "Dawn Patrol" in

Neat!

-- 
(MIKA) Marc Champagne
marcch.AT.videotron.DOT.ca
Montreal, CANADA


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: Anaglyphs with a single render - attached files (1/1)
Date: 27 Aug 2003 08:17:58
Message: <3f4ca176$1@news.povray.org>
most impressive :)

-- 
Rick

Kitty5 NewMedia http://Kitty5.com
POV-Ray News & Resources http://Povray.co.uk
TEL : +44 (01270) 501101 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: Kaveh
Subject: Re: Anaglyphs with a single render (resending attachments) - attached files (1/1)
Date: 27 Aug 2003 12:13:41
Message: <kaveh-9C14B2.17093827082003@netplex.aussie.org>
Sorry guys. Only one attachment got through on the web page, so 
resending two again

-- 
Kaveh


Post a reply to this message


Attachments:
Download 'anaglyph1.jpg' (47 KB) Download 'anaglyph2.jpg' (86 KB)

Preview of image 'anaglyph1.jpg'
anaglyph1.jpg

Preview of image 'anaglyph2.jpg'
anaglyph2.jpg


 

From: Rick [Kitty5]
Subject: Re: Anaglyphs with a single render (resending attachments) - attached files (1/1)
Date: 27 Aug 2003 18:28:56
Message: <3f4d30a8@news.povray.org>
Kaveh wrote:
> Sorry guys. Only one attachment got through on the web page, so
> resending two again

dont know what your looking at, but I see 3 images attached to to the first
post.


-- 
Rick

Kitty5 NewMedia http://Kitty5.com
POV-Ray News & Resources http://Povray.co.uk
TEL : +44 (01270) 501101 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: Kaveh
Subject: Re: Anaglyphs with a single render (resending attachments) - attached files (1/1)
Date: 27 Aug 2003 18:34:06
Message: <kaveh-1CAEF8.23340527082003@netplex.aussie.org>


Post a reply to this message

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