|
|
Warp wrote:
>m1j <mik### [at] hotmailcom> wrote:
>> Does povray have a built in function to calculate the norm of a triangle
>> from 3 vectors?
>
> vcross(Vertex2-Vertex1, Vertex3-Vertex1)
>
>> If not how whould I do this. I am not finding or understanding how to do
>> this.
>
> Some high-school level math book is very useful for these things...
It has been over 12 years for me and this I do not remember in my math.
Would have been nice. But thanks all for the help. I thought that vcross
was for this but my brain just was not putting every thing together.
>
>#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
>N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
>N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
>
Post a reply to this message
|
|