Skip to content

Commit a969d8f

Browse files
committed
[ci skip] Update docs.
1 parent 55afc36 commit a969d8f

File tree

10 files changed

+354
-222
lines changed

10 files changed

+354
-222
lines changed
Binary file not shown.

doc/html/r3_0.html

+23-5
Original file line numberDiff line numberDiff line change
@@ -289,19 +289,37 @@
289289
<td><div class="divh3"><a name="r3_2_8_6"></a><a title="3.2.8.6" href="r3_2.html#r3_2_8_6">BSP Bounding</a></div></td>
290290
</tr>
291291
<tr>
292-
<td><div class="divh3"><a name="r3_2_8_7"></a><a title="3.2.8.7" href="r3_2.html#r3_2_8_7">Anti-Aliasing Options</a></div></td>
292+
<td><div class="divh3"><a name="r3_2_8_7"></a><a title="3.2.8.7" href="r3_2.html#r3_2_8_7">Stochastic Seed</a></div></td>
293293
</tr>
294294
<tr>
295-
<td><div class="divh3"><a name="r3_2_8_8"></a><a title="3.2.8.8" href="r3_2.html#r3_2_8_8">Radiosity Options</a></div></td>
295+
<td><div class="divh3"><a name="r3_2_8_8"></a><a title="3.2.8.8" href="r3_2.html#r3_2_8_8">Anti-Aliasing Options</a></div></td>
296296
</tr>
297297
<tr>
298-
<td><div class="divh4"><a name="r3_2_8_8_1"></a><a title="3.2.8.8.1" href="r3_2.html#r3_2_8_8_1">Radiosity High Reproducibility</a></div></td>
298+
<td><div class="divh4"><a name="r3_2_8_8_1"></a><a title="3.2.8.8.1" href="r3_2.html#r3_2_8_8_1">Sampling Methods Synopsis</a></div></td>
299299
</tr>
300300
<tr>
301-
<td><div class="divh4"><a name="r3_2_8_8_2"></a><a title="3.2.8.8.2" href="r3_2.html#r3_2_8_8_2">Radiosity Load and Save</a></div></td>
301+
<td><div class="divh4"><a name="r3_2_8_8_2"></a><a title="3.2.8.8.2" href="r3_2.html#r3_2_8_8_2">Sampling Method 1</a></div></td>
302302
</tr>
303303
<tr>
304-
<td><div class="divh4"><a name="r3_2_8_8_3"></a><a title="3.2.8.8.3" href="r3_2.html#r3_2_8_8_3">Radiosity Vain Pretrace</a></div></td>
304+
<td><div class="divh4"><a name="r3_2_8_8_3"></a><a title="3.2.8.8.3" href="r3_2.html#r3_2_8_8_3">Sampling Method 2</a></div></td>
305+
</tr>
306+
<tr>
307+
<td><div class="divh4"><a name="r3_2_8_8_4"></a><a title="3.2.8.8.4" href="r3_2.html#r3_2_8_8_4">Sampling Method 3</a></div></td>
308+
</tr>
309+
<tr>
310+
<td><div class="divh4"><a name="r3_2_8_8_5"></a><a title="3.2.8.8.5" href="r3_2.html#r3_2_8_8_5">Common Properties</a></div></td>
311+
</tr>
312+
<tr>
313+
<td><div class="divh3"><a name="r3_2_8_9"></a><a title="3.2.8.9" href="r3_2.html#r3_2_8_9">Radiosity Options</a></div></td>
314+
</tr>
315+
<tr>
316+
<td><div class="divh4"><a name="r3_2_8_9_1"></a><a title="3.2.8.9.1" href="r3_2.html#r3_2_8_9_1">Radiosity High Reproducibility</a></div></td>
317+
</tr>
318+
<tr>
319+
<td><div class="divh4"><a name="r3_2_8_9_2"></a><a title="3.2.8.9.2" href="r3_2.html#r3_2_8_9_2">Radiosity Load and Save</a></div></td>
320+
</tr>
321+
<tr>
322+
<td><div class="divh4"><a name="r3_2_8_9_3"></a><a title="3.2.8.9.3" href="r3_2.html#r3_2_8_9_3">Radiosity Vain Pretrace</a></div></td>
305323
</tr>
306324
<tr>
307325
<td class="ContentsHeading"><div class="divh1"><a name="r3_3"></a><a title="3.3" href="r3_3.html#r3_3">Scene Description Language</a></div></td>

doc/html/r3_2.html

+228-135
Large diffs are not rendered by default.

doc/html/r3_3.html

+61-36
Large diffs are not rendered by default.

doc/html/r3_4.html

+5-14
Original file line numberDiff line numberDiff line change
@@ -493,17 +493,7 @@ <h4>3.4.1.3 Assumed_Gamma</h4>
493493
<a name="r3_4_1_4"></a>
494494
<div class="content-level-h4" contains="HF_Gray_16" id="r3_4_1_4">
495495
<h4>3.4.1.4 HF_Gray_16</h4>
496-
<p class="Note"><strong>Note:</strong> In version 3.7 the <code>hf_gray_16</code> keyword in the <code>global_settings</code> block has been deprecated. If encountered, it has no effect on the output type and will additionally generate a warning message.</p>
497-
498-
<p>However grayscale output can still be used to generate heightfields for use in other POV-Ray scenes, and now should be specified by using <code>Grayscale_Output=true</code> as an INI option, or <code>+Fxg</code> (for output type 'x') as a command-line option. For example, <code>+Fng</code> for PNG and <code>+Fpg</code> for PPM (effectively PGM) grayscale output. By default this option is off.</p>
499-
500-
<p>With <code>Grayscale_Output=true</code>, the <strong>output file</strong> will be in the form of a grayscale image that can be used to generate heightfields, because the height at any point is dependent on the brightness of the pixel. The brightness of a pixel is calculated in the same way that color images are converted to grayscale images:<em><code> height = 0.3 * red + 0.59 * green + 0.11 * blue</code></em>.</p>
501-
502-
<p>It should also be noted that setting the <code>Grayscale_Output=true</code> INI option will <strong>NOT</strong> cause the preview display, if used, to be grayscale rather than color. See the section <a href="r3_5.html#r3_5_1_1_5">Height Field</a> for a description of how POV-Ray heightfields are stored for each file type.</p>
503-
504-
<p class="Note"><strong>Note:</strong> Grayscale output implies the maximum bit-depth the format supports is 16, it is not valid to specify bits per color channel with 'g' (e.g. <code>+Fng16</code> is not allowed, and nor for that matter is <code>+Fn16g</code>). If bits per channel is provided via an INI option, it is ignored.</p>
505-
506-
<p>Currently PNG, and PPM are the only file formats that support grayscale output.</p>
496+
<p>A <font class="Change">Change</font> as of version 3.7 has deprecated the <code>hf_gray_16</code> keyword in the <code>global_settings</code> block. If encountered, it has no effect on the output type and will additionally generate a warning message. Grayscale output can still be used to generate heightfields for use in other POV-Ray scenes. See: <a href="r3_2.html#r3_2_4_1">Output File Type</a> for details.</p>
507497

508498
</div>
509499
<a name="r3_4_1_5"></a>
@@ -899,6 +889,7 @@ <h5>3.4.2.1.5 Up and Right Vectors</h5>
899889
visible. All viewing rays are perpendicular to the y-axis. For type 2 and 4,
900890
the cylinder lies along the <code>right</code> vector. Viewing rays for type
901891
4 are perpendicular to the <code>right</code> vector.</p>
892+
<p>See Also: <a href="r3_4.html#r3_4_2_1_6">Aspect Ratio</a></p>
902893
<p class="Note"><strong>Note:</strong> The <code>up</code>, <code>right</code>, and <code>direction</code> vectors should always remain perpendicular to each other or the image will be distorted. If this is not the case a warning message will be printed. The vista buffer will not work for non-perpendicular camera vectors.</p>
903894

904895
</div>
@@ -907,7 +898,7 @@ <h5>3.4.2.1.5 Up and Right Vectors</h5>
907898
<h5>3.4.2.1.6 Aspect Ratio</h5>
908899
<p>Together the <code>right</code> <em>(width)</em> and <code>up</code> <em>(height)</em> vectors define the <em>aspect ratio</em> of the resulting image.</p>
909900

