POV-Ray : Newsgroups : povray.binaries.utilities : Wood design program test version Server Time
31 Oct 2024 12:17:48 EDT (-0400)
  Wood design program test version (Message 30 to 39 of 39)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: Wood design program test version
Date: 7 Jul 2022 11:50:14
Message: <62c700b6$1@news.povray.org>
Forgot to mention, I used your version WoodDesignProgram alpha ver20220705.

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: Wood design program test version
Date: 8 Jul 2022 03:30:00
Message: <web.62c7da1c4b788a98e660d035aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Almost error-free! :-)
>
> In output file: example1_bumps_pattern_detail.inc  there are still five
> instances of offensive comma's that need to be replaced by dots. I show
> them here below with an arrow:
>
> //----start code----
> #include "bumps_detail_pattern_macros.inc"
> #declare f_height_for_bumps_extent =
> generate_bump_follow_height_trend_f(20.0);
>
> // ------------ fiber ------------
> #declare f_thin_fiber_mockup0 =
> generate_thin_circled_pattern_f_input_t_theta_h(
> 10.0, 60.0, 3.0, 3.0, 0.015, 5,
> 0.007, 0,32,                      <=== 0,32 should be 0.32
> 0.00, 2.50, 0.14, 0.15,
> seed(44),
> 0.014, 20.00
> );
>
> #declare f_thin_fiber_mockup1 =
> generate_thin_circled_pattern_f_input_t_theta_h(
> 10.0, 60.0, 3.0, 3.0, 0.017, 4,
> 0.011, 0,32,                      <=== 0,32 should be 0.32
> 0.00, 2.50, 0.14, 0.15,
> seed(45),
> 0.014, 20.00
> );
>
>
> #declare f_thin_fiber =
> function(x, y, z, time_value) {
> +0,50*f_thin_fiber_mockup0(           <=== 0,50 should be 0.50
>      time_value,
>      f_theta(x,y),
>      f_height_for_bumps_extent(x, y, z)
> )
> +0,50*f_thin_fiber_mockup1(           <=== 0,50 should be 0.50
>      time_value,
>      f_theta(x,y),
>      f_height_for_bumps_extent(x, y, z)
> )
> }
>
> // ------------- large color ---------------------------
>
> #declare f_large_color_block_mockup =
> generate_thin_circled_pattern_f_input_t_theta_h(
> 10.0, 60.0, 3.0, 3.0, 2.32, 4,
> 0.144, 0,32,                      <=== 0,32 should be 0.32
> 0.00, 2.50, 0.14, 0.15,
> seed(25),
> 0.014, 20.00
> );
>
> #declare f_large_color_block =
> function(x, y, z, time_value) {
> f_adjust_sharp_distribution(
>      x, y, z,
>      f_large_color_block_mockup(
>          time_value,
>          f_theta(x,y),
>          f_height_for_bumps_extent(x, y, z)
>      )
> )
> }
> //----end code----
>
> With these corrected, the application works!


Yes, I correct it now..
I correct another problem for ...maybe non-windows system cannot output files
when click that "output" button. But need to be tried.

And I add an "exit" function in a menu.


Post a reply to this message


Attachments:
Download 'wooddesignprogram alpha ver20220708.rar.dat' (967 KB)

From: And
Subject: Re: Wood design program test version
Date: 8 Jul 2022 03:45:00
Message: <web.62c7df654b788a98e660d035aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
>
> I guess that those numbers may change with the input by the user (I did
> not see that happen, though). You know best where those particular
> numbers come from.
>

I have not finished that scheme yet. In fact, the GUI for controlling the
detailed pattern doesn't start to be designed.
You can change that part (..._bumps_pattern_detail.inc) yourself. If my memory
serves me right, the functions produced here is prepare for the
"tree_colormap_temp_file.inc" only. I will try different combines, too.


> Next, I shall try to give my views/ideas on the layout, comprehensive
> use, etc, of the application.
>
> --
> Thomas


:)


Post a reply to this message


Attachments:
Download 'wooddesignprogram alpha ver20220708.zip' (981 KB)

From: jr
Subject: Re: Wood design program test version
Date: 12 Jul 2022 07:35:00
Message: <web.62cd5afe4b788a981be3cd4b6cde94f1@news.povray.org>
hi,

(it is a day for "bugs", it seems :-))


"And" <49341109@ntnu.edu.tw> wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> > ...
> > Next, I shall try to give my views/ideas on the layout, comprehensive
> > use, etc, of the application.

tells me it works on MS Windows, but not (for me) on Linux (like 'rtr' </sigh>).

after exiting the program and changing into the 'example1' directory, POV-Ray
does not like the spaces in the file name, so when:

  $ povparse +i"show tree function.pov"

Problem with option setting
/usr/local/bin/povray-3.8.0-beta.2 +w32 +h32 -d -f -p -gr -gs +ishow tree
function.pov
Failed to parse command-line option

another error occurs because the 'pretrace_*' settings depend on image size, eg
with the (small) WxH settings above.

however, file renamed and using a large enough WxH, I get another error.  not
even sure what the problem is supposed to be (since the code looks kosher (to
the untutored eye)):

