Chaos Corona Forum

Chaos Corona for Cinema 4D => [C4D] General Discussion => Topic started by: kmwhitt on 2019-11-24, 15:14:19

Title: Variation Shader Limit?
Post by: kmwhitt on 2019-11-24, 15:14:19
I've got a stone wall created out of a single mesh.  I'm using C4D's variation shader to assign random textures to individual blocks that are defined with polygon selection tags.  The bottom half of the wall seems to work fine, but when you get towards the top, the selection tags fail.  The material is applied with cubic mapping and each selection tag has a unique name.  Has anyone run into this and if so, do you have a solution?  Does the variation shader have a limit as to how many selection tags it will recognize?  I am using R21 and prior to this, this method worked just fine.
Title: Re: Variation Shader Limit?
Post by: Beanzvision on 2019-11-25, 09:48:23
Hi there, Well that's a bit strange. Are you able to send use the scene via our private uploader? https://corona-renderer.com/upload

As a side note, have you tried using the new Corona multi shader for something like this?
Title: Re: Variation Shader Limit?
Post by: kmwhitt on 2019-11-25, 13:37:19
beanzvision - thanks for the reply.  This object was placed under a subdivided surface.  Catmull-Clark made a mess of things, but switching to OpenSubdiv Catmull-Clark kept all the polygon selections intact.  This seems to be a problem with Cinema 4D as I had the same problem in C4D's standard renderer.
Title: Re: Variation Shader Limit?
Post by: Beanzvision on 2019-11-25, 14:58:54
Oh, I see. I appreciate you testing it with their renderer too. It might be worth mentioning it to their support also if you haven't done so already.
Title: Re: Variation Shader Limit?
Post by: kmwhitt on 2019-11-26, 13:51:23
Will do.
Title: Re: Variation Shader Limit?
Post by: Stefan-L on 2019-11-27, 15:01:53
maybe our new plugin Q-Tile-PRO| surface engine might be interesting for you for such things:)

https://q-tilepro.com/

it works natively with c4d and corona!

i will make an official post here later in the forum

cheers
Stefan
Title: Re: Variation Shader Limit?
Post by: kmwhitt on 2019-11-27, 16:45:05
Hi Stefan.  That's a very useful shader.  I've wanted something like this for years.  In fact, I recommended the function of drawing your own patterns to the developers of DarkTree years ago (remember them?).

I spent the last 20 minutes reading the site and watching your video.  Is it capable of assigning random textures to individual polygon objects or selection tags?  Or is it necessary to create your own pattern or use the ones available in the library?  Thanks.
Title: Re: Variation Shader Limit?
Post by: Stefan-L on 2019-11-27, 16:50:52
 "Is it capable of assigning random textures to individual polygon objects or selection tags"

yes of course, via tile pro, to any tile pro shapes, tile pro works on any geometry or selection tag. from c4d side it is seen as normal c4d shader
Title: Re: Variation Shader Limit?
Post by: stoecklem on 2019-11-27, 17:20:53
This looks awesome!  Really great work...thanks for making this.
Title: Re: Variation Shader Limit?
Post by: Beanzvision on 2019-11-28, 17:24:02
Stefan's official post can be found here: https://forum.corona-renderer.com/index.php?topic=27025.0
Title: Re: Variation Shader Limit?
Post by: Stefan-L on 2019-11-29, 01:53:13
thanks!
congrats to the v5 release, is really working nice here:)

Stefan