910-
<p>A <font class="Change">Change</font> in version 3.8 redefines how the <code>right</code> vector default is derived. Previously a fixed value, it is now a calculated value that is based on the image width and height specified at render time. As usual, the image width and height can be specified from either the pull down menu available in <em>GUI</em> versions <em>ONLY</em> or the <code>+Wn</code> and <code>+Hn</code> command-line options available to <em>ALL</em> versions. This behavior is conditional upon the <em>last</em> effective <code>#version</code> directive before the camera definition. The default <code>up</code> vector remains as <code>&lt;0,1,0&gt;</code>.</p>
901+
<p>A <font class="Change">Change</font> in version 3.8 redefines how the <code>right</code> vector default is derived. The default setting is now <code>right &lt;image_width/image_height,0,0&gt;</code> as opposed to the <code>right &lt;1.33,0,0&gt;</code> value used in previous versions. Requires <code>#version 3.8;</code> or equivalent INI setting or command-line option. See also: <a href="r3_3.html#r3_3_2_5">Version Directive</a>. As usual, the image width and height can be specified from either the pull down menu available in <em>GUI</em> versions <em>ONLY</em> or the <code>+Wn</code> and <code>+Hn</code> command-line options available to <em>ALL</em> versions. The default <code>up</code> vector remains as <code>&lt;0,1,0&gt;</code>.</p>
911902

912903
<p>To retain legacy behavior see the example below:</p>
913904

@@ -2419,7 +2410,7 @@ <h6>3.4.3.3.3.13 recursion_limit</h6>
24192410
<a name="r3_4_3_3_4"></a>
24202411
<div class="content-level-h5" contains="Configuring Radiosity" id="r3_4_3_3_4">
24212412
<h5>3.4.3.3.4 Configuring Radiosity</h5>
2422-
<p>The following parameters deal with configuring radiosity and how it interacts with other features. See also these additional command line <a href="r3_2.html#r3_2_8_8">options</a> for more control.</p>
2413+
<p>The following parameters deal with configuring radiosity and how it interacts with other features. See also these additional command line <a href="r3_2.html#r3_2_8_9">options</a> for more control.</p>
24232414

24242415
</div>
24252416
<a name="r3_4_3_3_4_1"></a>
@@ -2459,7 +2450,7 @@ <h6>3.4.3.3.4.4 Normal and Radiosity</h6>
24592450
<div class="content-level-h6" contains="Save and Load Radiosity Data" id="r3_4_3_3_4_5">
24602451
<h6>3.4.3.3.4.5 Save and Load Radiosity Data</h6>
24612452
<p>In general, it is not a good idea to save and load radiosity data if scene objects are moving. Even after the data is loaded, more samples may be taken during the final rendering phase, particularly if you've specified <code>always_sample on</code>.</p>
2462-
<p class="Note"><strong>Note:</strong> The method to load and save radiosity data has been changed to a command line option. See section <a href="r3_2.html#r3_2_8_8_2">radiosity load and save</a> for more details.</p>
2453+
<p class="Note"><strong>Note:</strong> The method to load and save radiosity data has been changed to a command line option. See section <a href="r3_2.html#r3_2_8_9_2">radiosity load and save</a> for more details.</p>
24632454

24642455
</div>
24652456
<a name="r3_4_3_3_4_6"></a>

doc/html/r3_5.html

