![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Can anyone tell me what's wrong with this prism? I've tried all I know
how to fix it, but pov tells me "too few points." Any help is
appreciated - i'm still learning how to do these prism things...
prism {
cubic_spline
0, .5, 14,
<.7, 1>, <.8, 1.1>, <1.15, 1.25>, <1.3, 1.1>, <1.3, .9>,
<1.29, .8>, <1.95, 2.0>, <1.2, 2.4>,
<1.3, 2.3>, <1.2, 1.9>, <.9, 2.0>, <.8, 2.1>,
<1.0, 1.7>, <1.15, 1.25>, <.7, 1>
rotate -90*x
texture { pigment { color Red } }
}
See ya...
Mike
Antispam: make whodu.edu->ou.edu
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Mike Faneros <fan### [at] whodu edu> wrote:
: Can anyone tell me what's wrong with this prism? I've tried all I know
: how to fix it, but pov tells me "too few points." Any help is
: appreciated - i'm still learning how to do these prism things...
: prism {
: cubic_spline
Section 7.5.2.8 of the povray documentation says:
In addition to the closed point sequence each cubic spline sub-prism needs
two control points to determine the slopes at the start and end of the curve.
: 0, .5, 14,
: <.7, 1>, <.8, 1.1>, <1.15, 1.25>, <1.3, 1.1>, <1.3, .9>,
: <1.29, .8>, <1.95, 2.0>, <1.2, 2.4>,
: <1.3, 2.3>, <1.2, 1.9>, <.9, 2.0>, <.8, 2.1>,
: <1.0, 1.7>, <1.15, 1.25>, <.7, 1>
You need a control point at the start and at the end of the point list.
--
- Warp. -
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |