POV-Ray : Newsgroups : povray.general : Transform to a spline without loop-de-loops : Re: Transform to a spline without loop-de-loops Server Time
29 Jul 2024 14:20:22 EDT (-0400)
  Re: Transform to a spline without loop-de-loops  
From: gregjohn
Date: 12 Mar 2011 09:10:00
Message: <web.4d7b7dee48e6ef7e34d207310@news.povray.org>
What causes the "singular" matrix error in Shear_Trans?  If it is that it is
unable to shear from <a,b,c> to <a,b,c>, then isn't it possible to add some
"epsilons" to the matrix and prevent that problem?


clipka <ano### [at] anonymousorg> wrote:
> Am 10.03.2011 13:22, schrieb gregjohn:
>
> > Thanks for the elegant fixes suggested.  Your code however bombed out after
> > about 80 frames to to the singular matrix inverse problem.
>
> I don't see why this should happen, unless at some point your spline
> heads straight at (or away from) the center.
>
> Also note that the code I proposed presumes that your spline lies on
> (sufficiently close to) the surface of a sphere around the center.
>
> > I had to fix the
> > Shear_Trans macro to be that below.
>
> Again you're just suppressing the problem for a particular scene, still
> risking bombing in others, rather than really fix it.
>
> > For some reason, I end up with guys facing
> > forward (+Z) in my work.
>
> That's just strange.


Post a reply to this message

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