POV-Ray : Newsgroups : povray.general : simulating lens distortion Server Time
19 Nov 2024 15:28:32 EST (-0500)
  simulating lens distortion (Message 1 to 7 of 7)  
From: Bill Brehm
Subject: simulating lens distortion
Date: 19 Jan 2002 00:22:36
Message: <3c49029c@news.povray.org>
Hi,

Is there any way to simulate lens distortions such as barrel distortion and
pincushioning? I want to generate some purposely distorted images to verify
some equipment that is supposed to measure and correct for such distortions.

Thanks,

Bill


Post a reply to this message

From: bob h
Subject: Re: simulating lens distortion
Date: 19 Jan 2002 01:01:52
Message: <3c490bd0$1@news.povray.org>
"Bill Brehm" <bbr### [at] netzeronet> wrote in message
news:3c49029c@news.povray.org...
>
> Is there any way to simulate lens distortions such as barrel distortion
and
> pincushioning? I want to generate some purposely distorted images to
verify
> some equipment that is supposed to measure and correct for such
distortions.

Check into using a normal statement in the camera; bump_map, slope_map,
normal_map, or just a pattern might work okay.

bob h


Post a reply to this message

From: Chris Howie
Subject: Re: simulating lens distortion
Date: 19 Jan 2002 05:40:05
Message: <3c494d05@news.povray.org>
> Check into using a normal statement in the camera; bump_map, slope_map,
> normal_map, or just a pattern might work okay.

I didn't know you could texture the camera.. lol.  Got a long way to go.  =)

__________________
Chris Howie
cra### [at] yahoocom
http://winimizer.virtualave.net


Post a reply to this message

From: Warp
Subject: Re: simulating lens distortion
Date: 19 Jan 2002 09:20:55
Message: <3c4980c6@news.povray.org>
Chris Howie <cra### [at] yahoocom> wrote:
: I didn't know you could texture the camera..

  And you can't. You can apply a normal modifier, nothing else.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Mike Williams
Subject: Re: simulating lens distortion
Date: 19 Jan 2002 21:52:39
Message: <f3LgyDAvjcS8Ew4E@econym.demon.co.uk>
Wasn't it Bill Brehm who wrote:

>Is there any way to simulate lens distortions such as barrel distortion and
>pincushioning? I want to generate some purposely distorted images to verify
>some equipment that is supposed to measure and correct for such distortions.

If you happen to know the mathematics of the shape of a lens that
produces a particular type of distortion, then it should be possible to
construct such a lens and point the camera through it.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Tom Melly
Subject: Re: simulating lens distortion
Date: 21 Jan 2002 10:21:11
Message: <3c4c31e7$1@news.povray.org>
"Chris Howie" <cra### [at] yahoocom> wrote in message
news:3c494d05@news.povray.org...
> > Check into using a normal statement in the camera; bump_map, slope_map,
> > normal_map, or just a pattern might work okay.
>
> I didn't know you could texture the camera.. lol.  Got a long way to go.  =)
>

Nice example of this in IRTC Gardens
http://www.irtc.org/ftp/pub/stills/1999-12-31/dmmonet.jpg


Post a reply to this message

From: Bill Brehm
Subject: Re: simulating lens distortion
Date: 26 Jan 2002 02:41:19
Message: <3c525d9f@news.povray.org>
Hi,

I haven't had much luck with slope_map, normal_map, etc.
Are their some examples somewhere that would help me grasp the concept?

Thanks,

Bill


"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3c4c31e7$1@news.povray.org...
> "Chris Howie" <cra### [at] yahoocom> wrote in message
> news:3c494d05@news.povray.org...
> > > Check into using a normal statement in the camera; bump_map,
slope_map,
> > > normal_map, or just a pattern might work okay.
> >
> > I didn't know you could texture the camera.. lol.  Got a long way to go.
=)
> >
>
> Nice example of this in IRTC Gardens
> http://www.irtc.org/ftp/pub/stills/1999-12-31/dmmonet.jpg
>
>


Post a reply to this message

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