texture problem

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
mitchino
Licensed Customer
Posts: 450
Joined: Thu Jul 14, 2016 4:49 pm

I have modelled a hand cream tube, and created UVs for it. The tube is metal, but mainly has a printed area for graphics. I want to use two Octane materials, one for the metal and one for the printed area. I have stacked the two materials on the object and given them selections sets for where I want them to appear. They look right, but there are artefacts showing.

How do I fix this? and is there a better way to do this? If it's with a mix or blend material, how do I get the two materials to appear where I want them?
Attachments
Screen Shot 2018-11-30 at 19.17.45.png
mitchino
Licensed Customer
Posts: 450
Joined: Thu Jul 14, 2016 4:49 pm

I've realised it's something to do with the displacement I have on the main printed area, the metal area has no displacement. So I'm assuming I have to use a mix material. How then do I restrict the different materials to different parts of the tube?
User avatar
jayroth
Licensed Customer
Posts: 393
Joined: Fri May 28, 2010 7:29 pm
Location: Orange County, CA, USA
Contact:

in situations such as these, I have found that adding a displacement to the non-displaced areas will do the trick. Use a 50% gray image map and adjust your mid level to .5 for starters. You may need to mess with that a bit, but is has worked for me.
CaseLabs Mercury S8 / ASUS Z10PE-D8 WS / Crucial 64GB 2133 DDR4 / 2 XEON E5-2687W v3 3.1 GHz / EVGA 1600 P2 / 2 EVGA RTX 2080Ti FTW3 Hybrid/ Cinema 4D

Is it fast? Oh, yeah!
mitchino
Licensed Customer
Posts: 450
Joined: Thu Jul 14, 2016 4:49 pm

thanks - when I woke up this morning, that solution popped into my head, will give it a try - my displacement map is black and white, but will experiment
mitchino
Licensed Customer
Posts: 450
Joined: Thu Jul 14, 2016 4:49 pm

So turns out this problem was not caused by using two materials, it was because my texture map had a resolution of 1396 x 1516px, and I'd set the displacement level of details to 2048x2048. I switched this to 1024x1024, i.e. lower than the texture resolution and the artefacts disappeared.

I don't understand it, but it works.
Post Reply

Return to “Maxon Cinema 4D”