POV-Ray : Newsgroups : povray.documentation.inbuilt : Version 3.8: Input_File_Name - where has it gone? Server Time: 29 Jan 2020 15:09:18 GMT
  Version 3.8: Input_File_Name - where has it gone? (Message 1 to 10 of 22)  
Goto Latest 10 Messages Next 10 Messages >>>
From: greytery
Subject: Version 3.8: Input_File_Name - where has it gone?
Date: 9 Dec 2019 13:20:00
Message: <web.5dee4688743e96a85dfb0950@news.povray.org>
Downloaded and compiled the Linux version of v3.8 master.

The Command Line parameter Input_File_Name (+Ifile) is no longer working as per
V3.7, and has been removed from the 3.8 documentation. Was "3.2.5.2 Include File
Name" in V3.7. (Yet it is still mentioned elsewhere).
If I specify +Iscene.ini it is treated as if it is a .pov file and fails to
parse.

Why has it been removed?

How do you do animations from the Command Line (i.e. Linux) if you can't control
frames, clock, etc via the .ini file?


Post a reply to this message

From: jr
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 9 Dec 2019 13:30:01
Message: <web.5dee4b54cce2d5dfeeb22ff0@news.povray.org>
hi,

"greytery" <nomail@nomail> wrote:
> Downloaded and compiled the Linux version of v3.8 master.
>
> The Command Line parameter Input_File_Name (+Ifile) is no longer working as per
> V3.7, and has been removed from the 3.8 documentation. Was "3.2.5.2 Include File
> Name" in V3.7. (Yet it is still mentioned elsewhere).
> If I specify +Iscene.ini it is treated as if it is a .pov file and fails to
> parse.
>
> Why has it been removed?
>
> How do you do animations from the Command Line (i.e. Linux) if you can't control
> frames, clock, etc via the .ini file?

ini file works, don't use the switch (only used with scene files, aiui).  eg:

  $ povray myini

if you use sections in the ini, you'll have to use quotes:

  $ povray 'myini[hires]'


regards, jr.


Post a reply to this message

From: greytery
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 9 Dec 2019 18:25:01
Message: <web.5dee8f4acce2d5d5dfb0950@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
> ....
> > ini file works, don't use the switch (only used with scene files, aiui).  eg:
> >   $ povray myini
> ...
> regards, jr.

Thanks for quick reply.  Made me go back and check.  No it doesn't!!! - Oh. Yes
it does???

I have two scene files (part of the Anton Raves LEGO library). One works as
expected, just as you say - perfectly, beautifully - while another just does not
like the call without the +I switch, and even then ignores the .ini file.

At the moment I'm baffled - perhaps a version incompatibility. But cant do more
this week. Will update when I've got further.  Meanwhile..:

a) ignore this.

b) go play with the LEGO models at https://www.virtualbricks.nl/downloads.php
and be a kid this Christmas.

tery


Post a reply to this message

From: Bald Eagle
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 9 Dec 2019 19:05:00
Message: <web.5dee99dccce2d5d4eec112d0@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

> if you use sections in the ini, you'll have to use quotes:
>
>   $ povray 'myini[hires]'

http://wiki.povray.org/content/Documentation:Unix_Section_5#INI_File_Sections

Well... huh.
Learned something new.   I don't really use ini files except for animations so,
....

:D


Post a reply to this message

From: jr
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 9 Dec 2019 22:05:02
Message: <web.5deec4b8cce2d5dfeeb22ff0@news.povray.org>
hi,

"greytery" <nomail@nomail> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > ....
>
> Thanks for quick reply.  Made me go back and check.  No it doesn't!!! - Oh. Yes
> it does???
>
> I have two scene files (part of the Anton Raves LEGO library). One works as
> expected, just as you say - perfectly, beautifully - while another just does not
> like the call without the +I switch, and even then ignores the .ini file.

sorry, am getting .. lost in translation.  :-)  is this the same library as
available on the link below?  if yes, which file(s)?


> At the moment I'm baffled - perhaps a version incompatibility. But cant do more
> this week. Will update when I've got further.  Meanwhile..:
> a) ignore this.
> b) go play with the LEGO models at ...
> and be a kid this Christmas.

nice site, thanks.  I looked at the lego library posted here, recently, but
found that to be in .. a not-useful state.  the one from the Dutch site is much
better, even has documentation!


regards, jr.


Post a reply to this message

From: jr
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 9 Dec 2019 22:05:02
Message: <web.5deec4d1cce2d5dfeeb22ff0@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > if you use sections in the ini, you'll have to use quotes:
> >   $ povray 'myini[hires]'
>
> ...
>
> Well... huh.

:-)

> Learned something new.   I don't really use ini files except for animations so,
> ....

without ini files we'd have to (ab)use 'Makefile's.  :-)  I use them mostly for
animations too, but (now) find it convenient, when "developing" a scene, to have
an ini with an unnamed section, with the "lo" quality settings for quick render,
and a named section with settings for "final" render.  (laziness, I guess.
forget command-line options, just 'pov38 myini')

btw, you did ask for a reminder re tangents/pulleys.  here's another.  ;-)


regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 9 Dec 2019 23:35:00
Message: <web.5deed852cce2d5d4eec112d0@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

