Author Topic: Advanced Wood  (Read 3180 times)

2019-08-19, 15:19:37

phildavis17

  • Active Users
  • **
  • Posts: 15
    • View Profile
I've developed an Advanced Wood material setup that is able to replicate the look of solid wood furniture with visible endgrain. Endgrain absorbs more stain than the rest of the wood, giving it a darker appearance. Using the Advanced Wood map in conjunction with CoronaTriplanar gives pretty good results.

2019-08-19, 16:49:43
Reply #1

John.McWaters

  • Active Users
  • **
  • Posts: 268
    • View Profile
    • JohnMcWaters.com
This looks interesting. Do you mind screenshotting or sharing the material setup? I've been rendering plywood a lot lately, and I could see how this could be useful for plywood.

2019-08-19, 19:10:11
Reply #2

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8839
  • Let's move this topic, shall we?
    • View Profile
    • My Models
For a procedural material, this looks very good. I don't like colour though.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-08-19, 23:20:17
Reply #3

twoheads

  • Active Users
  • **
  • Posts: 261
    • View Profile
agree, color is "sad" so to speak but this definitely looks interesting and promising. Speaking of which, looking for good quality wood ends (e.g table cross section) Can you recommend any solid source?

2019-08-20, 15:16:04
Reply #4

phildavis17

  • Active Users
  • **
  • Posts: 15
    • View Profile
The material setup is a little more complicated than I would prefer, but this is as streamlined as I've been able to get it. Attached is an image of a summarized material setup. I use the Advanced Wood map in Explicit Map Channel mode, and control it with planar UVW maps. The idea, then is to get a darker material on the faces that are normal to the Z axis in UWV space. Here's how it works.

1. Create a wood material, and a second one with identical settings except for a darkened diffuse map.
2. Feed these materials into a Corona Layered Material, with the basic material in the Base and the darker one in Layer 1
3. Create a Corona Triplanar map for the Mask on Layer 1. It has to have the following settings:
    a. X and Y colors are black, Z color is White
    b. Blending set to 1
    c. Mapping Space set to Reference Node
    d. Scale set to 1
4. Create a Dummy helper. This will be used to control the orientation of the triplanar map.
5. Link the rotation of the Dummy to the rotation of the UVW map applied to objects in question.
6. Rotate the planar UVW map to the correct orientation, which should rotate the linked Dummy simultaneously.

This will put the dark faces in the right places, and give the correct blending from light to dark on angled or curved surfaces. It's a fair amount of work, and it requires a seperate Layered Material and Dummy object for every major grain direction in your model. I think that's still still less than UVW unwrapping, and saves the trouble of finding end grain bitmaps that match the rest of your wood. If anyone has ideas on how to streamline it, I would certainly appreciate them.

It's worth noting that this would be simpler if the Corona Triplanar map had a setting that made it respond to UVW mapping, but I understand why that's a counter-intuitive feature request.
« Last Edit: 2019-08-20, 15:26:23 by phildavis17 »

2019-08-20, 17:24:09
Reply #5

John.McWaters

  • Active Users
  • **
  • Posts: 268
    • View Profile
    • JohnMcWaters.com
agree, color is "sad" so to speak but this definitely looks interesting and promising. Speaking of which, looking for good quality wood ends (e.g table cross section) Can you recommend any solid source?

Here is a good source https://www.poliigon.com/search?query=end&refine_by=assets-latest. For tables, I would recommend looking at some of the free options at Design Connected (link below). A lot of times, you can download tables or chairs there that have end grain textures.

https://www.designconnected.com/catalog/category/Tables/sort_type/__price/sort_order/__up

2021-06-21, 16:10:56
Reply #6

Ghost1987

  • Users
  • *
  • Posts: 1
    • View Profile
Greetings! Please tell me how to properly create and apply the "Advanced wood" material to the floor generator, so that you can then customize the parquet floor (each tile has its own color) and it looks like parquet.

We are only interested in this creation method. About other methods of creating a parquet floor are known, i experimented for a long time with the material "Advanced wood", but i could not achieve the result.

P.S. I would appreciate a detailed description if anyone knows. Thank you for earlier.