Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: BigAl3D on 2022-07-28, 20:46:17

Title: Advice on Creating Realistic Material from Physical Sample
Post by: BigAl3D on 2022-07-28, 20:46:17
I am getting an opportunity to create some realistic stills and animations for a rug designer. The plan is to buy some nice 3D rooms (have several picked out already, even some C4D and Corona-ready) and replace the existing rug with my client's design. Mostly likely not too close, but close enough to see texture.

My main issue is getting a rug sample into a nice looking 3D material. The attached rug materials were created with a rug sample I found online, and I used Photoshop to generate a Displacement and Normal map. Somehow it comes out OK, but not as good as I was hoping. In addition, Photoshop will be dropping those 3D filters soon. This scene is just a simple one I setup using a few Chaos models, but it gets the idea across. I've seen Materialize which looks pretty good, just have to Boot into Windows to use it. Tried using the Wine app to get it running on my Mac, but I think it doesn't like the current Mac OS.

I even tried to extract the 3D depth data from my iPhone photo, but it's very low-res in the sense that it is good for large items with large distances between. Shooting a rug only gave me a mostly flat grat image with not detail.

So I'm looking for suggestions on how best to create PBR texture set for rugs. Any advice is appreciated.
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: romullus on 2022-07-28, 21:47:00
I think Substance 3D Sampler from Adobe might be your best option. Not sure if it's available on Mac OS though.

https://www.adobe.com/mt/products/substance3d-sampler.html
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: BigAl3D on 2022-07-29, 00:04:06
Boy is Adobe bad at getting the word out. I have the Master Collection of Creative Cloud and had no idea this app(s) were available since last year. Costs extra, but if it works it's worth it. It did a better job than Photoshop as making the channels using the same sample color image. Just might work. Thanks for the heads-up!

Still looks a little flat, but this is just 5 min. work.
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: johnnyswedish on 2022-07-29, 10:32:11
I use a program called Pixplant5 which generates PBR textures from any material. Very good and cheap :-)
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: jojorender on 2022-07-29, 17:21:45
Not sure how deep you want to dive into your rugs ;-) but this tut is a must watch…
https://forum.corona-renderer.com/index.php?topic=30974.0
For max, but the principles apply. 

It’s always these sharp edges on rugs that are a dead giveaway. Also make sure your actual texture is a large enough sample to avoid obvious tiling.
I would experiment with a mixture of rug texture and corona hair to get better detail, variation and realism.
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: BigAl3D on 2022-07-29, 18:04:14
That rug in the tutorial came out super nice. In my case, I will be provided with samples of actual rug. Not sure maybe 1'x1' or 2'x2'. The first round will be solid colors so I just have to get the texture close. From that video, I'm going to add subtle displacement and rounded edges first.

Thanks for posting that.
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: BigAl3D on 2022-07-29, 19:06:30
Here's another example using a carpet material from the Corona library, but also added a noise Displacer Deformer with the Zada noise. Adds a nice randomness, specially to the edges.
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: BigAl3D on 2022-08-02, 20:04:59
So as I mentioned earlier, I tested the depth map from my iPhone X and found it was good at large objects, but not so much small details. Turns out the new phones, 12 and 13 Max, have a actual LiDAR sensor. Two questions: has anyone tried using their new iPhone's LiDAR tech to create materials? Is anyone willing to send me a sample photo so I can test it by extracting the depth data?
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: Ealexander on 2022-08-03, 17:25:26
Could you find carpet materials you like in places like Poliigon or Turbosquid to get the right look for bump and displacement and then use a Corona decal to add the pattern/design to the carpet?
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: BigAl3D on 2022-08-03, 18:35:47
That might be a possibility. I just don't have the samples yet so don't know how easy that may be. That's why I was wondering about the LiDAR capabilities of the iPhone.
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: BigAl3D on 2022-10-17, 23:59:55
First off, thanks to all the suggestions on my quest to create rugs. @romullus for Adobe Substance Sample. It does a nice job. I took 8 photos with the light changing 45° each shot. Sampler takes it right in and gets a good base going. Then add some tiling, color equalize, etch and it looks great from sever virtual feet away. I would however, like to up my game and give us more options to get a little closer.

@jojorender That sample you provided is crazy good. I love the idea of the different layers made from separate objects. Simplifies everything. I can't seem to translate the Max hair settings into anything I can recreate though. I will keep digging around.

Now with Corona v9 out, any possibilities of using Scatter or Pattern to create a rug or carpet look?

I've attached a render using the Sampler workflow. At least as good as I've gotten so far.
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: Stefan-L on 2022-10-18, 18:41:09
such a carpet is very easy made via the q-tilepro plugin, direct in c4d and corona, which i think you have if i remember right?

no need for substance or other external apps in that case.
atm it looks flat and other issues

pattern is a way if you want to create it 3d, also an option but the borders might be a problem then.

if you need help u can mail me,...
Title: Re: Advice on Creating Realistic Material from Physical Sample
Post by: Beanzvision on 2022-10-19, 08:30:44

Now with Corona v9 out, any possibilities of using Scatter or Pattern to create a rug or carpet look?


This may also help ;)