POV-Ray : Newsgroups : povray.binaries.utilities : Wood design program test version : Re: Wood design program test version Server Time
26 Apr 2024 02:39:20 EDT (-0400)
  Re: Wood design program test version  
From: Thomas de Groot
Date: 7 Jul 2022 11:42:49
Message: <62c6fef9$1@news.povray.org>
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!

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.

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

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