POV-Ray : Newsgroups : povray.general : Lens Design: CSG Intersection vs Lathe Object : Re: Lens Design: CSG Intersection vs Lathe Object Server Time
29 Jul 2024 22:30:56 EDT (-0400)
  Re: Lens Design: CSG Intersection vs Lathe Object  
From: Alain
Date: 14 Jun 2010 12:56:26
Message: <4c165f3a$1@news.povray.org>

> Hi all,
>
> I'm playing around with POV-Ray to make two plano-convex lenses, at first with a
> CSG intersection, and then with numerically calculated data points rotated with
> a quadratic spline lathe.
>
> The problem I'm having now is the plano-convex lens made from a sphere
> intersected with a plane converges light as expected:
>
> Image 1)    http://img193.imageshack.us/i/planoconvexjpg.jpg/
>
> But then when I make the lens with a lathe of 1000 data points, it actually
> DIVERGES light, when it should be functionally the same:
>
> Image 2)   http://img507.imageshack.us/i/planoconvexnumericallin.jpg/
>
> Here is the POV-Ray source code for the first image (CSG intersections)
>
> The code for Image 2 is the same as Image 1 except with a lathe with quadratic
> spline replacing the CSG intersection.
>
> Please let me know what you all think could be the reason for this, and any
> random tips as well as I'm pretty new to POV-Ray.
>
> Thanks!!!
>

You only provide code for the intersection case. You forgot to provide 
that for the lathe.



Alain


Post a reply to this message

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