POV-Ray : Newsgroups : povray.binaries.utilities : Wood program but still develop Server Time
28 Mar 2024 17:56:16 EDT (-0400)
  Wood program but still develop (Message 14 to 23 of 65)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: And
Subject: Re: Wood program but still develop
Date: 9 May 2022 09:55:01
Message: <web.62791c075b6ed249e941c43aa81652d@news.povray.org>
And the program look.

Not very finish. But it can run, and can output file.(.pov and several .inc)

Does not contain any color_map edit or design yet. I still code them in Pov-ray
and seek a solution for the(more complex) combine.


Post a reply to this message


Attachments:
Download 'program manipulate.mp4.dat' (4394 KB)

From: Thomas de Groot
Subject: Re: Wood program but still develop
Date: 9 May 2022 10:28:35
Message: <62792513$1@news.povray.org>
Op 9-5-2022 om 15:49 schreef And:
> And the program look.
> 
> Not very finish. But it can run, and can output file.(.pov and several .inc)
> 
> Does not contain any color_map edit or design yet. I still code them in Pov-ray
> and seek a solution for the(more complex) combine.


Really impressive indeed. I am following this development with interest.

-- 
Thomas


Post a reply to this message

From: And
Subject: Re: Wood program but still develop
Date: 9 May 2022 12:45:00
Message: <web.627944025b6ed249e941c43aa81652d@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Op 9-5-2022 om 15:49 schreef And:
> > And the program look.
> >
> > Not very finish. But it can run, and can output file.(.pov and several .inc)
> >
> > Does not contain any color_map edit or design yet. I still code them in Pov-ray
> > and seek a solution for the(more complex) combine.
>
>
> Really impressive indeed. I am following this development with interest.
>
> --
> Thomas

Thank you.

It needs several improve. Some are very basic but don't complete yet.
I will release it here for tests when it is ok(and at least when I learn how to
compile a java project to a executable program, but I should need several
months).


Post a reply to this message

From: And
Subject: Re: Wood program but still develop
Date: 10 May 2022 05:25:00
Message: <web.627a2e785b6ed249e941c43aa81652d@news.povray.org>
See again this picture.
https://www.pinterest.com/pin/451415562633095644/

with annotate:
https://www.britannica.com/science/growth-ring-plant-anatomy


Post a reply to this message

From: Mr
Subject: Re: Wood program but still develop
Date: 10 May 2022 08:15:00
Message: <web.627a571c5b6ed2416086ed06830a892@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > I will post some pictures in the following days. Not very high grade,but
> > has reached a stage.
>
> The basic idea here..

All of these results are awesome !


Post a reply to this message

From: And
Subject: Re: Wood program but still develop
Date: 13 May 2022 12:15:00
Message: <web.627e839d5b6ed24a7adfb56aa81652d@news.povray.org>
"Mr" <m******r******at_hotmail_dot_fr> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > "And" <49341109@ntnu.edu.tw> wrote:
> > > I will post some pictures in the following days. Not very high grade,but
> > > has reached a stage.
> >
> > The basic idea here..
>
> All of these results are awesome !


Thanks. I'm trying to generate small speckles.

It is an emphasis, too.

And I'm thinking how composite this to the base color. I use "average" in this
picture. But this method is fail to more requirements. Sometimes speckles should
darker than the base color. the method cannot control it well.


Post a reply to this message


Attachments:
Download 'show tree function test bumps t y15 - y60.png' (900 KB)

Preview of image 'show tree function test bumps t y15 - y60.png'
show tree function test bumps t y15 - y60.png


 

From: Bald Eagle
Subject: Re: Wood program but still develop
Date: 13 May 2022 15:25:00
Message: <web.627eb0615b6ed241f9dae3025979125@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:

> Thanks. I'm trying to generate small speckles.
>
> It is an emphasis, too.
>
> And I'm thinking how composite this to the base color. I use "average" in this
> picture. But this method is fail to more requirements. Sometimes speckles should
> darker than the base color. the method cannot control it well.

I think that this is going to be another advanced-granite texture odyssey.

You will probably need to use functions, and some way to introduce noise, in
order to randomize those color variations in the growth rings.

If you're going to tackle that, I'd probably start by making a list of common
features of real wood, and think about how to implement each of those, and where
they need to be in a hierarchy.

