POV-Ray : Newsgroups : povray.general : Roots of a function : Roots of a function Server Time
26 Apr 2024 09:52:18 EDT (-0400)
  Roots of a function  
From: IGM
Date: 28 Sep 2019 04:45:00
Message: <web.5d8f1cd3fe1f4a21e462584c0@news.povray.org>
Hi,
I have a monotone function y=(x) defined as spline (it describes the position of
an object in the scene), and I need to find its root, i.e. where it crosses x
axis. Is there any elegant way to do this inside povray? Maybe I could transform
the function in a prism surface, and using "trace" to find the intersection of a
ray at height y=0 with the surface. Other ideas?

Thanks!
igmar


Post a reply to this message

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