POV-Ray : Newsgroups : povray.binaries.images : Parametric problem: image : Re: Parametric problem: image Server Time
7 Nov 2024 13:37:30 EST (-0500)
  Re: Parametric problem: image  
From: Stephen
Date: 23 Aug 2015 06:29:52
Message: <55d9a0a0@news.povray.org>
On 8/23/2015 5:39 AM, clipka wrote:
>> You might want to try min_extent and max_extent to define the
>> >contained_by box (can also be a sphere)

> Unfortunately that won't help with this issue, as min_extent and
> max_extent give you the extent of the object's bounding box (rather than
> the object itself), which in case of parametrics is in turn simply based
> on the contained_by object.
>

Interesting

> One possible solution would be to evaluate some sample points from the
> function set (possibly using an adaptive algorithm), and create the
> contained_by box based on the range of the results (with some additional
> margin).
>

This makes me think that Nekar's idea of creating a mesh is a starting 
point.

If LanuHum could create and export a mesh of the object (declared but 
not called). PovRay could evaluate its bounding box and use those values 
as the parametrics contained by.

-- 

Regards
     Stephen


Post a reply to this message

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