POV-Ray : Newsgroups : povray.text.tutorials : poly object templates Server Time
23 Nov 2024 21:19:47 EST (-0500)
  poly object templates (Message 1 to 4 of 4)  
From: david sharp
Subject: poly object templates
Date: 23 May 1999 15:40:05
Message: <37483D55.4260@interport.net>
Templates for POV-Ray poly{} objects, meant for 
cutnpasting into scene files. These are all prefilled 
with 0's  and labels to make it easier find and fill 
in the appropriate polynomial coefficients. 

The numbers in the labels are all exponents. 
i.e. /*y2z3*/ represents y^2 z^3

For example
       x^2 + xz- 5x + y^2 - 1 = 0
becomes:
     poly{2,
     <
     1 /*x2*/,   0 /*xy*/,   1 /*xz*/,   -5 /*x*/,   1 /*y2*/,
     0 /*yz*/,   0 /*y*/,    0 /*z2*/,    0 /*z*/,  -1 /*constant*/
     >
     sturm
     }


/* -------- the templates ----------------------------------------------
*/

poly{2,
<
0 /*x2*/,       0 /*xy*/,       0 /*xz*/,       0 /*x*/,        0
/*y2*/, 
0 /*yz*/,       0 /*y*/,        0 /*z2*/,       0 /*z*/,        0
/*constant*/
>
sturm
}

poly{3,
<
0 /*x3*/,       0 /*x2y*/,      0 /*x2z*/,      0 /*x2*/,       0
/*xy2*/, 
0 /*xyz*/,      0 /*xy*/,       0 /*xz2*/,      0 /*xz*/,       0 /*x*/,
0 /*y3*/,       0 /*y2z*/,      0 /*y2*/,       0 /*yz2*/,      0
/*yz*/, 
0 /*y*/,        0 /*z3*/,       0 /*z2*/,       0 /*z*/,        0
/*constant*/
>
sturm
}

poly{4,
<
0 /*x4*/,       0 /*x3y*/,      0 /*x3z*/,      0 /*x3*/,       0
/*x2y2*/, 
0 /*x2yz*/,     0 /*x2y*/,      0 /*x2z2*/,     0 /*x2z*/,      0
/*x2*/, 
0 /*xy3*/,      0 /*xy2 z*/,    0 /*xy2*/,      0 /*xyz2*/,     0
/*xyz*/, 
0 /*xy*/,       0 /*xz3*/,      0 /*xz2*/,      0 /*x z*/,      0 /*x*/, 
0 /*y4*/,       0 /*y3 z*/,     0 /*y3*/,       0 /*y2z2*/,     0
/*y2z*/, 
0 /*y2*/,       0 /*yz3*/,      0 /*yz2*/,      0 /*y z*/,      0 /*y*/, 
0 /*z4*/,       0 /*z3*/,       0 /*z2*/,       0 /*z*/,        0
/*constant*/
>
sturm
}

poly{ 5,
<
0 /*x5*/,       0 /*x4y*/,      0 /*A3x4z*/,    0 /*x4*/,       0
/*x3y2*/, 
0 /*x3yz*/,     0 /*x3y*/,      0 /*x3z2*/,     0 /*x3z*/,      0
/*x3*/, 
0 /*x2y3*/,     0 /*x2y2z*/,    0 /*x2y2*/,     0 /*x2yz2*/,    0
/*x2yz*/, 
0 /*x2y*/,      0 /*x2z3*/,     0 /*x2z2*/,     0 /*x2z*/,      0
/*x2*/, 
0 /*xy4*/,      0 /*xy3z*/,     0 /*xy3*/,      0 /*xy2z2*/,    0
/*xy2z*/, 
0 /*xy2*/,      0 /*xyz3*/,     0 /*xyz2*/,     0 /*xyz*/,      0
/*xy*/, 
0 /*xz4*/,      0 /*xz3*/,      0 /*xz2*/,      0 /*xz*/,       0 /*x*/, 
0 /*y5*/,       0 /*y4z*/,      0 /*y4*/,       0 /*y3z2*/,     0
/*y3z*/,
0 /*y3*/,       0 /*y2z3*/,     0 /*y2z2*/,     0 /*y2z*/,      0
/*y2*/, 
0 /*yz4*/,      0 /*yz3*/,      0 /*yz2*/,      0 /*yz*/,       0 /*y*/, 
0 /*z5*/,       0 /*z4*/,       0 /*z3*/,       0 /*z2*/,       0 /*z*/, 
0 /*constant*/
>
sturm
}


