POV-Ray : Newsgroups : povray.beta-test.binaries : A Unix script and a few sample scenes Server Time
27 Apr 2024 00:19:11 EDT (-0400)
  A Unix script and a few sample scenes (Message 1 to 4 of 4)  
From: Subclick
Subject: A Unix script and a few sample scenes
Date: 12 Sep 2019 17:22:32
Message: <8736h1fbvy.fsf@sp.am>
I’ve recently installed POV-Ray 3.7 for Unix, and one of the first
things I did afterwards was to run the scripts “allanim.sh”,
“allscene.sh” and “portfolio.sh” to generate HTML documents showcasing
the ray tracer’s capabilities.  I ran into the “reflection.ini” issue
reported by ThH nearly four years ago, as well as a few that don’t seem
to have been mentioned or fixed anywhere.  The attached archive contains
the following files edited by me from the ones in the 3.7.0 release.
Maybe I should have used the 3.8.0 ones instead, but I’ve read
_somewhere_ that branch has been more or less abandoned.

• povray/unix/scripts/allscene.sh

The calling conventions detailed in the comments specify eight possible
arguments, but the script only took six into account, ignoring the rest.
I noticed the problem when the script failed to make an HTML file.

• povray/distribution/scenes/animations/float2/float2.pov

Missing “equals” sign in the text object showing the ‘inc’ function.

• povray/distribution/scenes/animations/float4/float4.pov

In the text object, “atan2(B,C)” should be “atan2(B,A)”, which is the
value actually calculated.

• povray/distribution/scenes/portfolio/allobjects.pov

The macro ‘Sphere_Of_Spheres’ created two coïncident copies of each of
the spheres lying on either of the two first meridians, and did not
check that there was enough room around the poles.  For instance, in
this scene itself, there were two spheres very visibly colliding at the
pole facing the viewer.

I’ve included two images made with the original macro and the fixed one,
in the “allobjects_images” folder.  In the latter, you need to pay very
close attention to notice the pole at all, revealed only by the slightly
wider space around one sphere, which already happened anyway when a
parallel’s length is close to allowing an extra sphere, but not quite
there.

• povray/distribution/scenes/portfolio/readme.txt

Repeated word _and_ in the third line (second non-empty one).


Post a reply to this message


Attachments:
Download 'edited-script-and-scenes.7z.zip' (564 KB) Download 'us-ascii' (1 KB)

From: William F Pokorny
Subject: Re: A Unix script and a few sample scenes
Date: 13 Sep 2019 11:07:43
Message: <5d7bb0bf@news.povray.org>
On 9/12/19 5:22 PM, Subclick wrote:
> I’ve recently installed POV-Ray 3.7 for Unix, and one of the first
> things I did afterwards was to run the scripts “allanim.sh”,
> “allscene.sh” and “portfolio.sh” to generate HTML documents showcasing
> the ray tracer’s capabilities.  I ran into the “reflection.ini” issue
> reported by ThH nearly four years ago, as well as a few that don’t seem
> to have been mentioned or fixed anywhere.  The attached archive contains
> the following files edited by me from the ones in the 3.7.0 release.
> Maybe I should have used the 3.8.0 ones instead, but I’ve read
> _somewhere_ that branch has been more or less abandoned.
> 
...
> 

Updates of the kind outlined are made only in the master, v3.8 
branch(1). Compile related issues cropping up over time have been fixed 
in the v3.7 stable branch since release - buts that's it. Linux package 
providers are at v3.7 only as far as I know.

I agree with the changes you've made with regards to updating the v3.8 
branch. The allscene.sh update will need to be merged with what's in the 
master branch as it has otherwise changed.

I'll create a branch with your fixes and open an issue so they won't be 
forgotten.

The reflection.ini update was made in the master branch very shortly 
after ThH's posting.

Bill P.

(1) - My understanding is it was the (got to beta something) v3.71 
release which was dropped for a v3.8 one. The action coming after a few 
users pointed out the changes more accurately represented another 
substantial update and not a patch release to v3.7.


Post a reply to this message

From: William F Pokorny
Subject: Re: A Unix script and a few sample scenes
Date: 14 Sep 2019 07:31:11
Message: <5d7ccf7f$1@news.povray.org>
On 9/13/19 11:07 AM, William F Pokorny wrote:
...
> 
> I'll create a branch with your fixes and open an issue so they won't be 
> forgotten.
> 

See:

https://github.com/POV-Ray/povray/issues/382

Bill P.


Post a reply to this message

From: Subclick
Subject: Re: A Unix script and a few sample scenes
Date: 15 Sep 2019 15:19:27
Message: <87o8zl74g1.fsf@sp.am>
Thank you very much.


Post a reply to this message

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