Corona Renderer Forum

Corona Renderer for Cinema 4D => Corona Renderer for Cinema 4D - general => Topic started by: mitchino on 2018-02-27, 21:40:25

Title: bend deformer messes up bump
Post by: mitchino on 2018-02-27, 21:40:25
I have a label on a bottle, with proper UVs, and I'm bending it round the bottle with a bend deformer. I have a material with a c4d noise in the bump channel. When the bend deformer is disabled the bump looks good, but when I switch on the bend deformer, the bump looks bad and gets distorted.

Is this normal behaviour or a bug and how do I fix it?
Title: Re: bend deformer messes up bump
Post by: Eddoron on 2018-02-27, 21:48:46
picture please
Title: Re: bend deformer messes up bump
Post by: beanzvision on 2018-02-28, 11:02:18
Yes a photo would help. I wonder if a stick texture tag would help here? Also with material stacking now working, you could probably wrap the label without a deformer.
Title: Re: bend deformer messes up bump
Post by: burnin on 2018-02-28, 12:25:39
if polygon sizes change, so does textures
if tris are used, it's even worse

try with stick texture tag

tip: denser geo - less stretch & squash
Title: Re: bend deformer messes up bump
Post by: mitchino on 2018-02-28, 12:36:07
I'll try and put some pics up later - I've changed the bump maps to images rather than native c4d procedural noises and they aren't causing any problems.
Title: Re: bend deformer messes up bump
Post by: travism on 2018-02-28, 22:29:19
Make sure in your C4D noise settings you are set to UV space for the noise.
Title: Re: bend deformer messes up bump
Post by: peka on 2018-12-18, 17:14:12
Hi I recognize the same bug. The preview is OK, in the rendering it distorts the texture. Even with sticky tag. See the screenshot.
Title: Re: bend deformer messes up bump
Post by: beanzvision on 2018-12-19, 12:40:47
Hi I recognize the same bug. The preview is OK, in the rendering it distorts the texture. Even with sticky tag. See the screenshot.

Care to share your scene file with us?
Private Uploader:
https://corona-renderer.com/upload

Thanks,
Title: Re: bend deformer messes up bump
Post by: beanzvision on 2018-12-19, 12:46:10
I would also suggest trying to use the wrap deformer instead of the bend deformer. No 'stick texture' tag needed.

(https://corona-renderer.com/forum/index.php?action=dlattach;topic=19481.0;attach=95373;image)
Title: Re: bend deformer messes up bump
Post by: peka on 2018-12-19, 18:12:58
Hi Beanzvision
Meanwhile I could narrow down the bug. The distortion of the texture only occurs during Interactive Rendering but the final rendering is correct. Test your example with Interactive Rendering. Thank you!
Title: Re: bend deformer messes up bump
Post by: beanzvision on 2018-12-20, 10:35:56
Hi Beanzvision
Meanwhile I could narrow down the bug. The distortion of the texture only occurs during Interactive Rendering but the final rendering is correct. Test your example with Interactive Rendering. Thank you!

Tested with IR, Looks good here.

(https://corona-renderer.com/forum/index.php?action=dlattach;topic=19481.0;attach=95410;image)
Title: Re: bend deformer messes up bump
Post by: peka on 2018-12-20, 10:41:18
OK, sorry. Thats correct. Please try it with the Bend-Deformer not the Wrap Deformer. I have recognized the error with the Bend Deformer under IR.
Title: Re: bend deformer messes up bump
Post by: beanzvision on 2018-12-20, 12:24:16
OK, sorry. Thats correct. Please try it with the Bend-Deformer not the Wrap Deformer. I have recognized the error with the Bend Deformer under IR.

No problem at all here with the bend deformer and IR.

(https://corona-renderer.com/forum/index.php?action=dlattach;topic=19481.0;attach=95416;image)
Title: Re: bend deformer messes up bump
Post by: peka on 2018-12-20, 14:12:32
Thank you Bengamin, for your efforts and sorry for my persistence!
Now I have the hopefully the final behavior of the Bend Deformer in connection with the IR. Its the Fat Projection of the texture. See the screenshots.