POV-Ray : Newsgroups : povray.advanced-users : Some math aid required... : Re: Some math aid required... Server Time
28 Jul 2024 20:34:15 EDT (-0400)
  Re: Some math aid required...  
From: sascha
Date: 10 Feb 2004 12:34:42
Message: <40291632$1@news.povray.org>
You're right, it should give you the correct values for the tangents.

It follows from the deCasteljau algorithm (do a google for it) which can be used to
compute positions and tangents on a bezier curve.

regards,
-sascha

Tim Nikias v2.0 wrote:
> [some complicated Math stuff abd derivative, Bernstein polynomials etc]
> SNIP
> 
>>I hope this helps.
> 
> 
> I did. Though that part about diffenciating the Bernstein polynomials, that
> was a little above my head. Still, the other approach works fine and seems
> to return actual normals, not just approximations. At least looks like that.
> 
> Regards and thanks a lot,
> Tim
>


Post a reply to this message

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