POV-Ray : Newsgroups : povray.binaries.programming : Sturmian root solver speed up patch Server Time
19 May 2024 15:49:44 EDT (-0400)
  Sturmian root solver speed up patch (Message 1 to 1 of 1)  
From: Lukas Winter
Subject: Sturmian root solver speed up patch
Date: 27 Mar 2008 16:45:01
Message: <web.47ec14bc40f4cc8bc2f6d57e0@news.povray.org>
This is a very simple patch to the source code of beta 25b (see
povray.programming). The changes are minimal. You can check them with a tool
like unix diff. The two longer parts I added to polysolv.cpp (Descartes' rule
of signs in Solve_Polynomial() and upper bound on roots in polysolv() ) could
be dropped because the most common shapes that support sturm already have good
bounds on the wanted roots (blob, lathe, prism, sphere_sweep, torus, not: sor,
I have not checked validity on every shape. Floating point inaccuracies cause
very slightly different results but do not decrease image quality.

Post a reply to this message

Download 'sturm.zip' (68 KB)

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