poly{ 6,
<
0 /*x6*/,       0 /*x5y*/,      0 /*x5z*/,      0 /*x5*/,       0
/*x4y2*/,
0 /*x4yz*/,     0 /*x4y*/,      0 /*x4z2*/,     0 /*x4z*/,      0
/*x4*/, 
0 /*x3y3*/,     0 /*x3y2z*/,    0 /*x3y2*/,     0 /*x3yz2*/,    0
/*x3yz*/, 
0 /*x3y*/,      0 /*x3z3*/,     0 /*x3z2*/,     0 /*x3z*/,      0
/*x3*/,
0 /*x2y4*/,     0 /*x2y3z*/,    0 /*x2y3*/,     0 /*x2y2z2*/,   0
/*x2y2z*/,
0 /*x2y2*/,     0 /*x2yz3*/,    0 /*x2yz2*/,    0 /*x2yz*/,     0
/*x2y*/,
0 /*x2z4*/,     0 /*x2z3 */,    0 /*x2z2*/,     0 /*x2z*/,      0
/*x2*/,
0 /*xy5 */,     0 /*xy4z*/,     0 /*xy4*/,      0 /*xy3z2*/,    0
/*xy3z*/,
0 /*xy3*/,      0 /*xy2z3*/,    0 /*xy2z2*/,    0 /*xy2z*/,     0
/*xy2*/, 
0 /*xyz4*/,     0 /*xyz3*/,     0 /*xyz2*/,     0 /*xyz*/,      0
/*xy*/, 
0 /*xz5*/,      0 /*xz4*/,      0 /*xz3*/,      0 /*xz2*/,      0
/*xz*/,  
0 /*x*/,        0 /*y6*/,       0 /*y5z*/,      0 /*y5*/,       0
/*y4z2*/, 
0 /*y4z*/,      0 /*y4*/,       0 /*y3z3*/,     0 /*y3z2*/,     0
/*y3z*/, 
0 /*y3*/,       0 /*y2z4*/,     0 /*y2z3*/,     0 /*y2z2*/,     0
/*y2z*/, 
0 /*y2*/,       0 /*yz5*/,      0 /*yz4*/,      0 /*yz3*/,      0
/*yz2*/, 
0 /*yz*/,       0 /*y*/,        0 /*z6*/,       0 /*z5*/,       0
/*z4*/,
0 /*z3*/,       0 /*z2*/,       0 /*z*/,        0 /*constant*/
>
sturm
}

