POV-Ray : Newsgroups : povray.binaries.utilities : Wood design program test version Server Time
26 May 2024 14:22:54 EDT (-0400)
  Wood design program test version (Message 7 to 16 of 39)  
<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Mr
Subject: Re: Wood design program test version
Date: 28 Jun 2022 07:30:00
Message: <web.62bae50e4b788a9816086ed06830a892@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> "Preview And Output"
>
> I do not prepare a file chooser, so you can only change the file name. The
> produced folder located at the folder of the program. You can render the example
> (show tree function.pov) in it.
>
> You can change the output files yourself, too. I will introduce the output files
> later.

this looks like it's going to be a fun tool !


Post a reply to this message

From: Thomas de Groot
Subject: Re: Wood design program test version
Date: 28 Jun 2022 07:48:10
Message: <62baea7a$1@news.povray.org>
Op 28-6-2022 om 10:38 schreef And:
> "Preview And Output"
> 
> I do not prepare a file chooser, so you can only change the file name. The
> produced folder located at the folder of the program. You can render the example
> (show tree function.pov) in it.
> 
> You can change the output files yourself, too. I will introduce the output files
> later.

Thank you very much indeed. I am truly impressed. As Maurice said: this 
is going to be fun to play with. I shall let you know my thoughts while 
testing this.

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: Wood design program test version
Date: 28 Jun 2022 09:30:00
Message: <web.62bb01384b788a98d7f62f03aa81652d@news.povray.org>
I must introduce these output files. Because I need your participation on the
composite of the patterns.
Although I leave only one (show tree function.pov) to let you tried to render
the example, but I know many people here have the ability to modify something
source ....inc.


Post a reply to this message

From: And
Subject: Re: Wood design program test version
Date: 28 Jun 2022 09:55:00
Message: <web.62bb06d94b788a98d7f62f03aa81652d@news.povray.org>
"..._angular_distortion_(0, 1, 2).inc"
connects the angular shape. The more characteristic heights you set, the more
files are produced.
Then
"..._angular_shape_factor.inc"
assemble them.

"..._radial_speed".

The files above is no need to change, if you have thoughts about them, you
should tell me. Because using program to generate these data is more convenient
than DIY.



"..._time_and_ring"
This file composite the radial speed, angular shape distortion,(and knot shape
distortion in the future) to a single function "time_function(x,y,z)", it input
position, output 'age at that position', but in fact :P, its output is zero at
the tree base <0,0,0>, and get bigger when you keep away from the (tree)center.
The Unit is year.

Here it produce two additional function 'pinstripes' and 'wood band', these two
functions output value 0~1, 0 represent early-wood, 1 represent late-wood(dark
part).


Post a reply to this message


Attachments:
Download 'files of data output.png' (130 KB)

Preview of image 'files of data output.png'
files of data output.png


 

From: And
Subject: Re: Wood design program test version
Date: 28 Jun 2022 10:15:00
Message: <web.62bb0be14b788a98d7f62f03aa81652d@news.povray.org>
"tree_colormap_temp_file.inc" is the place I composite (all) patterns, ... to
the output pigment.
I directly copy this file from ...which made by myself.
Output pigment is named 'diffuse_pigment'. It has rgb colors. In the future it
is necessary to produce grayscale output for the roughness map, normal map...,
too.

"..._bumps_pattern_detail.inc" prepares the thin pattern, fiber, ... for the
"tree_colormap_temp_file.inc"

You can produce more thin pattern here, using the macro I write
generate_thin_circled_pattern_f_input_t_theta_h(
....
), I only finish this one(in fact two or three, but they appointed by this one)
for generate thin pattern.

You can use any function produced by yourself.

You can change these files above.


Post a reply to this message


Attachments:
Download 'files of the output.png' (141 KB)

Preview of image 'files of the output.png'
files of the output.png


 

