POV-Ray : Newsgroups : povray.binaries.images : Attack of the Flying Magnifying Lenses WIP take two ~180k : Re: Attack of the Flying Magnifying Lenses WIP take two Server Time
13 Aug 2024 11:18:32 EDT (-0400)
  Re: Attack of the Flying Magnifying Lenses WIP take two  
From: Greg Edwards
Date: 20 Mar 2003 18:06:27
Message: <cs9xfas1edau$.9g5si3mjmkkg.dlg@40tude.net>
> Yes, you are right the lenses are nothing more than squeezed spheres.  I'll
> test with your version next.

The thing is spherical lenses don't really work very well and always suffer 
from abberation. If you *really* want to burn that grass, parabolic is the 
way to go! Try something like quadric{<1,0,1>,<0,0,0>,<0,1,0>,0} and some 
CSG to create a real parabolic lens. And remember if you've taken math 
class, a scaled parabola is still a perfectly good parabola (although it 
might render faster to play with the terms instead).

-- 
light_source#macro G(E)sphere{z+E*y*5e-3.04rotate-z*E*6pigment{rgbt#end{
20*y-10#local n=162;1}#while(n)#local n=n-.3;G(n)x}}G(-n).7}}#end//GregE


Post a reply to this message

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