|
|
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)
|
|
|
|
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
|
|
|
|
"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)
|
|