From: And
Subject: Re: Wood design program test version
Date: 28 Jun 2022 10:15:00
Message: <web.62bb0cd04b788a98d7f62f03aa81652d@news.povray.org>
"Mr" <m******r******at_hotmail_dot_fr> wrote:
> this looks like it's going to be a fun tool !

Thomas de Groot <tho### [at] degrootorg> wrote:
> Thank you very much indeed. I am truly impressed. As Maurice said: this
> is going to be fun to play with. I shall let you know my thoughts while
> testing this.
>
> --
> Thomas


Thanks two... 'fun' . ..


Post a reply to this message

From: And
Subject: Re: Wood design program test version
Date: 1 Jul 2022 08:30:00
Message: <web.62bee7694b788a98f50b25a7aa81652d@news.povray.org>
The 'macro' which I should introduce is
generate_thin_circled_pattern_f_input_t_theta_h(
first_time, last_time, d_boundary_time0, d_boundary_time1, t_radial_bump_size,
time_node_amount,
bump_size_along_theta, theta_pos_random_factor,
min_h, max_h, d_boundary_h0, d_boundary_h1,
seed_m,
r_vs_t, h_vs_r_ratio
)

It is located at bump_pattern_base_function_macros.inc

The goal of it is to generate thin pattern, just like f_bumps(x,y,z).
But it is on the different coordinate system(I say that 'tree log coordinate' in
this case), this macro just generate an output_f = function(time, theta, h) {
....
}



It generate bumps along theta by generating an position array[seg_amount] during
0~2*pi, it consult the input 'bump_size_along_theta' to determine the
seg_amount, the shorter the bump size, the larger the seg_amount.

'theta_pos_random_factor' controls the randomize of the positions. When it is
zero, the position is equally spaced on theta, when it is 1, the position has
the max randomize.


Post a reply to this message


Attachments:
Download 'generate pattern macro var_theta.png' (38 KB)

Preview of image 'generate pattern macro var_theta.png'
generate pattern macro var_theta.png


 

From: And
Subject: Re: Wood design program test version
Date: 1 Jul 2022 08:55:00
Message: <web.62beed364b788a98f50b25a7aa81652d@news.povray.org>
'first_time', 'last_time', 'd_boundary_time0', 'd_boundary_time1' define the
boundaries of the pattern on 'time value', you can regarded it as the radial
direct pattern.

't_radial_bump_size' as in attachment picture, unit is year.

'time_node_amount' is because, if it generate only one continuous pattern on
theta, the 'bump_size_along_theta' cannot maintain, the bump_size will get
smaller at the smaller radius. So I generate several patterns. On different
radius, I apply different seg_amount to theta position array[seg_amount]
It is the origin of it needing 'time_node_amount' to determine the amount of
such pattern on different radius. You can set it 3~5 it should sufficient.


Post a reply to this message


Attachments:
Download 'generate pattern macro var_t.png' (38 KB)

Preview of image 'generate pattern macro var_t.png'
generate pattern macro var_t.png


 

From: And
Subject: Re: Wood design program test version
Date: 1 Jul 2022 09:15:00
Message: <web.62bef1f04b788a98f50b25a7aa81652d@news.povray.org>
Such design is assumed the ideal situation. In fact, I'm planning to revise it.

It is obvious imperfect along the h-direct, When I ..'veneer' it, it shows no
change pattern (along theta).


Post a reply to this message


Attachments:
Download 'show board2 radiosity.png' (1035 KB)

Preview of image 'show board2 radiosity.png'
show board2 radiosity.png


 

From: And
Subject: Re: Wood design program test version
Date: 3 Jul 2022 03:35:00
Message: <web.62c145db4b788a98f10dbcecaa81652d@news.povray.org>
The Java version which I used is Java SE 8 (1.8.0_91) currently. So the version
above it should be acceptable.


Post a reply to this message

<<< Previous 6 Messages Goto Latest 10 Messages Next 10 Messages >>>

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