> ...when "developing" a scene, to have
> an ini with an unnamed section, with the "lo" quality settings for quick render,
> and a named section with settings for "final" render.

Yes, that of course makes sense.  There are all of the other options one can
write into the SDL as well (quick_color, etc)

> (laziness, I guess. forget command-line options, just 'pov38 myini')

I'm still transitioning from Win to Linux via QtPOV-Ray (gui).
Maybe at some point if I have enough uninterrupted free time _with_ peace of
mind, I'll get some of the proper command line stuff learned with official or hg
or WP's branch(es)


> btw, you did ask for a reminder re tangents/pulleys.  here's another.  ;-)

Why yes - and I didn't forget - just busy with - December.

I'm just gonna throw the extant file over in the other thread and you can see
what you can make of it.   Ping me with questions comments improvements, etc.
And make something.  :)


Post a reply to this message

From: jr
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 10 Dec 2019 01:25:00
Message: <web.5deef225cce2d5dfeeb22ff0@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > ...when "developing" a scene, to have
> > an ini with an unnamed section, with the "lo" quality settings for quick render,
> > and a named section with settings for "final" render.
>
> Yes, that of course makes sense.  There are all of the other options one can
> write into the SDL as well (quick_color, etc)

and those.  (have never actually used quick colours)  (inis make using multiple
declare=xyz=off type controls easy, I prefer it over having to '#switch' in the
scene)


> > (laziness, I guess. forget command-line options, just 'pov38 myini')
>
> I'm still transitioning from Win to Linux via QtPOV-Ray (gui).
> Maybe at some point if I have enough uninterrupted free time _with_ peace of
> mind, I'll get some of the proper command line stuff learned with official or hg
> or WP's branch(es)

I don't want to sound .. disparaging, but, ime, that's not how it works, you
just have to have no alternative (initially, at least).  so, exercise: do a
Ctrl-Alt-F2 and you should see a console login prompt.  login, then add an alias
to your .bashrc, something like:
alias nicepov='nice -n 19 povray'

using 'vi[m]' or like.  logout.  to get back to your desktop should be Alt-F7.
set yourself small tasks and switch to a console to carry them out, then the
"feel" for command-lines will just happen.

for instance, self, all 'root'[*] stuff is done on the console, lo-tech.
tedious, yes, but forces the .. presence of mind needed when using "the
powers".

[*] I use 'sudo' only for a few specific tasks (time server syncing and such).


> > btw, you did ask for a reminder re tangents/pulleys.  here's another.  ;-)
>
> Why yes - and I didn't forget - just busy with - December.
> I'm just gonna throw the extant file over in the other thread and you can see
> what you can make of it.   Ping me with questions comments improvements, etc.

thank you v much.  it'll be a few days before I can get to playing with it.


> And make something.  :)

when (_if_) I get to the point where I can understand and make your code "my
own", I plan to replicate the pulleys depicted on the cover of this book:
<www.amazon.com/POSIX-4-Programmers-Guide-Programming-World/dp/1565920740>


regards, jr.


Post a reply to this message

From: Bald Eagle
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 10 Dec 2019 02:10:01
Message: <web.5deefdeccce2d5d4eec112d0@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:

> and those.  (have never actually used quick colours)  (inis make using multiple
> declare=xyz=off type controls easy, I prefer it over having to '#switch' in the
> scene)

Not immediately apparent to me - maybe you can post an illustrative example
somewhere at some point.


> I don't want to sound .. disparaging, but, ime, that's not how it works, you
> just have to have no alternative (initially, at least).

Sound as disparaging as you want.  I have an ex-wife.  You'd need to struggle to
register on that logarithmic scale.  ;)  :D


> when (_if_) I get to the point where I can understand and make your code "my
> own", I plan to replicate the pulleys depicted on the cover of this book:
> <www.amazon.com/POSIX-4-Programmers-Guide-Programming-World/dp/1565920740>

Well that ought to be easy, though I'll have to see how well-suited what I have
is for the hanging weight-to-pulley parts.  Most of what I was aiming for was
drawing "closed" curves, not the "open" or loose-end parts of block and tackle.


Post a reply to this message

From: Dick Balaska
Subject: Re: Version 3.8: Input_File_Name - where has it gone?
Date: 10 Dec 2019 03:50:52
Message: <5def161c$1@news.povray.org>
Am 12/9/19 8:20 PM, also sprach jr:

> alias nicepov='nice -n 19 povray'
> 
just fyi, "nice" really doesn't do anything, at least not since the 
invention of multicore CPUs.  The scheduler just picks stuff and goes.

This is an improvement, over where for several years cores could remain 
idle with tasks pending.  Say you've got a normal priority task running 
one thread. It gets dispatched and since there are no other normal 
priority tasks pending, the scheduler is done, even though there are 3 
idle cores and several "low" priority tasks pending.

There is a compile in replacement for the scheduler that fixes the 
current behavior, but the author recommends not using it and waiting for 
his new scheduler, which hopefully Linus will accept into the kernel.

I got no answers to this question
https://askubuntu.com/questions/1180605/priority-trouble-with-nice-renice
but further research led me to the statements above.

-- 
dik
Rendered 49,882,521,600 of 49,882,521,600 pixels (100%)


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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