POV-Ray : Newsgroups : povray.general : INQUIRY: Wooden Planks Texture Server Time
24 Nov 2024 16:51:15 EST (-0500)
  INQUIRY: Wooden Planks Texture (Message 1 to 10 of 28)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Sven Littkowski
Subject: INQUIRY: Wooden Planks Texture
Date: 30 Mar 2018 19:43:16
Message: <5abecb94@news.povray.org>
Hi,

for my upcoming 1850s Mississippi Paddle-Wheel Steamboat I have
questions about a number of features that I never needed that way
before. Here is my next inquiry.

Many parts of the steamboats were constructed using wooden planks (each
40cm = wide). I know I can create the separations between the planks by
using a NORMAL that creates deepened straight lines. No problem here.
But I also want to have a lumber texture for each plank, and it cannot
be a continuous grain texture. Each plank needs to have its own grain
that does not continue with the neighboring planks. And that is my
question: how to achieve that if I try to avoid using IMAGE_MAPs?

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message

From: Bald Eagle
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 30 Mar 2018 20:40:01
Message: <web.5abed7cf3059e6915cafe28e0@news.povray.org>
http://news.povray.org/povray.binaries.images/thread/%3C5a0a0046%40news.povray.org%3E/?ttop=418786&mtop=418822&moff=30


Post a reply to this message

From: Sven Littkowski
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 31 Mar 2018 01:52:42
Message: <5abf222a$1@news.povray.org>
Yes, that will do.

What a great work that is that you did there. It is exactly what I need.

But it is a looong file, and my intention is to change it to a macro
where I can adjust through the macro parameters the length and width of
the planks, and the color of the wood used.
- plank length
- plank width
- wood base color
- wood grain color

That file is really long, I have to find those locations where I want to
make the change, might take me a while.

But then again, since you are the developer of this absolutely useful
and artistic piece of coding, I wonder if you self wouldn't want to
create a macro of this and add it to the POV-Ray resources (objects)? I
think, it really belongs to be there, once it is an adjustable macro.

Even if I make it to a macro, I would place it there but give all credit
to you (no word of mine), if you agree on that. But for the perfection
of things, it should be 100% you behind this wonderful work.

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message

From: Bald Eagle
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 31 Mar 2018 08:40:00
Message: <web.5abf81813059e6915cafe28e0@news.povray.org>
Sven Littkowski <I### [at] SvenLittkowskiname> wrote:

> What a great work that is that you did there. It is exactly what I need.

Thanks - I still think needs some serious artistic work in the pigment /
texturing, but it slaps together a serviceable floor.

> But it is a looong file, and my intention is to change it to a macro
> where I can adjust through the macro parameters the length and width of
> the planks, and the color of the wood used.
> - plank length
> - plank width
> - wood base color
> - wood grain color

Right - I think when I posted the code, there was some discussion of tidying it
up for general use.  My free time isn't ANYTHING like it was when I wrote that
scene, but maybe it can iteratively get improved.

It's definitely a recurring need, and a topic that's been addressed LOTS of
times in the past.


Post a reply to this message

From: Sven Littkowski
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 31 Mar 2018 11:21:35
Message: <5abfa77f$1@news.povray.org>
All I know is, this is a superb feature, and cries for further
development. In fact, to me it is perfect already as it is. it just
needs to become macronized.

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message

From: Alain
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 31 Mar 2018 11:48:41
Message: <5abfadd9@news.povray.org>
Le 18-03-30 à 19:43, Sven Littkowski a écrit :
> Hi,
> 
> for my upcoming 1850s Mississippi Paddle-Wheel Steamboat I have
> questions about a number of features that I never needed that way
> before. Here is my next inquiry.
> 
> Many parts of the steamboats were constructed using wooden planks (each
> 40cm = wide). I know I can create the separations between the planks by
> using a NORMAL that creates deepened straight lines. No problem here.
> But I also want to have a lumber texture for each plank, and it cannot
> be a continuous grain texture. Each plank needs to have its own grain
> that does not continue with the neighboring planks. And that is my
> question: how to achieve that if I try to avoid using IMAGE_MAPs?
> 
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
> 

Use warp with the repeat option.
You can add some variations using the offset and flip variations.
offset shift the pattern by some amount in some direction.
If you repeat along the X axis, you can have an offset along the Y, Z 
and X axis. The 3 can have different amplitudes.

The flip option allow you to mirror the pattern along an axis.
You can flip the 3 axis using different periods.

Combining flip and offset, you can make sure that no two planks are 
identical, and always different from it's neibours.


Alain


Post a reply to this message

From: clipka
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 31 Mar 2018 14:56:05
Message: <5abfd9c5$1@news.povray.org>
Am 31.03.2018 um 01:43 schrieb Sven Littkowski:

> Many parts of the steamboats were constructed using wooden planks (each
> 40cm = wide). I know I can create the separations between the planks by
> using a NORMAL that creates deepened straight lines. No problem here.
> But I also want to have a lumber texture for each plank, and it cannot
> be a continuous grain texture. Each plank needs to have its own grain
> that does not continue with the neighboring planks. And that is my
> question: how to achieve that if I try to avoid using IMAGE_MAPs?

repeat warps maybe?


Post a reply to this message

From: Sven Littkowski
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 31 Mar 2018 21:35:55
Message: <5ac0377b$1@news.povray.org>
Bald Eagle (is that a native American chieftain or warrior name?) came
up with a truly great code he had created some time ago. I think, I want
to use that code, and try to persuade him to develop his code into a
macro and make it available to all the POV-Ray community through the
POV-Ray Resources (objects) Page.

His code gives really amazingly good results. I can highly recommend
that. In fact, I believe as planks are so much needed for so many
scenes, by so many users, it should become one of the POV-Ray includes
that come together with the POV-Ray installation, once it exists as a macro.

As a macro, I would consider the following parameters as needed:
- plank width
- plank length
- wood base color
- wood grain color
- wood grain type
where the last three parameters could be replaced with the usage of one
of the existing wood types that come with POV-Ray if the user prefers that.

---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com


Post a reply to this message

From: Thomas de Groot
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 1 Apr 2018 02:53:32
Message: <5ac081ec$1@news.povray.org>
You may want to look at this too, by Dan Hentschel.

-- 
Thomas


Post a reply to this message


Attachments:
Download 'dh_woodfloor_2.mcr.txt' (11 KB)

From: Bald Eagle
Subject: Re: INQUIRY: Wooden Planks Texture
Date: 1 Apr 2018 11:15:00
Message: <web.5ac0f75b3059e6915cafe28e0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> You may want to look at this too, by Dan Hentschel.
>
> --
> Thomas

Yes, the whole wood floor thing is just a variation of code from Warp, Hentschel
and deGroot - a respectable POV-Ray law firm.
Plus there was a lot of guidance from a host of people following the WIPs.
Which I suppose ought to be WsIP....
I added a dark sheet to give some definition to the cracks between the boards,
but that was probably the only major attribute that I may have added.

And Sven - I've looked it over, and the actual wood-floor building part isn't
that long at all.   Most of that code is just wood textures.

I'll chisel away at it to see how much I can simplify it, but the actual code is
pretty simple.   It's just a matter of rewriting it so that external textures
can be plugged in.

But thanks for the positive response   :)


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

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