Different growth ring thicknesses. (one ring vs another)
Variable growth ring thickness (change in thickness along any given ring)
Asymmetric growth ring thickness. (a bent or curved branch will be thick on one
side and thin on the other)
Alternating light-dark / thick-thin growth rings
Darkening along a localized group of rings due to mold/fungus, etc.
Holes due to boring insects
"checking" (cracks) due to splitting when cut wood is rapidly dried
a more granular texture for the rings to represent the fibrous nature of the
wood.
SSLT

Diagrams or photos of wood would likely help you envision the types of functions
that would control each of those attributes, and suggest ways to combine them
into a final overall texture/material.
There are all of the different ways to cut wood to get different grain patterns
and expansion/contraction behaviour.

Then there's the fun of formulating pigment/texture maps for all of the
different species...  ;)


Post a reply to this message

From: And
Subject: Re: Wood program but still develop
Date: 14 May 2022 02:35:00
Message: <web.627f4c975b6ed24a7adfb56aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
>
> > Thanks. I'm trying to generate small speckles.
> >
> > It is an emphasis, too.
> >
> > And I'm thinking how composite this to the base color. I use "average" in this
> > picture. But this method is fail to more requirements. Sometimes speckles should
> > darker than the base color. the method cannot control it well.
>
> I think that this is going to be another advanced-granite texture odyssey.
>
> You will probably need to use functions, and some way to introduce noise, in
> order to randomize those color variations in the growth rings.
>

I always use functions, till the pigment composite.


> If you're going to tackle that, I'd probably start by making a list of common
> features of real wood, and think about how to implement each of those, and where
> they need to be in a hierarchy.

Yes, I'm dealing with it.

>
> Different growth ring thicknesses. (one ring vs another)

It has done, notice the program manipulate video 0:12 ~ 0:29, it control the
radial growth speed vs year.
Than program output the year_vs_r function using select(r - r0, , ...),
than composite them to time_function(x, y, z) with angular distortion.

> Variable growth ring thickness (change in thickness along any given ring)

This is a good idea, I think I should add it.

> Asymmetric growth ring thickness. (a bent or curved branch will be thick on one
> side and thin on the other)

Not uniform ring thickness I wonder how to implement. Basically, if it can
implement in POV-Ray, than it can do in principle. My Java program can output
some data and it can be numerous like the attachment.


Post a reply to this message


Attachments:
Download 'style.png' (87 KB)

Preview of image 'style.png'
style.png


 

From: And
Subject: Re: Wood program but still develop
Date: 14 May 2022 03:15:00
Message: <web.627f566b5b6ed24a7adfb56aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> Alternating light-dark / thick-thin growth rings

I'm not sure. Is this the previous item I reply but I interpret your meaning
wrong?



> Darkening along a localized group of rings due to mold/fungus, etc.

I think it shoud contain this, too. But wait until I solve every situation I
encounter.



> Holes due to boring insects
> "checking" (cracks) due to splitting when cut wood is rapidly dried

Are you a professional person? Maybe we can discuss it. I don't know so much
about it.



> a more granular texture for the rings to represent the fibrous nature of the
> wood.

It will be competent, I'm thinking how to do this, too.



> SSLT

I'm not make efforts for the POV-Ray render. I only do the texture in POV-Ray
than I want to output the (maybe UV-map) image to another program. It can form
the pigment, ... at least.


>
> Diagrams or photos of wood would likely help you envision the types of functions
> that would control each of those attributes, and suggest ways to combine them
> into a final overall texture/material.


> There are all of the different ways to cut wood to get different grain patterns
> and expansion/contraction behaviour.

I need realize this, too.



>
> Then there's the fun of formulating pigment/texture maps for all of the
> different species...  ;)

My living country don't have much ... oak, pine ..., which species I see in the
book. (Not the same)
I'm not very familiar with these.


Post a reply to this message

From: Bald Eagle
Subject: Re: Wood program but still develop
Date: 14 May 2022 18:20:00
Message: <web.62802a4e5b6ed241f9dae3025979125@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:

> > Asymmetric growth ring thickness. (a bent or curved branch will be thick on one
> > side and thin on the other)
>
> Not uniform ring thickness I wonder how to implement. Basically, if it can
> implement in POV-Ray, than it can do in principle. My Java program can output
> some data and it can be numerous like the attachment.

You could just an angle value to multiply the radius or thickness by.
use atan2, and make sure the output of the function varies from 0 to 1 from one
side of the unit circle to the other.  then multioply by some amount of bend and
then add 1, to get a range from 1 to N.

If you know how to do things like geometric inversion, you could use that to
distort the cylinder like a torus is distorted into a Dupin cylide.

There may be other ways as well.


Post a reply to this message

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

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