POV-Ray : Newsgroups : povray.binaries.images : Plenoptic camera Server Time
30 Jul 2024 06:18:43 EDT (-0400)
  Plenoptic camera (Message 11 to 17 of 17)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Jaime Vives Piqueres
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 13:46:10
Message: <50e32ef2$1@news.povray.org>

> I might be missing something fundamental to the topic at hand (wouldn't be the
> first time ;) ), but why not just place the following in front of the camera?
>
> #declare ArrayRes = 96;
> box{
>   <-0.5, -0.5, 0>, <0.5, 0.5, 0>
>   pigment{rgb 0 transmit 1}
>   normal{
>    function{
>     (1-(x*x+y*y)/2)
>    } -4*2
>    translate x+y
>    scale 1/2
>    warp{repeat x}
>    warp{repeat y}
>    scale 1/ArrayRes
>   }
>   finish{diffuse 0}
>   interior{ior 1.5}
>   no_shadow no_reflection
> }
>
> That's what I used when rendering the light field for my integral imaging sim.
> My first attempt for this step used actual geometry, but too many artifacts were
> produced, so I settled on this quick-to-parse, fast-to-render solution.
>

   Yes, could work... I myself tried something similar with the camera 
normal, but was not getting the exact lens geometry I wanted (my maths 
are not soooo go), so I resorted to model it by hand on Wings3D: anyhow, 
I would be using it with the mesh camera #3, so it will smooth the 
normals and get ride of any triangle artifacts.

--
Jaime


Post a reply to this message

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 14:00:01
Message: <web.50e33139899893d5617f86270@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
>
> I must be missing it too. My thought was to use a camera Ray
> Perturbation using a Leopard Normal.

Hmm, is leopard really an appropriate pattern to use here? Isn't that pretty
much the cosine of x, y & z summed? I was forced to use the posted function only
after trying a cylindrical normal with poly_wave 0.5, and seeing how it didn't
work too well. The goal, of course, was to find something that would behave like
a spherical lens, but on a 2D surface.


Post a reply to this message

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 14:10:01
Message: <web.50e333dd899893d5617f86270@news.povray.org>
"MichaelJF" <mi-### [at] t-onlinede> wrote:
>
> Meanwhile I wonder why we simulate this camera at all.

In the words of George Mallory, "because it's there." :D

As for myself, I just wanted to play with integral imaging in POV. Even though
the idea has been a around for a while, the microlens array sheets still aren't
being developed. But when the manufacturing industry gets in line to start
producing the sheets, I'll have already developed a way to produce the source
images... using my favorite raytracer :)


Post a reply to this message

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 14:30:01
Message: <web.50e338c5899893d5617f86270@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:

> > My first attempt for this step used actual geometry, but too many artifacts were
> > produced, so I settled on this quick-to-parse, fast-to-render solution.
>
>    Yes, could work... I myself tried something similar with the camera
> normal, but was not getting the exact lens geometry I wanted (my maths
> are not soooo go), so I resorted to model it by hand on Wings3D: anyhow,
> I would be using it with the mesh camera #3, so it will smooth the
> normals and get ride of any triangle artifacts.

I'm not sure I would trust meshes for this task; in fact, I'm sure I wouldn't.
I've seen too many optical artifacts produced by "smooth" meshes. No matter how
precise vertex normals are, they can never overcome the fact that a mesh is
still a mesh. A mesh representation of a smooth shape will never intersect space
the way a purely mathematical shape does.

Of course, all that doesn't account for the fact that I used a plane and not
real geometry, but I had my reasons ;)


Post a reply to this message

From: "Jérôme M. Berger"
Subject: Re: Plenoptic camera
Date: 1 Jan 2013 17:05:53
Message: <50e35dc1$1@news.povray.org>
Samuel Benge wrote:
> the microlens array sheets still aren't being developed.
> 
	Yes they are: https://en.wikipedia.org/wiki/Lytro

	I've had the occasion to play a little with one of these and I was
rather disappointed: the resulting resolution was very poor and the
possibilities of the provided software were pretty limited and far
from the demos they show on their web site :(

		Jerome
-- 
mailto:jeb### [at] freefr
http://jeberger.free.fr
Jabber: jeb### [at] jabberfr


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

From: Samuel Benge
Subject: Re: Plenoptic camera
Date: 2 Jan 2013 14:10:01
Message: <web.50e485b5899893d56612423e0@news.povray.org>
=?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= <jeberger@free.fr> wrote:
> Samuel Benge wrote:
> > the microlens array sheets still aren't being developed.
> >
>  Yes they are: https://en.wikipedia.org/wiki/Lytro

For cameras, yes, but what about integral imaging applications such as 3D
displays or "magic" cards? Last I heard, mass production of the sheets for
inexpensive products is still a ways off.

>  I've had the occasion to play a little with one of these and I was
> rather disappointed: the resulting resolution was very poor and the
> possibilities of the provided software were pretty limited and far
> from the demos they show on their web site :(

If integral imaging is any indication of what one can expect from those cameras,
I'm not surprised. It takes a very large source image to produce an end result.
In integral imaging, the final resolution (what you see) is directly
proportional to the number of sub-regions on the source image. The /angular/
resolution depends on the resolution of each sub-region of the source image. So,
if you want an image with an apparent pixel resolution of 1024x1024, and with an
angular resolution of 256x256 (65536 distinct points of view), your source image
needs to be 262144x262144 pixels. And that's just for an image that falls way
below print standards.

Still, the technology itself is very promising. Surveillance systems ala Blade
Runner (tweaking the view to see around objects) don't seem all that outlandish
anymore.


Post a reply to this message

From: Alain
Subject: Re: Plenoptic camera
Date: 2 Jan 2013 19:40:16
Message: <50e4d370@news.povray.org>

> Stephen <mca### [at] aolcom> wrote:
>>
>> I must be missing it too. My thought was to use a camera Ray
>> Perturbation using a Leopard Normal.
>
> Hmm, is leopard really an appropriate pattern to use here? Isn't that pretty
> much the cosine of x, y & z summed? I was forced to use the posted function only
> after trying a cylindrical normal with poly_wave 0.5, and seeing how it didn't
> work too well. The goal, of course, was to find something that would behave like
> a spherical lens, but on a 2D surface.
>
You may try the quilted pattern here.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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