POV-Ray : Newsgroups : povray.binaries.utilities : Addition to pov3tmpl.txt for polys of order 6 and 7 Server Time
1 Nov 2024 11:17:39 EDT (-0400)
  Addition to pov3tmpl.txt for polys of order 6 and 7 (Message 1 to 1 of 1)  
From: Ronald L  Parker
Subject: Addition to pov3tmpl.txt for polys of order 6 and 7
Date: 11 Feb 1998 11:01:10
Message: <34e3c92d.10519145@10.0.2.33>
@com.============================================================
@com. Someone over in another group asked for a list of the 
@com. coefficients for polys of order greater than 5.  This 
@com. snippet of text is designed to be added to pov3tmpl.txt 
@com. so Mac and Windows users will have the order at their
@com. fingertips.  Just take the body of this article and paste 
@com. it into your pov3tmpl.txt, right before the final "@@@@" 
@com. line.  Note: yes, I know the template file already includes
@com. orders 2-5.  They're repeated here for completeness.  If you
@com. don't like that, cut them out.
@com.============================================================
@mt1.Polynomials
@com.============================================================
@com.Templates for polys, quartics, cubics, and quadrics
@com.Ronald L. Parker, parkerr@mail.fwi.com, 11 Feb 1998
@com.------------------------------
@mt2.Poly of order 7

poly { 7, <
  0, /* x7 */
  0, /* x6y */
  0, /* x6z */
  0, /* x6 */
  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
> }
@com.------------------------------
@mt2.Poly of order 6

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
> }
@com.------------------------------
@mt2.Poly of order 5

poly { 5, <
  0, /* x5 */
  0, /* x4y */
  0, /* x4z */
  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
> }
@com.------------------------------
@mt2.Quartic

quartic { <
  0, /* x4 */
  0, /* x3y */
  0, /* x3z */
  0, /* x3 */
  0, /* x2y2 */
  0, /* x2yz */
  0, /* x2y */
  0, /* x2z2 */
  0, /* x2z */
  0, /* x2 */
  0, /* xy3 */
  0, /* xy2z */
  0, /* xy2 */
  0, /* xyz2 */
  0, /* xyz */
  0, /* xy */
  0, /* xz3 */
  0, /* xz2 */
  0, /* xz */
  0, /* x */
  0, /* y4 */
  0, /* y3z */
  0, /* y3 */
  0, /* y2z2 */
  0, /* y2z */
  0, /* y2 */
  0, /* yz3 */
  0, /* yz2 */
  0, /* yz */
  0, /* y */
  0, /* z4 */
  0, /* z3 */
  0, /* z2 */
  0, /* z */
  0
> }
@com.------------------------------
@mt2.Cubic

cubic { <
  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
> }
@com.------------------------------
@mt2.Quadric
quadric { <
  0, /* x2 */
  0, /* y2 */
  0, /* z2 */
  >, <
  0, /* xy */
  0, /* xz */
  0, /* yz */
  >, <
  0, /* x */
  0, /* y */
  0, /* z */
  >,
  0
}


Post a reply to this message

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