POV-Ray : Newsgroups : povray.binaries.utilities : Wood design program test version : Re: Wood design program test version Server Time
25 Apr 2024 01:10:04 EDT (-0400)
  Re: Wood design program test version  
From: And
Date: 5 Jul 2022 12:15:00
Message: <web.62c462e14b788a98d75d356baa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> The length units I use are from the metric system; whether they are mm,
> cm, m, or km, is of no importance and only relevant within a given scene
> of course.
>
> Where things go wrong, starts with the exported ****_radial_speed.inc
> file where
>
> #local r_pos = array[7][4] {
> { 0,00, 0,053815, 0,10493, 0,161445 },
> { 0,161445, 0,217235, 0,273236, 0,336914 },
> { 0,336914, 0,397284, 0,47667, 0,533589 },
> { 0,533589, 0,571795, 0,600867, 0,622288 },
> { 0,622288, 0,662945, 0,675592, 0,719823 },
> { 0,719823, 0,749311, 0,79926, 0,843443 },
> { 0,843443, 0,891902, 0,946315, 0,99775 },
> }
>
> #local year_pos = array[7][4] {
> { 0,00, 2,60, 5,20, 7,80 },
> { 7,80, 10,366667, 12,933333, 15,50 },
> { 15,50, 17,933333, 20,366667, 22,80 },
> { 22,80, 24,433333, 26,066667, 27,70 },
> { 27,70, 30,80, 33,90, 37,00 },
> { 37,00, 39,066667, 41,133333, 43,20 },
> { 43,20, 45,466667, 47,733333, 50,00 },
> }
>
> and all other exported include files where something like this is
> written. POV-Ray does not like it. :-)
>
> It would be OK if this were:
>
> #local r_pos = array[7][4] {
> { 0.00, 0.053815, 0.10493, 0.161445 },
> { 0.161445, 0.217235, 0.273236, 0.336914 },
> { 0.336914, 0.397284, 0.47667, 0.533589 },
> { 0.533589, 0.571795, 0.600867, 0.622288 },
> { 0.622288, 0.662945, 0.675592, 0.719823 },
> { 0.719823, 0.749311, 0.79926, 0.843443 },
> { 0.843443, 0.891902, 0.946315, 0.99775 },
> }
>
> #local year_pos = array[7][4] {
> { 0.00, 2.60, 5.20, 7.80 },
> { 7.80, 10.366667, 12.933333, 15.50 },
> { 15.50, 17.933333, 20.366667, 22.80 },
> { 22.80, 24.433333, 26.066667, 27.70 },
> { 27.70, 30.80, 33.90, 37.00 },
> { 37.00, 39.066667, 41.133333, 43.20 },
> { 43.20, 45.466667, 47.733333, 50.00 },
> }
>
> which, I suppose, is what you intend.
>
> --
> Thomas


Oh, this is important. I just fix it(but need you testing). Thank you.

No any other change. except in demo scene, I rotate<0,0,0> instead of
rotate<0,0,90> the wood-block.


Post a reply to this message


Attachments:
Download 'wooddesignprogram alpha ver20220705.rar.dat' (966 KB)

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