Difference between revisions of "User:Jr"

From POV-Wiki
Jump to navigation Jump to search
(added 'nocomment', added magic index, revised "last edit".)
(added legal blurb, plus minor changes in wording.)
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.
 +
 +
 +
a note on matters legal, since they matter, to so many.
 +
not being a lawyer, all my stuff is released under the
 +
<span class='plainlinks'>[https://www.gnu.org/licenses/quick-guide-gplv3.html GNU Public License]</span> version 3 or later
 +
because I think it provides a potential user with all the "freedom"s they need,
 +
but mostly out of habit.
 +
if that license is .. inconvenient, write, I'm open to discussion.
  
  
Line 24: Line 32:
 
{{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 (your) macro for each element, in the selected dimension(s), of a given array.  the archive includes documentation and a comprehensive tutorial-style demo.
+
* foreach.inc  --  a macro to execute a (your) macro 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}}
  
* 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 an array.
+
* 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.
 
{{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", or "stack"), and priority queues.  the archive includes documentation and (very) basic test/demo scenes.
+
* queues.inc  --  three sets of macros implementing first-in first-out ("FIFO"), last-in first-out ("LIFO", or "stack"), and 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}}
  
* ruled.inc  --  a macro which expands to a "gridded" <code>plane{}</code>, derived from <span class='plainlinks'>[http://f-lohmueller.de/pov_tut/scale_model/s_mod_100e.htm  Friedrich Lohmüller]</span>'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).
+
* ruled.inc  --  a macro which expands to a "gridded" <code>plane{}</code>, derived from <span class='plainlinks'>[http://f-lohmueller.de/pov_tut/scale_model/s_mod_100e.htm  Friedrich Lohmüller's code]</span>.  the archive includes documentation and a scene file which replicates one of FL's demo images (approximately, ie a different camera view/angle).
 
{{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}}
  
Line 54: Line 62:
  
  
=== other stuff ===
+
=== other code ===
  
 
* rgbtxt2inc.tcl -- a simple 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 simple 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'.
Line 60: Line 68:
  
  
last edited on {{REVISIONTIMESTAMP}}.
+
last edit {{REVISIONTIMESTAMP}}.
 
__INDEX__
 
__INDEX__

Revision as of 16:43, 10 August 2022

welcome to this .. remote exclave of creature-land.

the page is currently "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, all my stuff is released 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 mostly out of habit. if that license is .. inconvenient, write, I'm open to discussion.



SDL code

all include files require a POV-Ray version 3.8, or later.

  • 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
  • foreach.inc -- a macro to execute a (your) macro 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 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
  • tmc.inc -- a set of macros for "instrumenting" macros, or other code, and count the number of times they're called.
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'.

  • 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
  • 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. nb 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 simple 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


last edit 20220810164336.