POV-Ray : Newsgroups : povray.binaries.utilities : Wood program but still develop Server Time
24 Apr 2024 02:07:37 EDT (-0400)
  Wood program but still develop (Message 28 to 37 of 68)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: And
Subject: Re: Wood program but still develop
Date: 16 May 2022 09:20:00
Message: <web.62824ec25b6ed24d2153b25aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > "Bald Eagle" <cre### [at] netscapenet> wrote:
> When you abrade wood, erode it - like with driftwood, or stain it, you get an
> enhancement of the grain.  This is due to the alternating hard/soft regions, and
> usually the soft regions are light, and the harder regions are more brown.

Thanks for this knowledge.




>
> > > 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.
>
> I don't do anything with wood for a living, but I've felled, sawn, and worked
> with lots of different wood.  And made plenty of mistakes.

Here is no chance to fell a tree, not to mention I'm living in a city. Such a
thing is secluded to me, so I have respect to the people who can do these
things.



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


That's right, I will use pigment_map, but this is a picture I rendered, improved
the defect yesterday, and this is a two layered(in fact average of two) pattern
with different fiber length, eliminate some artifact about the coherence.


Post a reply to this message


Attachments:
Download 'show tree function two fiber length 0.017m 0.048m.png' (1763 KB)

Preview of image 'show tree function two fiber length 0.017m 0.048m.png'
show tree function two fiber length 0.017m 0.048m.png


 

From: And
Subject: Re: Wood program but still develop
Date: 17 May 2022 09:20:00
Message: <web.6283a0ca5b6ed24d2153b25aa81652d@news.povray.org>
Before continue the pigment_map and color, I tried a incredible detail idea
yesterday that I thought recently. Can be a new target to complete in the
future.

It is the knot.
But I'm willing to develop this feature with not so accurate shape only, I'd
like to implement it with (as much as possible) simple mathematical formula.


https://www.researchgate.net/figure/Longitudinal-section-through-a-tree-trunk-and-branch-Mueller-et-al-2006_fig1_274618
751


Post a reply to this message


Attachments:
Download '2d tree knot test.png' (1405 KB)

Preview of image '2d tree knot test.png'
2d tree knot test.png


 

From: And
Subject: Re: Wood program but still develop
Date: 24 May 2022 05:05:00
Message: <web.628c9ec65b6ed24213813f7aa81652d@news.povray.org>
Composite pigment_map and functions is more cumbersome than I think. I only
treat preconceived it easy.

The earlywood color and merge effect is not bad, but maybe strange at latewood.
Not know, should look the side cross section,  but for the purpose of trying the
pigment/color_map as quickly, I don't fix that varying function (vs height) yet.

This picture take 18m47s render time, It will slow down when combine more
(layer, concept)s.
And my main method is distinguish the heartwood, inner-sapwood, mid-sapwood,
outer-sapwood..., this one I only detail the mid-sapwood.


Post a reply to this message


Attachments:
Download 'show tree function.png' (830 KB)

Preview of image 'show tree function.png'
show tree function.png


 

From: Bald Eagle
Subject: Re: Wood program but still develop
Date: 24 May 2022 06:55:00
Message: <web.628cb8f85b6ed241f9dae3025979125@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:

> This picture take 18m47s render time, It will slow down when combine more
> (layer, concept)s.

That seems like a very long time for such a simple render.  I would imagine that
you can get a similar result a lot faster if the troubles were identified and
optimised.  I like to consult Inigo Quilez, and Martijn Steinrucker (Art of
Code), since their approach to computer graphics is very different, and forces
me to consider different approaches and ways to simplify and optimize any
function-based code I'm interested in writing.
TOK always has a way of slicing through a lot of these problems like a laser,
but I think it's very educational to explore a number of approaches before
others offer up solutions of their own.

> And my main method is distinguish the heartwood, inner-sapwood, mid-sapwood,
> outer-sapwood..., this one I only detail the mid-sapwood.

As slow as it is, I think that middle layer is looking great, and your progress
in this project is definitely showing incremental successes!  :)


Post a reply to this message