poly{7,
<
0 /*x7*/,       0 /*x6y*/,      0 /*x5z*/,      0 /*x5*/,       0
/*x5y2*/,
0 /*x5yz*/,     0 /*x5y*/,      0 /*x5z2*/,     0 /*x5z*/,      0
/*x5*/, 
0 /*x4y3*/,     0 /*x4y2z*/,    0 /*x4y2*/,     0 /*x4yz2*/,    0
/*x4yz*/,
0 /*x4y*/,      0 /*x4z3*/,     0 /*x4z2*/,     0 /*x4z*/,      0
/*x4*/,
0 /*x3y4*/,     0 /*x3y3z*/,    0 /*x3y3*/,     0 /*x3y2z2*/,   0
/*x3y2z*/,
0 /*x3y2*/,     0 /*x3yz3*/,    0 /*x3yz2*/,    0 /*x3yz*/,     0
/*x3y*/,
0 /*x3z4*/,     0 /*x3z3*/,     0 /*x3z2*/,     0 /*x3z*/,      0
/*x3*/,
0 /*x2y5*/,     0 /*x2y4z*/,    0 /*x2y4*/,     0 /*x2y3z2*/,   0
/*x2y3z*/,
0 /*x2y3*/,     0 /*x2y2z3*/,   0 /*x2y2z2*/,   0 /*x2y2z*/,    0
/*x2y2*/,
0 /*x2yz4*/,    0 /*x2yz3*/,    0 /*x2yz2*/,    0 /*x2yz*/,     0
/*x2y*/,
0 /*x2z5*/,     0 /*x2z4*/,     0 /*x2z3*/,     0 /*x2z2*/,     0
/*x2z*/,
0 /*x2*/,       0 /*xy6*/,      0 /*xy5z*/,     0 /*xy5*/,      0
/*xy4z2*/,
0 /*xy4z*/,     0 /*xy4*/,      0 /*xy3z3*/,    0 /*xy3z2*/,    0
/*xy3z*/,
0 /*xy3*/,      0 /*xy2z4*/,    0 /*xy2z3*/,    0 /*xy2z2*/,    0
/*xy2z*/,
0 /*xy2*/,      0 /*xyz5*/,     0 /*xyz4*/,     0 /*xyz3*/,     0
/*xyz2*/,
0 /*xyz*/,      0 /*xy*/,       0 /*xz6*/,      0 /*xz5*/,      0
/*xz4*/,
0 /*xz3*/,      0 /*xz2*/,      0 /*xz*/,       0 /*x*/,        0
/*y7*/,
0 /*y6z*/,      0 /*y6*/,       0 /*y5z2*/,     0 /*y5z*/,      0
/*y5*/,
0 /*y4z3*/,     0 /*y4z2*/,     0 /*y4z*/,      0 /*y4*/,       0
/*y3z4*/,
0 /*y3z3*/,     0 /*y3z2*/,     0 /*y3z*/,      0 /*y3*/,       0
/*y2z5*/,
0 /*y2z4*/,     0 /*y2z3*/,     0 /*y2z2*/,     0 /*y2z*/,      0
/*y2*/,
0 /*yz6*/,      0 /*yz5*/,      0 /*yz4*/,      0 /*yz3*/,      0
/*yz2*/,
0 /*yz*/,       0 /*y*/,        0 /*z7*/,       0 /*z6*/,       0
/*z5*/, 
0 /*z4*/,       0 /*z3*/,       0 /*z2*/,       0 /*z*/,        0
/*constant*/
>
sturm
}


Post a reply to this message

From: Ken
Subject: Re: poly object templates
Date: 23 May 1999 19:00:44
Message: <37487A3A.BD23637B@pacbell.net>
david sharp wrote:
> 
> Templates for POV-Ray poly{} objects, meant for
> cutnpasting into scene files. These are all prefilled
> with 0's  and labels to make it easier find and fill
> in the appropriate polynomial coefficients.

  This is a very useful contribution. Thank you for contributing it
to the people here.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: david sharp
Subject: Re: poly object templates
Date: 13 Jan 2000 12:56:42
Message: <387e11da@news.povray.org>
david sharp <dsh### [at] interportnet> wrote in message
news:374### [at] interportnet...
> Templates for POV-Ray poly{} objects, meant for
> cutnpasting into scene files. These are all prefilled
> with 0's  and labels to make it easier find and fill
> in the appropriate polynomial coefficients.

I just put a fixed version in binaries.tutorials.
(There was an error in the poly{7} labels).
These are now ready to be put into the Insert Menu
folder.


Post a reply to this message

From: david sharp
Subject: Re: poly object templates
Date: 13 Jan 2000 13:12:43
Message: <387e159b@news.povray.org>
> I just put a fixed version in binaries.tutorials.

They actually landed in binaries.utilities


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.