POV-Ray : Newsgroups : povray.text.scene-files : Tabulated() macro, making tables easy Server Time
23 Sep 2021 23:20:59 EDT (-0400)
  Tabulated() macro, making tables easy (Message 1 to 7 of 7)  
From: jr
Subject: Tabulated() macro, making tables easy
Date: 30 Jul 2021 09:45:00
Message: <web.610402268669d715e0fed26cde94f1@news.povray.org>
hi,

please find attached the new 'Tabulated()' macro, designed to add tables to
scene files, displaying related information.

the archive includes an include file, a "manual"/documentation HTML page, and
several demo/example scenes.  to install, unzip the archive (will create
directory 'tabu'), then link or copy the .inc file to a POV-Ray "library_path"
directory.

two people have volunteered to be guinea pigs, you know who you are, thanks; any
remaining errors/bugs are mine.  feedback, criticisms, tips -- all equally
welcome (more or less ;-))


enjoy, jr.


Post a reply to this message


Attachments:
Download 'tabu.zip' (1075 KB)

From: jr
Subject: Re: Tabulated() macro, making tables easy
Date: 15 Aug 2021 17:55:00
Message: <web.61198cbfeb2219a25e0fed26cde94f1@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> please find attached the new 'Tabulated()' macro, designed to add tables to
> scene files, displaying related information.

the second release/version of 'Tabulated()' adds an option for highlighting a
cell, or a range of.  (fingers crossed) the code now has fewer bugs, and the
introductory comments have been completed.  as always, comments, tips, and
critique welcome.


enjoy, jr.


Post a reply to this message


Attachments:
Download 'tabu.zip' (1077 KB)

From: Thomas de Groot
Subject: Re: Tabulated() macro, making tables easy
Date: 16 Aug 2021 02:05:53
Message: <611a0041$1@news.povray.org>
Op 15/08/2021 om 23:53 schreef jr:
> "jr" <cre### [at] gmailcom> wrote:
>> please find attached the new 'Tabulated()' macro, designed to add tables to
>> scene files, displaying related information.
> 
> the second release/version of 'Tabulated()' adds an option for highlighting a
> cell, or a range of.  (fingers crossed) the code now has fewer bugs, and the
> introductory comments have been completed.  as always, comments, tips, and
> critique welcome.
> 
> 
> enjoy, jr.
> 

To avoid confusion, it might be important to add version/release numbers 
to the zips.

-- 
Thomas


Post a reply to this message

From: jr
Subject: Re: Tabulated() macro, making tables easy
Date: 16 Aug 2021 03:40:00
Message: <web.611a1562eb2219a25e0fed26cde94f1@news.povray.org>
hi,

Thomas de Groot <tho### [at] degrootorg> wrote:
> To avoid confusion, it might be important to add version/release numbers
> to the zips.

agree, thanks.


regards, jr.


Post a reply to this message

From: William F Pokorny
Subject: Re: Tabulated() macro, making tables easy
Date: 16 Sep 2021 10:22:55
Message: <6143533f@news.povray.org>
On 8/15/21 5:53 PM, jr wrote:
> "jr" <cre### [at] gmailcom> wrote:
>> please find attached the new 'Tabulated()' macro, designed to add tables to
>> scene files, displaying related information.
> 
> the second release/version of 'Tabulated()' adds an option for highlighting a
> cell, or a range of.  (fingers crossed) the code now has fewer bugs, and the
> introductory comments have been completed.  as always, comments, tips, and
> critique welcome.
> 

A few minor comments after my first use - version 202106.2.

1)----------
You can get rid of the high ambient warning by changing:

#declare tabu__data_finishes_ = array [2] {
   finish {ambient .1 diffuse .8 specular .1},
   finish {ambient 0 emission .85}
};

to

#declare tabu__data_finishes_ = array [2] {
   finish {ambient .1 emission 0 diffuse .8 specular .1},
   finish {ambient 0 emission .85}
};


2)----------
Documentation. (Great by the way)

Where you have references to your google drive for your Foreach() and 
Ruled() variation at the bottom of the documentation, it would be handy 
to have a reference/link to the most current Tabulated() too.

A nit, but, indicating the Tabulated() version to which the 
documentation pertains in the html would be helpful.

3)----------

Not unexpectedly ;-) ..., the macro uses all lower case identifiers, but 
well prefixed ones. For the povr branch, this does force a configuration 
and compile without the identifier case checking to make use of it.


Great work jr & Tabulated() development helpers!

Bill P.


Post a reply to this message

From: jr
Subject: Re: Tabulated() macro, making tables easy
Date: 18 Sep 2021 05:20:00
Message: <web.6145ae16eb2219a25e0fed26cde94f1@news.povray.org>
hi,

William F Pokorny <ano### [at] anonymousorg> wrote:

(that statistical summary table does look properly "intimidating :-))


> A few minor comments after my first use - version 202106.2.
>
> 1)----------
> You can get rid of the high ambient warning by changing:
>
> #declare tabu__data_finishes_ = array [2] {
>    finish {ambient .1 diffuse .8 specular .1},
>    finish {ambient 0 emission .85}
> };
>
> to
>
> #declare tabu__data_finishes_ = array [2] {
>    finish {ambient .1 emission 0 diffuse .8 specular .1},
>    finish {ambient 0 emission .85}
> };

thanks, will do.


> 2)----------
> Documentation. (Great by the way)

(thank you.  always the most difficult part of a project, I think)


> Where you have references to your google drive for your Foreach() and
> Ruled() variation at the bottom of the documentation, it would be handy
> to have a reference/link to the most current Tabulated() too.
>
> A nit, but, indicating the Tabulated() version to which the
> documentation pertains in the html would be helpful.

yes, thanks, will make note of the version in text.  will consider the reference
link point; am thinking a wiki page with latest version of each include I've
done?


> 3)----------
>
> Not unexpectedly ;-) ..., the macro uses all lower case identifiers, but
> well prefixed ones. For the povr branch, this does force a configuration
> and compile without the identifier case checking to make use of it.

heh, mine was already compiled to allow lowercase.  :-)


> Great work jr & Tabulated() development helpers!

both BE + TdeG deserve those cheers.


regards, jr.


Post a reply to this message

From: William F Pokorny
Subject: Re: Tabulated() macro, making tables easy
Date: 19 Sep 2021 05:41:41
Message: <614705d5@news.povray.org>
On 9/18/21 5:15 AM, jr wrote:
> will consider the reference
> link point; am thinking a wiki page with latest version of each include I've
> done?
That would work. Aim, of course, is knowing quickly whether one has the 
latest package/zip in hand, and if not, where to grab it.

Bill P.


Post a reply to this message

Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.