File 'functions.inc' line 9: Parse Warning: Scene language version changed after
 a 'default' statement. The changes in defaults normally associated with the
 language version change are not applied.
File 'example1_angular_shape_factor.inc' line 10: Possible Parse Error:
 Suspicious identifier found in function! If you want to call a function make
 sure the function you call has been declared. If you call an internal function,
 make sure you have included 'functions.inc'.
File 'example1_angular_shape_factor.inc' line 10: Parse Error: Expected
 'operator', ( found instead
Fatal error in parser: Cannot parse input.
Render failed


regards, jr.


Post a reply to this message

From: And
Subject: Re: Wood design program test version
Date: 13 Jul 2022 03:20:00
Message: <web.62ce71f44b788a989ac997d1aa81652d@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> (it is a day for "bugs", it seems :-))
>
>
> "And" <49341109@ntnu.edu.tw> wrote:
> > Thomas de Groot <tho### [at] degrootorg> wrote:
> > > ...
> > > Next, I shall try to give my views/ideas on the layout, comprehensive
> > > use, etc, of the application.
>
> tells me it works on MS Windows, but not (for me) on Linux (like 'rtr' </sigh>).
>
> after exiting the program and changing into the 'example1' directory, POV-Ray
> does not like the spaces in the file name, so when:
>
>   $ povparse +i"show tree function.pov"
>
> Problem with option setting
> /usr/local/bin/povray-3.8.0-beta.2 +w32 +h32 -d -f -p -gr -gs +ishow tree
> function.pov
> Failed to parse command-line option
>
> another error occurs because the 'pretrace_*' settings depend on image size, eg
> with the (small) WxH settings above.
>
> however, file renamed and using a large enough WxH, I get another error.  not
> even sure what the problem is supposed to be (since the code looks kosher (to
> the untutored eye)):
>
> File 'functions.inc' line 9: Parse Warning: Scene language version changed after
>  a 'default' statement. The changes in defaults normally associated with the
>  language version change are not applied.
> File 'example1_angular_shape_factor.inc' line 10: Possible Parse Error:
>  Suspicious identifier found in function! If you want to call a function make
>  sure the function you call has been declared. If you call an internal function,
>  make sure you have included 'functions.inc'.
> File 'example1_angular_shape_factor.inc' line 10: Parse Error: Expected
>  'operator', ( found instead
> Fatal error in parser: Cannot parse input.
> Render failed
>
>
> regards, jr.


Thanks.
It should copy some text but it didn't.
(I should use \ not // for the file path connect)

I fix it and attach a new version.
No any other change, besides adding axis on the angular-shape-editor for
identify the direction.


Post a reply to this message


Attachments:
Download 'wooddesignprogram alpha ver20220713.zip' (982 KB)

From: jr
Subject: Re: Wood design program test version
Date: 13 Jul 2022 04:35:00
Message: <web.62ce83224b788a981be3cd4b6cde94f1@news.povray.org>
hi,

"And" <49341109@ntnu.edu.tw> wrote:
> I fix it and attach a new version.
> No any other change, besides adding axis on the angular-shape-editor for
> identify the direction.

works, thanks.  now need to find time to play.  cheers.


regards, jr.


Post a reply to this message

From: And
Subject: Re: Wood design program test version
Date: 14 Jul 2022 02:55:00
Message: <web.62cfbd8f4b788a989ac997d1aa81652d@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "And" <49341109@ntnu.edu.tw> wrote:
> > I fix it and attach a new version.
> > No any other change, besides adding axis on the angular-shape-editor for
> > identify the direction.
>
> works, thanks.  now need to find time to play.  cheers.
>
>
> regards, jr.

Glad to hear that works.


Post a reply to this message

From: And
Subject: Re: Wood design program test version
Date: 26 Sep 2022 12:55:00
Message: <web.6331d7d84b788a98d7b3739daa81652d@news.povray.org>
Hi, ...
I release a new test version here.
I freeze the curve diagram when the page uneditable.

And make an earlywood-latewood ratio editor.

I wrote many code to generate the pattern function..., instead of copy an entity
file. But looks not so different, just prepared for the future editor.


Post a reply to this message


Attachments:
Download 'wooddesignprogram alpha ver20220926.rar.dat' (1104 KB)

From: And
Subject: Re: Wood design program test version
Date: 26 Sep 2022 13:00:00
Message: <web.6331da624b788a98d7b3739daa81652d@news.povray.org>
..zip version


Post a reply to this message


Attachments:
Download 'wooddesignprogram alpha ver20220926.zip' (1119 KB)

From: And
Subject: Re: Wood design program test version
Date: 27 Dec 2022 11:40:00
Message: <web.63ab1f304b788a9895eb3bf9aa81652d@news.povray.org>
During these several months I'm practicing my *basic* programming ability(mostly
by a project I'm writing for another person), and interrupt this project.
I have learned something indeed like using "generics", "breakpoint debugger",
and
a bit more programming structure such as interface.
(Java part)

I will continue this wood design project in the future(at least two-three months
after). I want to refactor many of my components of it, too.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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