Difference between revisions of "User:Jr"
(added 'ectags'.) |
m (added link to 'tmc' demo.) |
||
| (17 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
welcome to this .. remote exclave of creature land. | welcome to this .. remote exclave of creature land. | ||
| − | :the page is currently "under development". | + | :the page is <s>currently</s> permanently "under development". |
I intend, | I intend, | ||
| Line 12: | Line 12: | ||
I do have ideas for a "proper" article or two, too, | I do have ideas for a "proper" article or two, too, | ||
on the (obligatory :-)) list of things to do. | on the (obligatory :-)) list of things to do. | ||
| + | |||
| Line 19: | Line 20: | ||
because I think it provides a potential user with all the "freedom"s they need, | because I think it provides a potential user with all the "freedom"s they need, | ||
but also out of habit. | but also out of habit. | ||
| − | if that license is | + | if that license is not convenient, write, I'm open to discussion. |
| Line 27: | Line 28: | ||
=== SDL code === | === SDL code === | ||
| − | all include files require a POV-Ray version 3.8, or later. | + | almost all include files require a POV-Ray version 3.8, or later. other SDL code, including stand-alone macros, can be found on the ''[[User:Jr/assorted|assorted]]'' page. |
* bounder.inc -- a macro to calculate an object's bounding box. CSG objects, and even "simple" rotated primitives, tend to have a lot of room in the bounding box provided by POV-Ray. the archive includes a demo scene, illustrating the use of 'Bounder()', and automated re-bounding of an object. | * bounder.inc -- a macro to calculate an object's bounding box. CSG objects, and even "simple" rotated primitives, tend to have a lot of room in the bounding box provided by POV-Ray. the archive includes a demo scene, illustrating the use of 'Bounder()', and automated re-bounding of an object. | ||
{{TableVersionFileList | bounder.zip | 201910.5 |https://drive.google.com/file/d/1-ak9jRR7B6iNoQfchF_XMupNL6Wop5Oq/view?usp{{=}}sharing}} | {{TableVersionFileList | bounder.zip | 201910.5 |https://drive.google.com/file/d/1-ak9jRR7B6iNoQfchF_XMupNL6Wop5Oq/view?usp{{=}}sharing}} | ||
| − | * foreach.inc -- a macro to execute a | + | * bsvars.inc -- a basic set of macros to work with bit-string variables, that is, string variables which contain only the digit characters "0" and "1". |
| + | {{TableVersionFileList | bsvars.inc | 202205.2 |https://drive.google.com/file/d/10pKBoUCmh4pmZjM73Tdt9Ra4eKKricdD/view?usp{{=}}sharing}} | ||
| + | |||
| + | * filed.inc -- a macro for reading and writing CSV/text data files. the archive includes documentation, plus animation and other example code. | ||
| + | {{TableVersionFileList | filed.zip | 202108.5 |https://drive.google.com/file/d/10pGH0yi_-8aBTQvTwQPB4AdfRl9JsTGg/view?usp{{=}}sharing}} | ||
| + | |||
| + | * foreach.inc -- a macro to execute a "payload" macro, written by you, for each element, in the selected dimension(s) of a given array. the archive includes documentation and a comprehensive feature-by-feature demo. | ||
{{TableVersionFileList | foreach.zip | 202104.6 |https://drive.google.com/file/d/1-uadHHQ3K0sgdxyHmBCTznlPYNrnBgM9/view?usp{{=}}sharing}} | {{TableVersionFileList | foreach.zip | 202104.6 |https://drive.google.com/file/d/1-uadHHQ3K0sgdxyHmBCTznlPYNrnBgM9/view?usp{{=}}sharing}} | ||
| Line 38: | Line 45: | ||
{{TableVersionFileList | pvars.inc | 202203.3 |https://drive.google.com/file/d/1-RfkjGHH0a9LU_nN7codOb7IQXPvpABZ/view?usp{{=}}sharing}} | {{TableVersionFileList | pvars.inc | 202203.3 |https://drive.google.com/file/d/1-RfkjGHH0a9LU_nN7codOb7IQXPvpABZ/view?usp{{=}}sharing}} | ||
| − | * queues.inc -- three sets of macros implementing first-in first-out ("FIFO"), last-in first-out ("LIFO" | + | * queues.inc -- three sets of macros implementing first-in first-out ("FIFO"), last-in first-out ("LIFO" or "stack"), and simple priority queues. the archive includes documentation and very basic test/demo scenes. |
{{TableVersionFileList | queues.zip | 201811.4 |https://drive.google.com/file/d/1-lISncj8_qJQsjXR2TclUc67Whv-HmZL/view?usp{{=}}sharing}} | {{TableVersionFileList | queues.zip | 201811.4 |https://drive.google.com/file/d/1-lISncj8_qJQsjXR2TclUc67Whv-HmZL/view?usp{{=}}sharing}} | ||
| Line 44: | Line 51: | ||
{{TableVersionFileList | ruled.zip | 201911.3 |https://drive.google.com/file/d/1-lgUb0GyIxwR8Uxoh20vVc1bHWI1KzkS/view?usp{{=}}sharing}} | {{TableVersionFileList | ruled.zip | 201911.3 |https://drive.google.com/file/d/1-lgUb0GyIxwR8Uxoh20vVc1bHWI1KzkS/view?usp{{=}}sharing}} | ||
| − | * tmc.inc -- a set of macros for "instrumenting" macros, or other code, and count the number of times | + | * tabulated.inc -- a macro for displaying array data in a tabular layout. the archive includes documentation and code examples illustrating each type of array that can be used. |
| + | {{TableVersionFileList | tabu3.zip | 202106.3 |https://drive.google.com/file/d/10mdHHpdwMnVmd1Uo2SotR-sFzZ-DXXhg/view?usp{{=}}sharing}} | ||
| + | |||
| + | * tmc.inc -- a set of macros for "instrumenting" macros, or other code, and count the number of times the code is called/run. no documentation, sorry, only a copy & paste [[User:Jr/tmc_demo|demo]]. | ||
{{TableVersionFileList | tmc.inc | 202205.3 |https://drive.google.com/file/d/1-SfuvkjZMTHz7P4i-vfKEgOGEkKNb6qo/view?usp{{=}}sharing}} | {{TableVersionFileList | tmc.inc | 202205.3 |https://drive.google.com/file/d/1-SfuvkjZMTHz7P4i-vfKEgOGEkKNb6qo/view?usp{{=}}sharing}} | ||
| − | |||
=== C code === | === C code === | ||
| Line 52: | Line 61: | ||
all the following were developed on a 64-bit GNU/Linux box, the 'Makefile's use 'gcc'. | all the following were developed on a 64-bit GNU/Linux box, the 'Makefile's use 'gcc'. | ||
| − | * df3tcl -- Tcl script-driven | + | * df3tcl -- Tcl script-driven access to DF3 files. requires 'libdf3' installed. |
{{TableVersionFileList | df3tcl.tar.gz | 0.2.5 |https://drive.google.com/file/d/10c_EgtCvuGCILZnXwavGux7V7dpuHDbs/view?usp{{=}}sharing}} | {{TableVersionFileList | df3tcl.tar.gz | 0.2.5 |https://drive.google.com/file/d/10c_EgtCvuGCILZnXwavGux7V7dpuHDbs/view?usp{{=}}sharing}} | ||
| − | * df3vt -- a | + | * df3vt -- a <span class='plainlinks'>[https://www.sqlite.org/index.html SQLite3]</span> loadable extension to access DF3 files as "virtual tables". requires 'libdf3' installed. |
{{TableVersionFileList | df3vt.tar.gz | 0.5.1 |https://drive.google.com/file/d/10dRG9AbItLNS4DE4iPh1sJkZW9EMQqnz/view?usp{{=}}sharing}} | {{TableVersionFileList | df3vt.tar.gz | 0.5.1 |https://drive.google.com/file/d/10dRG9AbItLNS4DE4iPh1sJkZW9EMQqnz/view?usp{{=}}sharing}} | ||
| − | * ectags -- a patch for the widely-used <span class='plainlinks'>[http://ctags.sourceforge.net/ Exuberant Ctags]</span> program, adding SDL to its languages; variables, macros, and primitives are recognised. to apply, | + | * ectags -- a patch for the widely-used <span class='plainlinks'>[http://ctags.sourceforge.net/ Exuberant Ctags]</span> program, adding SDL to its languages; variables, macros, and primitives are recognised. to apply, extract the archive in the source directory and execute "zcat add.sdl.diff.gz | patch --verbose -p1", then the usual "./configure && make" etc. |
{{TableVersionFileList | ectags.tar.gz | 202001.3 |https://drive.google.com/file/d/10ikrIHkMopedFPlq6V4YhnnNn3sY59hC/view?usp{{=}}sharing}} | {{TableVersionFileList | ectags.tar.gz | 202001.3 |https://drive.google.com/file/d/10ikrIHkMopedFPlq6V4YhnnNn3sY59hC/view?usp{{=}}sharing}} | ||
| − | * gts2pov -- converts <span class='plainlinks'>[http://gts.sourceforge.net/ GTS data]</span> to POV-Ray <code>mesh< | + | * gts2pov -- converts <span class='plainlinks'>[http://gts.sourceforge.net/ GTS (GNU Triangulated Surface) data]</span> to POV-Ray <code>mesh</code> or <code>mesh2</code>, optionally smoothed. requires 'libgts' installed. |
{{TableVersionFileList | gts2pov.tar.gz | 0.3.1 |https://drive.google.com/file/d/10WT-D3MP4qYxnP1BYu5f_ZN_xmOo1P5W/view?usp{{=}}sharing}} | {{TableVersionFileList | gts2pov.tar.gz | 0.3.1 |https://drive.google.com/file/d/10WT-D3MP4qYxnP1BYu5f_ZN_xmOo1P5W/view?usp{{=}}sharing}} | ||
| Line 75: | Line 84: | ||
* tga2df3_2 -- a re-implementation of jhu's 2012 'tga2df3' code, it writes colour-separated DF3s. | * tga2df3_2 -- a re-implementation of jhu's 2012 'tga2df3' code, it writes colour-separated DF3s. | ||
{{TableVersionFileList | tga2df3_2.tar.gz | n/a |https://drive.google.com/file/d/10JvrdjSSvEbncCdtyCDzIPDUUnANhCSu/view?usp{{=}}sharing}} | {{TableVersionFileList | tga2df3_2.tar.gz | n/a |https://drive.google.com/file/d/10JvrdjSSvEbncCdtyCDzIPDUUnANhCSu/view?usp{{=}}sharing}} | ||
| + | |||
=== other code === | === other code === | ||
* rgbtxt2inc.tcl -- a script to convert the X Window System colour database ('rgb.txt') to a POV-Ray version 3.5 or later include file, the output is written to 'colours_x11.inc'. | * rgbtxt2inc.tcl -- a script to convert the X Window System colour database ('rgb.txt') to a POV-Ray version 3.5 or later include file, the output is written to 'colours_x11.inc'. | ||
| − | {{TableVersionFileList | rgbtxt2inc.tcl | n/a |https://drive.google.com/file/d/ | + | {{TableVersionFileList | rgbtxt2inc.tcl | n/a |https://drive.google.com/file/d/13pg-U13lXfPCmJsacvGHuNY7_wORYKQ-/view?usp{{=}}sharing}} |
| + | |||
| + | : Ilya posted a file based on the "official" SVG colour names, see <span class='plainlinks'>[https://news.povray.org/69c74cb4%241%40news.povray.org this message/thread]</span>. | ||
| + | * POV-Ray internals -- a link to ingo's chart-based AI exploration of POV-Ray's functionality. [https://deepwiki.com/POV-Ray/povray] | ||
last edit {{REVISIONTIMESTAMP}}. | last edit {{REVISIONTIMESTAMP}}. | ||
| + | [[Category:Macros]] | ||
__INDEX__ | __INDEX__ | ||
Latest revision as of 14:44, 28 August 2026
welcome to this .. remote exclave of creature land.
- the page is
currentlypermanently "under development".
I intend, over the coming days and weeks, to create a collection of download links for my POV-Ray stuff, include files and utilities, mostly. the idea is to provide the latest version of each, all in one place.
I do have ideas for a "proper" article or two, too, on the (obligatory :-)) list of things to do.
a note on matters legal, since they matter, to so many. not being a lawyer, I release all my stuff under the GNU Public License version 3 or later because I think it provides a potential user with all the "freedom"s they need, but also out of habit. if that license is not convenient, write, I'm open to discussion.
SDL code
almost all include files require a POV-Ray version 3.8, or later. other SDL code, including stand-alone macros, can be found on the assorted page.
- bounder.inc -- a macro to calculate an object's bounding box. CSG objects, and even "simple" rotated primitives, tend to have a lot of room in the bounding box provided by POV-Ray. the archive includes a demo scene, illustrating the use of 'Bounder()', and automated re-bounding of an object.
| version | download |
| 201910.5 | bounder.zip |
- bsvars.inc -- a basic set of macros to work with bit-string variables, that is, string variables which contain only the digit characters "0" and "1".
| version | download |
| 202205.2 | bsvars.inc |
- filed.inc -- a macro for reading and writing CSV/text data files. the archive includes documentation, plus animation and other example code.
| version | download |
| 202108.5 | filed.zip |
- foreach.inc -- a macro to execute a "payload" macro, written by you, for each element, in the selected dimension(s) of a given array. the archive includes documentation and a comprehensive feature-by-feature demo.
| version | download |
| 202104.6 | foreach.zip |
- pvars.inc -- a set of macros for use with "packed" variables, that is, 4-vector variables where each component is addressed by position, much like a (small) array.
| version | download |
| 202203.3 | pvars.inc |
- queues.inc -- three sets of macros implementing first-in first-out ("FIFO"), last-in first-out ("LIFO" or "stack"), and simple priority queues. the archive includes documentation and very basic test/demo scenes.
| version | download |
| 201811.4 | queues.zip |
- ruled.inc -- a macro which expands to a "gridded"
plane{}, derived from Friedrich Lohmüller's code. the archive includes documentation and a scene file which replicates one of FL's demo images (approximately, ie a different camera view/angle).
| version | download |
| 201911.3 | ruled.zip |
- tabulated.inc -- a macro for displaying array data in a tabular layout. the archive includes documentation and code examples illustrating each type of array that can be used.
| version | download |
| 202106.3 | tabu3.zip |
- tmc.inc -- a set of macros for "instrumenting" macros, or other code, and count the number of times the code is called/run. no documentation, sorry, only a copy & paste demo.
| version | download |
| 202205.3 | tmc.inc |
C code
all the following were developed on a 64-bit GNU/Linux box, the 'Makefile's use 'gcc'.
- df3tcl -- Tcl script-driven access to DF3 files. requires 'libdf3' installed.
| version | download |
| 0.2.5 | df3tcl.tar.gz |
- df3vt -- a SQLite3 loadable extension to access DF3 files as "virtual tables". requires 'libdf3' installed.
| version | download |
| 0.5.1 | df3vt.tar.gz |
- ectags -- a patch for the widely-used Exuberant Ctags program, adding SDL to its languages; variables, macros, and primitives are recognised. to apply, extract the archive in the source directory and execute "zcat add.sdl.diff.gz | patch --verbose -p1", then the usual "./configure && make" etc.
| version | download |
| 202001.3 | ectags.tar.gz |
- gts2pov -- converts GTS (GNU Triangulated Surface) data to POV-Ray
meshormesh2, optionally smoothed. requires 'libgts' installed.
| version | download |
| 0.3.1 | gts2pov.tar.gz |
- hilbert2d -- a program to generate
sphere_sweep{}s, laid out as Hilbert Curves. the usage is documented in the program's man page.
| version | download |
| 0.4.3 | hilbert2d.tar.gz |
- libdf3 -- provides an API for working with DF3 files.
| version | download |
| 0.4.1 | df3-0.4.1.tar.gz |
- nocomment -- removes comments from SDL code files, or any file using C/C++ style comments, and writes the output to same-named files prefixed 'nc_'. useful for large(r) files used in an animation. requires 'flex' to build.
| version | download |
| n/a | nocomment.tar.gz |
- tga2df3_2 -- a re-implementation of jhu's 2012 'tga2df3' code, it writes colour-separated DF3s.
| version | download |
| n/a | tga2df3_2.tar.gz |
other code
- rgbtxt2inc.tcl -- a script to convert the X Window System colour database ('rgb.txt') to a POV-Ray version 3.5 or later include file, the output is written to 'colours_x11.inc'.
| version | download |
| n/a | rgbtxt2inc.tcl |
- Ilya posted a file based on the "official" SVG colour names, see this message/thread.
- POV-Ray internals -- a link to ingo's chart-based AI exploration of POV-Ray's functionality. [1]
last edit 20260828144429.