POV-Ray : Newsgroups : povray.general : Help to set this product on Pov-Ray : Re: Help to set this product on Pov-Ray Server Time
3 May 2024 14:14:47 EDT (-0400)
  Re: Help to set this product on Pov-Ray  
From: Alain
Date: 26 Dec 2017 17:03:11
Message: <5a42c71f$1@news.povray.org>
Le 17-12-25 à 19:47, Pablo a écrit :

> I tried too with the way you propose, Alain, but I have to say that I see it
> more difficult so I decided to continue the Bald Eagle's one. I whink I almost
> have it, the have the central part but now, my issue (what I thought that would
> be the easiest part)is the legs: I tried to do as a sphere sweep with 4 spheres
> that I calculated with a b_spline or cubic but the result it gave me hasn't no
> sense because it started and ended in someplace i haven't understand so i have
> decided to put a linear spline temporary until I have the correct texture and
> solve the problem with the sphere sweep. So I think I have the most work done
> (thank of you, Alain and Bald Eagle <3!haha)I am postings the resultsi have by
> now but I will post the final result when I will have it


A cubic_spline need to start and end with control points. Those points 
are not part of the visible spline. The part that you see start with the 
second point and end with the second to last point.
If you want a sharp bend, then, you need 3 points for that bend : The 
first in line with the segment going into the bend, then one at about 
the center of the bend, then one in line with the segment going away 
from the bend.

In your case, that mean a sphere_sweep with 7 or 8 points as follow :
1) start control point
2) effective start of the spline (you have it)
3) start of the sharp bend
4) middle of the sharp bend (you have it)
5) end of the sharp bend
6?) (optional) middle point of the long segment (you have it)
6 or 7) effective end of the spline (you have it)
7 or 8) end control point


Post a reply to this message

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