+7-4
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ <h5>3.5.1.1.5 Height Field</h5>
544544
[OBJECT_MODIFIER...]
545545
}
546546
HF_TYPE:
547-
exr | gif | hdr | iff | jpeg | pgm | png | pot | ppm | sys | tga | tiff
547+
exr | gif | hdr | jpeg | pgm | png | pot | ppm | sys | tga | tiff
548548
GAMMA:
549549
Float_Value | srgb | bt709 | bt2020
550550
HF_FUNCTION:
@@ -1148,7 +1148,9 @@ <h5>3.5.1.1.8 Lathe</h5>
11481148
<p>You should note that the number of spline segments, i. e. curves between two points, depends on the spline type used. For linear splines you get n-1 segments connecting the points P[i], i=1,...,n. A quadratic spline gives you n-2 segments because the last point is only used for determining the slope, as explained above (thus you will need at least three points to define a
11491149
quadratic spline). The same holds for cubic splines where you get n-3 segments with the first and last point used only for slope calculations (thus needing at least four points). The bezier spline requires 4 points per segment, creating n/4 segments.</p>
11501150
<p>If you want to get a closed quadratic and cubic spline with smooth transitions at the end points you have to make sure that in the cubic case P[n-1] = P[2] (to get a closed curve), P[n] = P[3] and P[n-2] = P[1] (to smooth the transition). In the quadratic case P[n-1] = P[1] (to close the curve) and P[n] = P[2].</p>
1151-
<p>The surface normal determination for lathes depends upon the order in which the splines points are specified. The following code will render with the color Red on the outside and the color Blue on the inside.</p>
1151+
<p>The surface normal determination for lathes depends upon the order in which the splines points are specified. For <code>interior_texture</code> to work as expected, the outline of the underlying 2D shape must be specified in counter-clockwise order, except for holes which must be specified in clockwise order, and they must not self-intersect.</p>
1152+
1153+
<p>The following code will render with the color Red on the outside and the color Blue on the inside.</p>
11521154
<pre>
11531155
#declare Lathe_InitialOrder = lathe {
11541156
bezier_spline
@@ -1469,7 +1471,9 @@ <h5>3.5.1.1.12 Prism</h5>
14691471
<p>The <code>bezier_spline</code> is an alternate kind of cubic spline. Points 1 and 4 specify the end points of a segment and points 2 and 3 are control points which specify the slope at the endpoints. Points 2 and 3 do not actually lie on the spline. They adjust the slope of the spline. If you draw an imaginary line between point 1 and 2, it represents the slope at point 1. It is a line tangent to the curve at point 1. The greater the distance between 1 and 2, the flatter the curve. With a short tangent the spline can bend more. The same holds true for control point 3 and endpoint 4. If you want the spline to be smooth between segments, point 3 and 4 on one segment and point 1 and 2 on the next segment must form a straight line and point 4 of one segment must be the same as point one on the next segment.</p>
14701472
<p>By default linear sweeping is used to create the prism, that is, the prism's walls are perpendicular to the x-z plane. The size of the curve does not change during the sweep. You can also use <code>conic_sweep</code> that leads to a prism with cone-like walls by scaling the curve down during the sweep.</p>
14711473
<p>Like cylinders the prism is normally closed. You can remove the caps on the prism by using the <code>open</code> keyword. If you do, you should not use it in CSG operations, because the result may not be as expected.</p>
1472-
<p>The surface normal determination for prism sides depends upon the order in which the splines points are specified. Prism ends have normals which face outward at one end and inward at the other end. The following code will render sides with the color Red on the outside and the color Blue on the inside.</p>
1474+
<p>The surface normal determination for prism sides depends upon the order in which the splines points are specified. Prism ends have normals which face outward at one end and inward at the other end. For <code>interior_texture</code> to work as expected, the outline of the underlying 2D shape must be specified in counter-clockwise order, except for holes which must be specified in clockwise order, and they must not self-intersect.</p>
1475+
1476+
<p>The following code will render sides with the color Red on the outside and the color Blue on the inside.</p>
14731477
<pre>
14741478
#declare Prism_InitialOrder = prism {
14751479
linear_spline
@@ -1492,7 +1496,6 @@ <h5>3.5.1.1.12 Prism</h5>
14921496
}
14931497
</pre>
14941498
<p>The actual normal determination is more complicated for complex splines. If the surface normal is important to the visual result, it is best to check how the prism is being rendered by testing with substantially different inside and outside textures.</p>
1495-
<p>There is presently a inconsistency with the bezier spline mode of the prism in that the point order with respect to side surface normals is reversed from all other prism spline types. The behavior of the bezier spline prism will likely be aligned with the other spline types in a later release. Further end behavior may be made consistent for all spline types.</p>
14961499
<p>If additional accuracy is required you can add the <code><a href="r3_5.html#r3_5_1_5_11">sturm</a></code> object modifier.</p>
14971500
<p>For an explanation of the spline concept read the description for the <a href="r3_5.html#r3_5_1_1_8">Lathe</a> object.</p>
14981501
<p>See also the tutorials on <a href="t2_3.html#t2_3_1_1">Lathe</a> and <a href="t2_3.html#t2_3_1_3">Prism</a> objects.</p></div>

0 commit comments

Comments
 (0)