![](/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) |
Had to make sure it all worked.
Many changes to triangulation.inc
Probably close to a final version in this archive.
image in p.b.images
Post a reply to this message
Attachments:
Download 'pov_triangle.zip' (23 KB)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"alphaQuad" <alp### [at] earthlink net> wrote:
> Had to make sure it all worked.
> Many changes to triangulation.inc
> Probably close to a final version in this archive.
>
> image in p.b.images
So, what am I doing wrong?
Input file: C:pov_triangletriangle.pov (compatible to version 3.61)
Line: 16
#declare p4 = p2+vnormalize(p1-p2)* asa_sin(radang3
Parse Error: Expected 'numeric expression', undeclared identifier 'radang3'
found instead
There are probably 6 lines missing this same identifier,
the actual statement in the files reads like this:
#declare p4 = p2+vnormalize(p1-p2)* asa_sin(radang3(p1,p2,ic),
vlength(ic-p2),(pi/2)-radang3(p1,p2,ic));
Leef_me
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) |
Leef_me nous apporta ses lumieres en ce 2007/10/16 18:10:
> "alphaQuad" <alp### [at] earthlink net> wrote:
>> Had to make sure it all worked.
>> Many changes to triangulation.inc
>> Probably close to a final version in this archive.
>>
>> image in p.b.images
>
>
> So, what am I doing wrong?
>
>
> Input file: C:pov_triangletriangle.pov (compatible to version 3.61)
>
> Line: 16
>
> #declare p4 = p2+vnormalize(p1-p2)* asa_sin(radang3
> Parse Error: Expected 'numeric expression', undeclared identifier 'radang3'
> found instead
>
>
> There are probably 6 lines missing this same identifier,
> the actual statement in the files reads like this:
>
>
> #declare p4 = p2+vnormalize(p1-p2)* asa_sin(radang3(p1,p2,ic),
> vlength(ic-p2),(pi/2)-radang3(p1,p2,ic));
>
> Leef_me
>
radang3 is not deffined.
radang3 is not one of the predeffined functions, so it MUST be deffined in the
POV file or an include.
Is it deffined in an include file? Is that include actualy included?
Look before line 16. Is there ANY #function radang3 = <something>?
--
Alain
-------------------------------------------------
You know you've been raytracing too long when you look at a matrix transform and
know instantly what it does.
John VanSickle
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) |
"Leef_me" <nomail@nomail> wrote:
> "alphaQuad" <alp### [at] earthlink net> wrote:
> > Had to make sure it all worked.
> > Many changes to triangulation.inc
> > Probably close to a final version in this archive.
> >
> > image in p.b.images
>
>
> So, what am I doing wrong?
radang3(A,B,C) is only in the the most recent archive.
to date, this is the most recent.
the latest include file IS in the archive.
so dont use an older file version.
pov will look for this include in the same directory as the pov file.
well, it does here at least.
If you are really having folder problems you can always paste functions to
file.
Cant think of anything else that will help, but you probably figured it out
by now. Alain seems good at question catching devotion. Thanks Alain
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) |
"Leef_me" <nomail@nomail> wrote:
> "alphaQuad" <alp### [at] earthlink net> wrote:
> > Had to make sure it all worked.
> > Many changes to triangulation.inc
> > Probably close to a final version in this archive.
> >
> > image in p.b.images
>
>
> So, what am I doing wrong?
hmmmm
I messed up somehow, it seems and the function was not included
#macro radang3(A,B,C)
#declare result =
acos(_clamp(vdot(vnormalize(A-B),vnormalize(C-B)), -1.0, 1.0));
result
#end
here is the new archive 23,216 bytes
perfection is only a concept, not a reality
Post a reply to this message
Attachments:
Download 'pov_triangle.zip' (23 KB)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"alphaQuad" <alp### [at] earthlink net> wrote:
> "Leef_me" <nomail@nomail> wrote:
> > "alphaQuad" <alp### [at] earthlink net> wrote:
> > > Had to make sure it all worked.
> > > Many changes to triangulation.inc
> > > Probably close to a final version in this archive.
> > >
> > > image in p.b.images
> >
> >
> > So, what am I doing wrong?
> hmmmm
>
> I messed up somehow, it seems and the function was not included
>
> #macro radang3(A,B,C)
> #declare result =
> acos(_clamp(vdot(vnormalize(A-B),vnormalize(C-B)), -1.0, 1.0));
> result
> #end
>
> here is the new archive 23,216 bytes
>
> perfection is only a concept, not a reality
You got it fixed now.
Leef_me
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) |