POV-Ray : Newsgroups : povray.advanced-users : Suggested / desired new ray / trace functions : Re: Suggested / desired new ray / trace functions Server Time
17 Sep 2021 06:28:37 EDT (-0400)
  Re: Suggested / desired new ray / trace functions  
From: Mike Horvath
Date: 28 Jul 2018 03:34:10
Message: <5b5c1c72$1@news.povray.org>
On 7/20/2018 12:20 PM, Bald Eagle wrote:
> After playing around for too long, and far too late with Mike's 3D offset
> surface, I was thinking about how to expand on this and make it a broadly useful
> tool.
> 
> Simply mapping the convex hull of a simple object would allow conversion to a
> union of triangles, or a proper mesh{}, and "bumping it out" by a scalar
> multiple of the normal vector would allow the generation of a (I find)
> frequently desired nesting shape.
> 
> In order to model, meshify, and offset more complex objects, I was thinking that
> an advanced version of trace() and perhaps a user-accessible version of the ray
> intersection testing used for inside/outside or crossing tests could help define
> such complex objects.
> 
> If the latter could return a scalar count, then the advanced trace () function
> could return the position and normal of those crossing points, or just the
> first, or second, or whichever one desired.
> 
> 
> 
> 
> 

I remember someone tried to use trace() to generate a mesh from LGEO 
parts, and ended up with a horrible mess of triangles.


Mike


Post a reply to this message

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