From: And
Subject: Re: Wood program but still develop
Date: 24 May 2022 10:10:00
Message: <web.628ce6465b6ed24213813f7aa81652d@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
>
> > This picture take 18m47s render time, It will slow down when combine more
> > (layer, concept)s.
>
> That seems like a very long time for such a simple render.  I would imagine that
> you can get a similar result a lot faster if the troubles were identified and
> optimised.  I like to consult Inigo Quilez, and Martijn Steinrucker (Art of
> Code), since their approach to computer graphics is very different, and forces
> me to consider different approaches and ways to simplify and optimize any
> function-based code I'm interested in writing.
Thank you. I never develop my (not chinese)social circle besides news.povray.
Maybe I can try someday.

And, that rendered picture is a 3D one, not a pattern. It turn on radiosity and
rendered using my notebook, so I'm not suspect this situation too much.



> TOK always has a way of slicing through a lot of these problems like a laser,
> but I think it's very educational to explore a number of approaches before
> others offer up solutions of their own.
>
> > And my main method is distinguish the heartwood, inner-sapwood, mid-sapwood,
> > outer-sapwood..., this one I only detail the mid-sapwood.
>
> As slow as it is, I think that middle layer is looking great, and your progress
> in this project is definitely showing incremental successes!  :)

Thanks.


Post a reply to this message

From: And
Subject: Re: Wood program but still develop
Date: 24 May 2022 10:30:00
Message: <web.628ceade5b6ed24213813f7aa81652d@news.povray.org>
With a very similar setting, whole box, I redraw the shape. There is an artifact
line...,
Now I know it does not finish yet.

My personal purpose is output the UV-map for some mesh 3D model, I modeling them
in Blender now.


Post a reply to this message


Attachments:
Download 'show tree function.png' (1623 KB)

Preview of image 'show tree function.png'
show tree function.png


 

From: jr
Subject: Re: Wood program but still develop
Date: 25 May 2022 11:00:00
Message: <web.628e43bf5b6ed24879e196a6cde94f1@news.povray.org>
hi,

"And" <49341109@ntnu.edu.tw> wrote:
> ...
> Now I know it does not finish yet.

do you always do "blocks", or have you put the texture to use yet?  (thinking,
eg, the distribution 'woodbox.pov' scene, or such)


regards, jr.


Post a reply to this message

From: And
Subject: Re: Wood program but still develop
Date: 25 May 2022 11:35:00
Message: <web.628e4c0b5b6ed24a93c4999aa81652d@news.povray.org>
First experiment to apply knot distortion to the base shape.

Very experimental trying. potentiality...?


Post a reply to this message


Attachments:
Download 'tree knot.png' (911 KB)

Preview of image 'tree knot.png'
tree knot.png


 

From: And
Subject: Re: Wood program but still develop
Date: 25 May 2022 12:35:00
Message: <web.628e59295b6ed24a93c4999aa81652d@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "And" <49341109@ntnu.edu.tw> wrote:
> > ...
> > Now I know it does not finish yet.
>
> do you always do "blocks", or have you put the texture to use yet?  (thinking,
> eg, the distribution 'woodbox.pov' scene, or such)
>
>
> regards, jr.

"Now I know it does not finish yet." with this sentence I mean that I cannot
adjust the texture easily. The program outputs the texture result(only shape
distortion detail) --> color apply...to what I want, is semi-automatic.

I did not apply it to 3D models yet. But I know it certainly can apply.
I have tried mesh camera of POV-Ray.

This image is what I want to attach the material. I have made several models,
and I want to sell them on TurboSquid to rescue my poor situation: never
accomplish important things, no income for a long time, ...

I will share the program here in the form of freeware(Not open source), this is
because the program is the first usable one which I develop (To myself
mainly), and it highly dependent on POV-Ray, I know I do not on the step
developing commercial program yet, I need some feedback so.


Post a reply to this message


Attachments:
Download 'wardrope.png' (1837 KB)

Preview of image 'wardrope.png'
wardrope.png


 

From: Thomas de Groot
Subject: Re: Wood program but still develop
Date: 26 May 2022 02:09:02
Message: <628f197e$1@news.povray.org>
Op 25/05/2022 om 17:32 schreef And:
> First experiment to apply knot distortion to the base shape.
> 
> Very experimental trying. potentiality...?

Oh yes! This looks very knot-like, so to speak. You are on the right 
track indeed.

-- 
Thomas


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.