|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Folks:
If this turns out to be a multi-post, or multiple posts, I apologize. OE
crashed the first time through.
I am converting some dxf files to a povray triangle format. In doing so, I
have found some triangles which won't parse:
This one works.
triangle{
<-0.9 0.0 0.1>,
<0.0 0.1 -0.8>,
<0.1 -0.8 0.3>
}
This one doesn't.
triangle{
<-0.9 0.0 0.1>,
<0.0 0.1 -0.8>,
<0.1 -0.8 -0.3>
}
The only difference is the sign of z in the last vertex. The actual value
doesn't seem to matter. It parses if the sign is positive, and chokes if
the sign is negative It tells me "expected a numeric value, found a >
instead".
Shouldn't any three discrete points be a valid triangle? Any clues to what
is wrong (and how to fix it) would be appreciated.
TIA,
Alan Walkington
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
try seperating the values with commas
in the first example pov is probably trying to parse it as <0.0, 0.1-0.8,
missing value>
--
Kevin
http://www.geocities.com/qsquared_1999/
#macro _(r)#if(r<12)#local i=asc(substr("oqshilacefg"
,r,1))-97;disc{<mod(i,7)-3,div(i,7)-1,6>,z,.4
pigment{rgb 10}}_(r+1)#end#end _(1)//KL
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Yup .. you got it.
Thanks
Alan
"Kevin Loney" <klo### [at] pt2mcom> wrote in message
news:3eae0bf9$1@news.povray.org...
> try seperating the values with commas
>
> in the first example pov is probably trying to parse it as <0.0, 0.1-0.8,
> missing value>
>
> --
> Kevin
> http://www.geocities.com/qsquared_1999/
> #macro _(r)#if(r<12)#local i=asc(substr("oqshilacefg"
> ,r,1))-97;disc{<mod(i,7)-3,div(i,7)-1,6>,z,.4
> pigment{rgb 10}}_(r+1)#end#end _(1)//KL
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|