|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi,
I don't know whether this has been addressed but here goes. Using the
prism object I keep getting the parser error "Too few points in prism". This
happens either after inserting a prism object from the Insert menu or when I
edit one by hand.
Here is the insert menu code:
prism {
linear_sweep // or conic_sweep for tapering to a point
cubic_spline // linear_spline | quadratic_spline | cubic_spline
-0.5, // height 1
0.5, // height 2
10, // number of points
// the <u,v> points
< 0.2, -1.0>, < 0.2, 0.2>, < 1.0, -0.2>, < 1.0, 0.2>, < 0.2, 1.0>,
<-0.2, 1.0>, <-1.0, 0.2>, <-1.0, -0.2>, <-0.2, 0.2>, <-0.2, -1.0>
// [open]
// [sturm]
}
and my own code:
prism{
linear_sweep
cubic_spline
-1,1,7,
<0,0>,<0,2>,<1,2>,<2,2>,<2,1>,<2,0>,<0,0>
}
using Win95b
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"tcdev" <tde### [at] twcnyrrcom> wrote in message
news:3bb9f46a$1@news.povray.org...
> Hi,
> I don't know whether this has been addressed but here goes. Using the
> prism object I keep getting the parser error "Too few points in prism".
This
> happens either after inserting a prism object from the Insert menu or when
I
> edit one by hand.
Yes, it has been. The points aren't set up in a way to do anything
correctly other than linear_spline. For cubic_spline you will need to use
the second and second to last points as the end points, with the first and
last being only controls for the curvature along the spline.
There should be a change awaiting inclusion for the next beta.
Bob H.
> Here is the insert menu code:
> prism {
> linear_sweep // or conic_sweep for tapering to a point
> cubic_spline // linear_spline | quadratic_spline | cubic_spline
> -0.5, // height 1
> 0.5, // height 2
> 10, // number of points
> // the <u,v> points
> < 0.2, -1.0>, < 0.2, 0.2>, < 1.0, -0.2>, < 1.0, 0.2>, < 0.2, 1.0>,
> <-0.2, 1.0>, <-1.0, 0.2>, <-1.0, -0.2>, <-0.2, 0.2>, <-0.2, -1.0>
> // [open]
> // [sturm]
> }
>
> and my own code:
> prism{
> linear_sweep
> cubic_spline
> -1,1,7,
> <0,0>,<0,2>,<1,2>,<2,2>,<2,1>,<2,0>,<0,0>
> }
> using Win95b
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|