POV-Ray : Newsgroups : povray.binaries.animations : Camera lens aperture test (76k) : Re: Camera lens aperture test (76k) Server Time
20 Jul 2024 17:21:12 EDT (-0400)
  Re: Camera lens aperture test (76k)  
From: Bob Hughes
Date: 17 Jul 2000 06:46:41
Message: <3972e411@news.povray.org>
Well, I have rendered one now, animated too.  Like to see?  I hesitate to show
either the mpeg or the pov script since you might want to be going it alone
there as much as possible.  For right now I can say that I found translating a
disc with a wide opening over to one radius and rotating partway around then
translating back again does work.  Just needed to also rotate a slight bit in
the x and y first thing in order to get a good overlap later.  Then it's only a
matter of applying a specified amount (multiplied by clock) of rotation again
to turn the whole thing opposite the first rotation (which was also done with
clock aside from the while loop amount) so it acts like the aperture I have
here.  Not exactly, but pretty close to it.
There was a bit more to it than this but it wasn't trigonometry either.
I won't blame you if you need to see some actual code, it's one of those
flip-flop kind of things to reason out for me anyway.

Bob


Post a reply to this message

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