|
|
Line 11: |
Line 11: |
| | | |
| 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; for now, how about descending into the "[[chromozone-book|chromozone]]" ;-) | + | on the (obligatory :-)) list of things to do; meanwhile though, I dare you to visit the "[[chromozone-book|chromozone]]" ;-). |
| | | |
| | | |
Revision as of 17:19, 23 July 2023
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; meanwhile though, I dare you to visit the "chromozone" ;-).
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
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.
- filed.inc -- a macro for reading and writing CSV/text data files. the archive includes documentation, plus animation and other example code.
- 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.
- 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.
- 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.
- 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).
- 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.
- tmc.inc -- a set of macros for "instrumenting" macros, or other code, and count the number of times they're called.
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.
- df3vt -- a SQLite3 loadable extension to access DF3 files as "virtual tables". requires 'libdf3' installed.
- 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.
- hilbert2d -- a program to generate
sphere_sweep{}
s, laid out as Hilbert Curves. the usage is documented in the program's man page.
- libdf3 -- provides an API for working with DF3 files.
- 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.
- tga2df3_2 -- a re-implementation of jhu's 2012 'tga2df3' code, it writes colour-separated DF3s.
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'.
last edit 20230723171958.