Multi Shader Index Ratio Issue

Forums: Multi Shader Index Ratio Issue
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Re: Multi Shader Index Ratio Issue

Postby aoktar » Tue Feb 20, 2018 1:10 am

aoktar Tue Feb 20, 2018 1:10 am
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.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15937
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: Multi Shader Index Ratio Issue

Postby fabian19 » Thu Jan 10, 2019 11:01 am

fabian19 Thu Jan 10, 2019 11:01 am
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
fabian19
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Tue Jun 27, 2017 12:18 pm

Re: Multi Shader Index Ratio Issue

Postby fabian19 » Thu Jan 17, 2019 2:30 pm

fabian19 Thu Jan 17, 2019 2:30 pm
never mind, i solved this issue ..
fabian19
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Tue Jun 27, 2017 12:18 pm

Re: Multi Shader Index Ratio Issue

Postby TonyBoy » Thu Jan 17, 2019 7:40 pm

TonyBoy Thu Jan 17, 2019 7:40 pm
Please, Fabian, don't leave us in suspense! :o
TonyBoy
Licensed Customer
Licensed Customer
 
Posts: 238
Joined: Thu Dec 13, 2012 4:47 pm

Re: Multi Shader Index Ratio Issue

Postby fabian19 » Mon Jan 21, 2019 9:49 am

fabian19 Mon Jan 21, 2019 9:49 am
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
fabian19
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Tue Jun 27, 2017 12:18 pm

Re: Multi Shader Index Ratio Issue

Postby sbstnc » Sun Feb 03, 2019 10:58 am

sbstnc Sun Feb 03, 2019 10:58 am
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.
sbstnc
Licensed Customer
Licensed Customer
 
Posts: 120
Joined: Mon Jul 25, 2016 1:21 am

Re: Multi Shader Index Ratio Issue

Postby MariuszBecker » Mon Feb 04, 2019 9:08 am

MariuszBecker Mon Feb 04, 2019 9:08 am
+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.
Freelance 3D-Artist
http://mariuszbecker.com
________
Win10, 2x Xeon E5 2620v4 / 64gb RAM / 4x1080ti | Win10, i7 6800k / 64gb RAM / 2x1080
User avatar
MariuszBecker
Licensed Customer
Licensed Customer
 
Posts: 1
Joined: Fri May 29, 2015 4:07 pm
Location: Germany

Re: Multi Shader Index Ratio Issue

Postby milanm » Mon Feb 04, 2019 2:22 pm

milanm Mon Feb 04, 2019 2:22 pm
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:
https://render.otoy.com/forum/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
Colorist / VFX artist / Motion Designer
macOS - Windows 7 - Cinema 4D R19.068 - GTX1070TI - GTX780
milanm
Licensed Customer
Licensed Customer
 
Posts: 261
Joined: Tue Apr 30, 2013 7:23 pm

Re: Multi Shader Index Ratio Issue

Postby crowellster » Tue Jun 30, 2020 7:38 pm

crowellster Tue Jun 30, 2020 7:38 pm
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!
crowellster
Licensed Customer
Licensed Customer
 
Posts: 36
Joined: Tue Feb 16, 2016 12:13 am

Re: Multi Shader Index Ratio Issue

Postby bepeg4d » Wed Jul 01, 2020 7:11 am

bepeg4d Wed Jul 01, 2020 7:11 am
Have you tried with an Instance Range node set to 20?
ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9940
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
PreviousNext

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 7 guests

Thu Mar 28, 2024 2:53 pm [ UTC ]