POV-Ray : Newsgroups : povray.general : Mirascope : Re: Mirascope Server Time
10 May 2024 16:19:49 EDT (-0400)
  Re: Mirascope  
From: Cousin Ricky
Date: 25 Dec 2023 00:07:49
Message: <65890e25$1@news.povray.org>
On 2023-12-24 19:34 (-4), Bald Eagle wrote:
> 
> Warp commented (on parabolic mirrors in general) that, "POV-Ray can make
> perfectly parabolic mirrors and reflect light from them. It's far from
> impossible."

Warp is, of course, right on this matter, and he even implemented a
parabolic mirror in 2 dimensions.  However, I have a quibble about
UW-Madison's terminology.  Those mirrors are what I consider *concave*,
not convex.  This macro implements a concave paraboloid in 3 dimensions:

#macro Concave_Paraboloid (yFocus)
  poly { 2, <-1, 0, 0, 0, 0, 0, yFocus * 4, -1, 0, 0> }
#end

The vertex is at the origin, and the concave surface faces upward for a
positive yFocus.  You would need to intersect this with a limiting
object of appropriate size.  I used poly{2} rather than quadric{}
because the latter is buggy.


Post a reply to this message

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