 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 2026-01-06 13:53 (-4), jr wrote:
> Cousin Ricky <ric### [at] yahoo com> wrote:
>> On 2025-12-25 05:58 (-4), jr wrote:
>>> unsure if it is "in the spirit", but a "dedicated" font (preferred TTF) default,
>>> for "post installation" ?
>> I don't know what you mean by "dedicated." In current text{} syntax, a
>> font is always specified, so there is no default font.
>
> in context I mean(t):
> #declare Defaults_Font = "timrom.ttf";
>
> to allow use in those 'text{}'s.
I dunno. That seems superfluous to me.
>> ---%<-----%<-----%<-----%<---[BEGIN CODE]---%<-----%<-----%<-----%<---
>> #declare Default_Ambient = rgb 0.05;
>
> won't fly. '#version' has to be first.
Granted. I should have started that scene file excerpt with '#version
3.8;'.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I wrote out a generic implementation for an always-included set of files.
A few things not yet implemented due to not having the code readily available.
Just a proof-of-concept, I'm sure that some things might be best loaded from
other dedicated include files, (best would be inbuilt as source), though I'm
still trying to work out a good way to have a "monolithic include file" where
only the desired parts will actually be loaded/implemented.
I think that a calculation for minimum visible size/radius would be a good
addition, as would an always-face-the-camera macro.
Post a reply to this message
Attachments:
Download 'defaults_be.inc.txt' (6 KB)
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
Cousin Ricky <ric### [at] yahoo com> wrote:
> ...
> > #declare Defaults_Font = "timrom.ttf";
> ...
> I dunno. That seems superfluous to me.
:-)
> >> ---%<-----%<-----%<-----%<---[BEGIN CODE]---%<-----%<-----%<-----%<---
> >> #declare Default_Ambient = rgb 0.05;
> >
> > won't fly. '#version' has to be first.
>
> Granted. I should have started that scene file excerpt with '#version
> 3.8;'.
right, I used '#version version' as per "recommendation", see last sentence(s)
on the page:
<https://wiki.povray.org/content/Reference:Numeric_Expressions#Built-in_Variables>
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Cousin Ricky
Subject: Re: Ambient and diffuse for include files?
Date: 9 Jan 2026 20:40:09
Message: <6961adf9@news.povray.org>
|
|
 |
|  |
|  |
|
 |
On 2026-01-08 02:57 (-4), jr wrote:
>
> right, I used '#version version' as per "recommendation", see last sentence(s)
> on the page:
> <https://wiki.povray.org/content/Reference:Numeric_Expressions#Built-in_Variables>
I read that paragraph a long time ago, and it didn't make sense to me.
Now I'm reading it over and over, and I still can't figure out what it
means, or why I should use that construct.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Cousin Ricky <ric### [at] yahoo com> wrote:
> On 2026-01-08 02:57 (-4), jr wrote:
> >
> > right, I used '#version version' as per "recommendation", see last sentence(s)
> > on the page:
> > <https://wiki.povray.org/content/Reference:Numeric_Expressions#Built-in_Variables>
>
> I read that paragraph a long time ago, and it didn't make sense to me.
> Now I'm reading it over and over, and I still can't figure out what it
> means, or why I should use that construct.
I will agree that that paragraph is poorly phrased.
It may even have typos.
In any event, I think that the general idea is to just be able to declare the
version to be whatever software version is used. (automatically)
You can get rid of the warning/error using boilerplate and without having to
know what version is being used.
Then you can do whatever manual versioning stuff afterwards.
At least that seems to be the intent. (?)
- BE
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Bald Eagle" <cre### [at] netscape net> wrote:
> Cousin Ricky <ric### [at] yahoo com> wrote:
> > On 2026-01-08 02:57 (-4), jr wrote:
> > > right, I used '#version version' as per "recommendation", ...
> > I read that paragraph a long time ago, and it didn't make sense to me.
> > Now I'm reading it over and over, and I still can't figure out what it
> > means, or why I should use that construct.
>
> I will agree that that paragraph is poorly phrased.
> It may even have typos.
in which case, would (either of) you mind sending (or posting) a suggestion for
a re-worded, improved paragraph ?
> In any event, I think that the general idea is to just be able to declare the
> version to be whatever software version is used. (automatically)
> You can get rid of the warning/error using boilerplate and without having to
> know what version is being used.
> Then you can do whatever manual versioning stuff afterwards.
> At least that seems to be the intent. (?)
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |