Difference between revisions of "User talk:Jholsenback"
Jholsenback (talk | contribs) m (housekeeping) |
m (Removed question on potential documentation... Apparently me confused.) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 29: | Line 29: | ||
<li>{{Done}} The <code>max_extent</code> function as used to determine the size of an image map in pixels can now also be used on normal maps and density files</li> | <li>{{Done}} The <code>max_extent</code> function as used to determine the size of an image map in pixels can now also be used on normal maps and density files</li> | ||
<li>{{Done}} Macros up to a certain size (currently hard-coded to 65536 characters per macro) are now cached in memory, improving parsing speed of invocations especially when the macro in question is defined in a different file</li> | <li>{{Done}} Macros up to a certain size (currently hard-coded to 65536 characters per macro) are now cached in memory, improving parsing speed of invocations especially when the macro in question is defined in a different file</li> | ||
− | <li>All instances of <code>gray</code> in keywords or INI file options can now alternatively be spelled <code>grey</code>. Previously this was only the case inside function definitions where it applied only to the <code>.gray</code> color pseudo-component</li> | + | <li>{{Done}} All instances of <code>gray</code> in keywords or INI file options can now alternatively be spelled <code>grey</code>. Previously this was only the case inside function definitions where it applied only to the <code>.gray</code> color pseudo-component [[Documentation:Tutorial Section 1#Changes and New Features Summary|See-It]]</li> |
<li>{{Done}} A new inbuilt constant <code>tau</code> has been added</li> | <li>{{Done}} A new inbuilt constant <code>tau</code> has been added</li> | ||
<li>{{Done}} The <code>#declare</code> and <code>#local</code> syntax has been extended to support tuple-style assignments. | <li>{{Done}} The <code>#declare</code> and <code>#local</code> syntax has been extended to support tuple-style assignments. | ||
− | + | [[Reference:Declare and Local Directives|See-It]]</li> | |
<li>{{Done}} The macro syntax has been extended to allow for <code>optional</code> parameters</li> | <li>{{Done}} The macro syntax has been extended to allow for <code>optional</code> parameters</li> | ||
<li>{{Done}} The creation of a log for the <code>+C</code> render abort-continue feature can now be suppressed using <code>-CC</code> to save disk space</li> | <li>{{Done}} The creation of a log for the <code>+C</code> render abort-continue feature can now be suppressed using <code>-CC</code> to save disk space</li> | ||
Line 51: | Line 51: | ||
=====Image Files===== | =====Image Files===== | ||
<ol> | <ol> | ||
− | <li>By default, gamma handling of NetPBM (PPM/PGM) in and output files now follows the official NetBPM standard, which mandates gamma-encoding using the ITU-R BT.709 transfer function. As usual this can be overridden by the <code>gamma</code> input file parameter or <code>File_Gamma</code> INI setting, respectively | + | <li>{{Done}} By default, gamma handling of NetPBM (PPM/PGM) in and output files now follows the official NetBPM standard, which mandates gamma-encoding using the ITU-R BT.709 transfer function. As usual this can be overridden by the <code>gamma</code> input file parameter or <code>File_Gamma</code> INI setting, respectively</li> |
− | + | <li>{{Done}} The <em>Compression</em> setting now affects more file types: Specifying <code>Compression=1</code> with file type <code>T</code> (Targa) will now generate compressed Targa (same as file type <code>C</code>), and explicitly specifying <code>Compression=0</code> with file type <code>P</code> (Netpbm PPM/PGM) will generate <em>plain</em> (ASCII) Netpbm rather than <em>raw</em> (binary)</li> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | <li>The <em>Compression</em> setting now affects more file types: Specifying <code>Compression=1</code> with file type <code>T</code> (Targa) will now generate compressed Targa (same as file type <code>C</code>), and explicitly specifying <code>Compression=0</code> with file type <code>P</code> (Netpbm PPM/PGM) will generate <em>plain</em> (ASCII) Netpbm rather than | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<li>POV-Ray will now try to auto-detect whether an input TIFF file with alpha channel uses <code>premultiplied</code> or <em>non-premultiplied</em> alpha mode, rather than blindly presuming <code>premultiplied</code> alpha</li> | <li>POV-Ray will now try to auto-detect whether an input TIFF file with alpha channel uses <code>premultiplied</code> or <em>non-premultiplied</em> alpha mode, rather than blindly presuming <code>premultiplied</code> alpha</li> | ||
− | <li>The interaction of <code>transmit all</code> and <code>filter all</code> with an image's alpha channel has been changed to be more intuitive: rather than adding the image's transparency to the user-specified transparency, the image's opacity is now effectively multiplied with the user-specified opacity. (requires <code>#version 3.71</code> or later) | + | <li>{{Done}} The interaction of <code>transmit all</code> and <code>filter all</code> with an image's alpha channel has been changed to be more intuitive: rather than adding the image's transparency to the user-specified transparency, the image's opacity is now effectively multiplied with the user-specified opacity. (requires <code>#version 3.71</code> or later)</li> |
− | |||
− | |||
− | |||
<li>The image file format previously referred to as <em>IFF</em> (now more precisely referred to as <em>IFF-ILBM</em>) is now associated with the <code>.lbm</code> file extension in addition to the <code>.iff</code> extension | <li>The image file format previously referred to as <em>IFF</em> (now more precisely referred to as <em>IFF-ILBM</em>) is now associated with the <code>.lbm</code> file extension in addition to the <code>.iff</code> extension | ||
Line 83: | Line 68: | ||
<p>The focus of this change was correcting unix console messages. There was previously no notice 'p' and 'q' were active for +D renders. The final pause, if using +P, had always incorrectly said hitting any key would continue/quit when only 'q', enter or detecting on the SDL window would. Enabling 'p' to also continue from the final pause in addition to mid render ones makes 'p' operation consistent throughout the render (and it was cleaner code-wise). Forgot to mention yesterday this change is self-documenting due the prompts to the console changing to reflect it.</p> | <p>The focus of this change was correcting unix console messages. There was previously no notice 'p' and 'q' were active for +D renders. The final pause, if using +P, had always incorrectly said hitting any key would continue/quit when only 'q', enter or detecting on the SDL window would. Enabling 'p' to also continue from the final pause in addition to mid render ones makes 'p' operation consistent throughout the render (and it was cleaner code-wise). Forgot to mention yesterday this change is self-documenting due the prompts to the console changing to reflect it.</p> | ||
− | <li>The <code>version</code> pseudo-variable will now evaluate to the effective language version at the time the expression is parsed, <em>except</em> when used in a <code>#version</code> directive, in which case the behavior remains unchanged. The requirement to start each scene with a <code>#version</code> statement is now more strongly enforced for POV-Ray 3.7 scenes. An error is reported if the scene file <em>does not begin</em> with a <code>#version</code> directive but <em>does</em> have a <code>#version 3.71</code> (or later) directive anywhere in the main scene file | + | <li>{{Done}} The <code>version</code> pseudo-variable will now evaluate to the effective language version at the time the expression is parsed, <em>except</em> when used in a <code>#version</code> directive, in which case the behavior remains unchanged. The requirement to start each scene with a <code>#version</code> statement is now more strongly enforced for POV-Ray 3.7 scenes. An error is reported if the scene file <em>does not begin</em> with a <code>#version</code> directive but <em>does</em> have a <code>#version 3.71</code> (or later) directive anywhere in the main scene file</li> |
− | + | <li>Using <code>ambient</code> with a suspiciously high value in a non-legacy scene will now issue a warning, unless <code>emission</code> is also specified</li> | |
− | |||
− | |||
− | <li> Using <code>ambient</code> with a suspiciously high value in a non-legacy scene will now issue a warning, unless <code>emission</code> is also specified</li> | ||
<li>A long-standing undocumented inconsistency in the treatment of backslashes in string literals, in which backslashes were essentially <em>not</em> interpreted as escape characters <em>if</em> the parser expected a filename, has been cleaned up. Backslashes are now treated as escape characters in all string literals. <em>requires</em> <code>#version 3.71</code> or later | <li>A long-standing undocumented inconsistency in the treatment of backslashes in string literals, in which backslashes were essentially <em>not</em> interpreted as escape characters <em>if</em> the parser expected a filename, has been cleaned up. Backslashes are now treated as escape characters in all string literals. <em>requires</em> <code>#version 3.71</code> or later | ||
Line 98: | Line 80: | ||
<ol> | <ol> | ||
<li>{{Done}} Array elements no longer have to be of the same type. [[Reference:Array|See-It]]</li> | <li>{{Done}} Array elements no longer have to be of the same type. [[Reference:Array|See-It]]</li> | ||
− | <li>Dithering is now fully supported for Radiance HDR output files | + | <li>{{Done}} Dithering is now fully supported for Radiance HDR output files. [[Documentation:Tutorial Section 1#Changes and New Features Summary|See-It]]</li> |
− | + | <li>{{Done}} Trailing whitespace in INI files no longer causes a warning. [[Documentation:Tutorial Section 1#Changes and New Features Summary|See-It]]</li> | |
− | + | <li>{{Done}} Animation status messages now include the nominal frame number. [[Documentation:Tutorial Section 1#Changes and New Features Summary|See-It]]</li> | |
− | + | <li>{{Done}} POV-Ray for Windows now reports file names and line numbers of warnings. [[Documentation:Tutorial Section 1#Changes and New Features Summary|See-It]]</li> | |
− | <li>Trailing whitespace in INI files no longer causes a warning | + | <li>{{Done}} Radiosity can now honor the <code>brilliance</code> setting of a surface. [[Documentation:Tutorial Section 1#Changes and New Features Summary|See-It]]</li> |
− | |||
− | |||
− | |||
− | <li>Animation status messages now include the nominal frame number</li> | ||
− | <li>POV-Ray for Windows now reports file names and line numbers of warnings</li> | ||
− | <li>Radiosity can now honor the <code>brilliance</code> setting of a surface</li> | ||
<li>{{Done}} Color maps, pigment maps and the like are no longer limited to 256 entries.</li> | <li>{{Done}} Color maps, pigment maps and the like are no longer limited to 256 entries.</li> | ||
<ul> | <ul> | ||
Line 120: | Line 96: | ||
</ul> | </ul> | ||
</li> | </li> | ||
− | <li>The number of components per blob is no longer artificially limited. [[ | + | <li>{{Done}} The number of components per blob is no longer artificially limited. [[Documentation:Tutorial Section 1#Changes and New Features Summary|See-It]]</li> |
− | |||
− | |||
− | |||
</ol> | </ol> | ||
====Code Snippet's Comments and Content Related==== | ====Code Snippet's Comments and Content Related==== | ||
<p>Use this section for <em>code snippet's</em> to be included in reference. Comments and content related items are welcome too.</p> | <p>Use this section for <em>code snippet's</em> to be included in reference. Comments and content related items are welcome too.</p> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===3.7.1 Scene File Checklist=== | ===3.7.1 Scene File Checklist=== |
Latest revision as of 14:52, 8 January 2017
3.7.1 Changes Checklist
The following is a check list of the changes that need to be documented prior to version 3.7.1 release.
New Features
Materials
- Done A new finish parameter
use_alpha
has been added to suppress highlights and reflections depending on pigment transparency. See-It - Done A new special pigment pattern
user_defined
has been added to define the pigment color directly in terms of a set of functions. See-It - Done A new pattern
potential
has been added to define a pattern based on the potential field of ablob
orisosurface
object.See-It - Done The
map_type
keyword now supports the Angular Map projection for light probes, popularized by Paul Devebec, astype 7
See-It - Done Native support for repetition has been added to the
crackle
pattern to avoid the discontinuities in the pattern caused by repeat warps. See-It - Done Color and pigment maps now support non-linear interpolation to achieve more pleasing gradients. See-It and See-Also
- Done Fresnel angle-dependent attenuation can now also be applied to highlights and the diffuse component for more physical realism. See-It
Geometric Primitives
- Done UV mapping support has been added to cones and cylinders. See-It
- Done A new parameter
polarity
has been added to isosurfaces. See-It - Done A new geometric primitive
lemon
has been added. See-It - Done The torus syntax has been extended to give more control over the spindle in a self-intersecting torus. See-It
Scene Description Language, Options and INI settings
- Done Support for variable-size arrays has been added
- Done A new data container
dictionary
has been added to support structured storage of data - Done Pseudo-dictionaries
local
andglobal
have been added, allowing to specifically access local or global identifiers respectively - Done The
max_extent
function as used to determine the size of an image map in pixels can now also be used on normal maps and density files - Done Macros up to a certain size (currently hard-coded to 65536 characters per macro) are now cached in memory, improving parsing speed of invocations especially when the macro in question is defined in a different file
- Done All instances of
gray
in keywords or INI file options can now alternatively be spelledgrey
. Previously this was only the case inside function definitions where it applied only to the.gray
color pseudo-component See-It - Done A new inbuilt constant
tau
has been added - Done The
#declare
and#local
syntax has been extended to support tuple-style assignments. See-It - Done The macro syntax has been extended to allow for
optional
parameters - Done The creation of a log for the
+C
render abort-continue feature can now be suppressed using-CC
to save disk space
Miscellaneous
- Done Support for the ITU-R BT.709 and BT.2020 transfer functions has been added to POV-Ray's gamma handling portfolio
- Done A new function-based user-defined camera type
user_defined
has been added - Done Light sources distance-based fading can now be set to obey an inverse-power law at all distances See-It
- Done CIE L*a*b* conversion macros have been added to colors.inc See-It
- Done A new include file colors_ral.inc has been added containing predefined colors according to the RAL Classic standard See-It
- Chris says only update copyright date when file otherwise changes.
- For a 3.7.1 release we should probably pull all the X11 related sections from the documentation. Remember seeing something about VGA / SVGA support too about which I am suspicious, but maybe this all works?
Changed Behavior
Image Files
- Done By default, gamma handling of NetPBM (PPM/PGM) in and output files now follows the official NetBPM standard, which mandates gamma-encoding using the ITU-R BT.709 transfer function. As usual this can be overridden by the
gamma
input file parameter orFile_Gamma
INI setting, respectively - Done The Compression setting now affects more file types: Specifying
Compression=1
with file typeT
(Targa) will now generate compressed Targa (same as file typeC
), and explicitly specifyingCompression=0
with file typeP
(Netpbm PPM/PGM) will generate plain (ASCII) Netpbm rather than raw (binary) - POV-Ray will now try to auto-detect whether an input TIFF file with alpha channel uses
premultiplied
or non-premultiplied alpha mode, rather than blindly presumingpremultiplied
alpha - Done The interaction of
transmit all
andfilter all
with an image's alpha channel has been changed to be more intuitive: rather than adding the image's transparency to the user-specified transparency, the image's opacity is now effectively multiplied with the user-specified opacity. (requires#version 3.71
or later) - The image file format previously referred to as IFF (now more precisely referred to as IFF-ILBM) is now associated with the
.lbm
file extension in addition to the.iff
extension
The term "IFF" does not seem to be mentioned anywhere in the docs (this is an input-only format), just the keyword, which wasn't chaned. (CLi)
Miscellaneous
- On Unix with Simple DirectMedia Layer (SDL) enabled the p key can now be used to pause and un-pause a render
- Done The
version
pseudo-variable will now evaluate to the effective language version at the time the expression is parsed, except when used in a#version
directive, in which case the behavior remains unchanged. The requirement to start each scene with a#version
statement is now more strongly enforced for POV-Ray 3.7 scenes. An error is reported if the scene file does not begin with a#version
directive but does have a#version 3.71
(or later) directive anywhere in the main scene file - Using
ambient
with a suspiciously high value in a non-legacy scene will now issue a warning, unlessemission
is also specified - A long-standing undocumented inconsistency in the treatment of backslashes in string literals, in which backslashes were essentially not interpreted as escape characters if the parser expected a filename, has been cleaned up. Backslashes are now treated as escape characters in all string literals. requires
#version 3.71
or later
Already documented. May need to be marked as Change. See-It (CLi)
The focus of this change was correcting unix console messages. There was previously no notice 'p' and 'q' were active for +D renders. The final pause, if using +P, had always incorrectly said hitting any key would continue/quit when only 'q', enter or detecting on the SDL window would. Enabling 'p' to also continue from the final pause in addition to mid render ones makes 'p' operation consistent throughout the render (and it was cleaner code-wise). Forgot to mention yesterday this change is self-documenting due the prompts to the console changing to reflect it.
Noteworthy Improvements
- Done Array elements no longer have to be of the same type. See-It
- Done Dithering is now fully supported for Radiance HDR output files. See-It
- Done Trailing whitespace in INI files no longer causes a warning. See-It
- Done Animation status messages now include the nominal frame number. See-It
- Done POV-Ray for Windows now reports file names and line numbers of warnings. See-It
- Done Radiosity can now honor the
brilliance
setting of a surface. See-It - Done Color maps, pigment maps and the like are no longer limited to 256 entries.
- Color Map
- Pigment Map
- Average Pattern
- Normal Map
- Slope Map
- Patterned Textures
- Density and Density Maps
- Done The number of components per blob is no longer artificially limited. See-It
Code Snippet's Comments and Content Related
Use this section for code snippet's to be included in reference. Comments and content related items are welcome too.
3.7.1 Scene File Checklist
- Done spindle torus example
- Done user_defined camera example
- Done Pavement pattern example
- Done Unit square scalings for pavement and tiling patterns added to pavement.pov and tiling.pov
- Potential pattern using blobs. Second with iso or as option in first scene.
- Nothing with ovus or lemon. Add to primativ.pov perhaps?
- Rename primativ.pov to primative.pov or delete and create individual files?
- portfolio/allobjects.pov out of date.
- Recent scenes with rendered PNGs - even some 3.7 ones - are not part of the scene directory html Friedrich A. Lohmueller created in 2013.
- Replace while loops with for loops where counting. Cleans up our example scenes.
Admissions...
Do we admit 3.7.1 is slower and explain why (C++)? See: https://github.com/POV-Ray/povray/issues/48
Multilinks
Just came across a nest of multilinks on Reference:Language_Directives, thought you'd like to know; would have eliminated them in passing, but since you say that triggers some performance-hogging process I won't touch them. (CLi)