Page 3 of 4

Re: Multi Shader Index Ratio Issue

Posted: Tue Feb 20, 2018 1:10 am
by aoktar
albatetra wrote:Guys, really I'm getting confused and worried.
Multishader is working perfectly if rendered in the Live Viewer. A soon as I hit reader to Picture Viewer, the multishader stop to work and all the clones have the exact same texture.
And please do not tell me to use the gradient node approach because is not working and I've 60+ textures to load.
Can i see your working scene? Because I don't suppose that's fully supported by the reasons i wrote.

Re: Multi Shader Index Ratio Issue

Posted: Thu Jan 10, 2019 11:01 am
by fabian19
Hi Guys,

is there any changes with the multishader limitation in release 4 ?

As every year, i need to render some easter images with easter-eggs with more than 100 (!) different textures, can some guide me how to solve this with octane ? I dont want to go back to vray for serveral reasons .. :-)

I reread this thread and using a gradient with 100 slides is neary impossible.

i am happy to hear some suggestions.

Cheers,

Fabian

Re: Multi Shader Index Ratio Issue

Posted: Thu Jan 17, 2019 2:30 pm
by fabian19
never mind, i solved this issue ..

Re: Multi Shader Index Ratio Issue

Posted: Thu Jan 17, 2019 7:40 pm
by TonyBoy
Please, Fabian, don't leave us in suspense! :o

Re: Multi Shader Index Ratio Issue

Posted: Mon Jan 21, 2019 9:49 am
by fabian19
TonyBoy wrote:Please, Fabian, don't leave us in suspense! :o
i bought another GPU based render engine which supports the multishader system. Only 2 nodes where needed and i distributed more than 100 textures like charme.

Cheers,

Fabian

Re: Multi Shader Index Ratio Issue

Posted: Sun Feb 03, 2019 10:58 am
by sbstnc
I'm now in this same basket as well, need to render 100 different graphics onto objects from client request (ugh) but here we are.
I have to keep this one in Octane for reasons, so...
Curious to know if there is a recommended different workflow to randomise texture on a large number of objects.

Rather than try to put 100 images onto a complex gradient mix (which actually doesn't even seem possible?) have people tackled this any other way?
I thought perhaps I could put an animated sequence of the images onto an object then offset animation time of clone (give clone dummy animation, x=0 to x=0 for example, no change but would still have 100 frames of animated texture) but time offset means no instancing and then C4D crashes.

Re: Multi Shader Index Ratio Issue

Posted: Mon Feb 04, 2019 9:08 am
by MariuszBecker
+1 for that Issue, the problem with needing to use complex gradients might solve it for a few textures, but as soon as you need to distribute more than 5-10 it gets More than wonky and hard to handle.
Would love to see an improvement on that as it's pretty crucial in a lot of projects.

Re: Multi Shader Index Ratio Issue

Posted: Mon Feb 04, 2019 2:22 pm
by milanm
Ok, what am I missing here, why not just use step effector + multishader in color mode instead of index ratio?
multishader.PNG
Apart from the fact that you are going to be using C4D Bitmap instead of ImageTexture nodes it seems to work just fine. I'm not sure but I think I even saw a script somewhere that can convert C4D Bitmaps into ImageTexture nodes.

Edit: Here is the script, thanks to pxlntwrk for the link:
viewtopic.php?p=290502#p290502

Either way dealing with 100s of textures that are read from disk is a messy way of doing this no matter how you are rendering it. I prefer to use a sprite-sheet and offset UVs using OSL. That way instead of dealing with hundreds of maps I'm only dealing with one and it's lightning fast because all of the maps are preloaded in VRAM together in a single texture map and it's super easy to deal with alpha channels or exr layers ( only in Standalone for now because layers are not yet integrated in the C4D plugin :roll: )

With regards to the Gradient node, IIRC it can handle up to 256 textures and there is a lua script that can automatically load textures from a folder and connect everything. You can save your material into LocalDB and bring it into C4D.

Cheers
Milan

Re: Multi Shader Index Ratio Issue

Posted: Tue Jun 30, 2020 7:38 pm
by crowellster
I just want to pop in here and say how frustrating this is. I don't even have that many textures and I just find Octane so confusing and undependable for this type of purpose. I have like 300 clones and 20 textures. I'd like them to apply them one to a clone, and when I reach the 20th clone, start over. Seems sort of absurd that there isn't a simple or comprehensible way to do this. Please let me know if you've figured anything out.

Thanks!

Re: Multi Shader Index Ratio Issue

Posted: Wed Jul 01, 2020 7:11 am
by bepeg4d
Have you tried with an Instance Range node set to 20?
ciao Beppe