|
|
Thanks a lot! That brings me closer to understanding the problem :)
I still have trouble converting it into a working solution for the spline that I
actually want. So, if you don't mind, here's another -- less minimal -- example:
#version 3.7;
camera {
location <-1, 2, -4>
look_at <-0, 0, 0>
}
lathe {
cubic_spline
7,
<0, -20>, <1, -20>,
<0.5, -10>, <0.1, 0>, <0.5, 10>,
<1, 20>, <0, 20>
hollow
pigment { rgbf 1 }
interior { media { emission <1, 1, 1> } }
rotate <0, 0, 90>
}
What I still don't quite get is this: Why is the problem occurring where it
occurs? Or better -- if it's solvable by inserting more points -- how do I know
where to insert them?
Also, I would need to know where on the spline the inserted points need to be.
For the cylinder, this was trivial. Now, I could calculate values on a spline
(for instance, using scipy.interpolate.spline) and insert those. But I haven't
really wrapped my mind around this idea, since I'd assume the spline algorithm
in povray would do exactly the same already!?
Post a reply to this message
|
|