POV-Ray : Newsgroups : povray.windows : Surface Coefficients??? : Re: Surface Coefficients??? Server Time
28 Jul 2024 18:20:51 EDT (-0400)
  Re: Surface Coefficients???  
From: Tristan Wibberley
Date: 11 Feb 1970 10:12:17
Message: <01bd36f6$c022c200$181657a8@W_tristan.gb.tandem.com>
Look at how the 4th order goes
extend to 5th

The numbers give which power of each of x, y and z are in each term.
To extend further, count down in base n (eg 6th order use base 6) from n00
to get each term.

4th and 5th		inserted for 5th only
			(delete three tabs before each)
x^	y	z^	x^	y^	z^
			5	0	0
			4	1	0
			4	0	0
4	0	0
			3	2	0
			3	1	1
3	1	0
			3	0	2
3	0	1
3	0	0
			2	3	0
			2	2	1
2	2	0
			2	1	2
2	1	1
2	1	0
			2	0	3
2	0	2
2	0	1
2	0	0
			1	4	0
			1	3	1
1	3	0
			1	2	2
1	2	1
1	2	0
			1	1	3
1	1	2
1	1	1
1	1	0
			1	0	4
1	0	3
1	0	2
1	0	1
1	0	0
			0	5	0
			0	4	1
0	4	0
			0	3	2
0	3	1
0	3	0
			0	2	3
0	2	2
0	2	1
0	2	0
			0	1	4
0	1	3
0	1	2
0	1	1
0	1	0
			0	0	5
0	0	4
0	0	3
0	0	2
0	0	1
0	0	0

-- 
Tristan Wibberley

(Remove the '.NO_LUNCHEON_MEAT' from my
email address to reply.)

Stephen Horn <hor### [at] osuedu> wrote in article
<34caf672.308033992@news.povray.org>...
| POV-Ray v3.02 can render up to 7th-degree polynomial surfaces.
| 
| The documentation does not say what the coefficents are in the order
| that they need to be in a poly{} statement.  They have great examples
| for quartics of degree 4, but for 5th, 6th, and 7th there is nothing
| in any of the help files or the documentation!
| 
| What are the surface coefficents in order???
| Thank you for your help!
| 
| 
| SteveH
|


Post a reply to this message

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