|
|
Code
------------------------------
#local XS=6500/258;
#local YS=-6500/258;
prism
{ conic_sweep
cubic_spline
0.0769,
1.0000,
15,
< 93*XS, 6*YS>, <74*XS, -9*YS>, <46*XS, -17*YS>, <-7*XS, -
19*YS>,
<-80*XS,-10*YS>, <-150*XS, 3*YS>, <-171*XS, 7*YS>, <-165*XS,
9*YS>,
<-138*XS, 11*YS>, <-41*XS, 7*YS>, <-10*XS, 20*YS>, <30*XS, 19*YS>,
<68*XS, 16*YS>, <90*XS, 11*YS>, < 93*XS, 6*YS>
rotate x*90
translate x
scale <1, 16.79124689, 1>
texture { BLUE_F }
}
------------------------------
I am being told there are too few points in this prism? As far as I can
tell I have exactly 15. Am I missing something with prisms? (like a clue
maybe?)
Post a reply to this message
|
|
|
|
> I am being told there are too few points in this prism? As far as I can
> tell I have exactly 15. Am I missing something with prisms? (like a clue
> maybe?)
When you use a cubic_spline for a prism, the second vector in the list must
match the second to last vector in the list. (For a smooth transition all
the way around, the first vector should match the third-to-last vector and
the third vector should match the last vector, also.)
For more information on your exact problem see "2.3.1.3.1 Teaching An Old
Spline New Tricks" in the documentation.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
|
|
|
"Slime" <fak### [at] emailaddress> wrote in news:413506eb$1@news.povray.org:
> When you use a cubic_spline for a prism, the second vector in the list
> must match the second to last vector in the list. (For a smooth
> transition all the way around, the first vector should match the
> third-to-last vector and the third vector should match the last
> vector, also.)
>
Argh.. gotcha mumble mumble
> For more information on your exact problem see "2.3.1.3.1 Teaching An
> Old Spline New Tricks" in the documentation.
Thanks I appreciate not having to beat a dead dog :)
Stephen
Post a reply to this message
|
|
|
|
"Slime" <fak### [at] emailaddress> wrote in message
news:413506eb$1@news.povray.org...
...
>... (For a smooth transition all
> the way around, the first vector should match the third-to-last vector and
> the third vector should match the last vector, also.)
>
That's good to know as well. I suppose it makes perfect sense now that I
really think about it, but I guess I never really thought about it before,
and would generally just try to hide the beginning and ending somewhere not
visible.
I feel slightly smarter now.
--
Jeremy
www.beantoad.com
Post a reply to this message
|
|