Sticking Footage to Clones

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

Moderators: ChrisHekman, aoktar

Post Reply
Jlutch
Licensed Customer
Posts: 15
Joined: Fri Feb 03, 2017 4:02 pm

C4D version: 2024.4.1
Octane version: 2023.1.2

I've searched and searched and haven't found a solution (though I know it exists).
I have a simple grid cloner made up of cubes and I have a standard C4D material that's projected onto the cloner and then has the "fit to object" command applied to the material tag so that the footage file that's referenced in the "luminance" channel is composed of thousands of small rectangles (see attached image). The full material is "stuck" to the clones so that when they're animated the image breaks apart and actually moves in 3D space.
When I try to move over to Octane, I can't seem to get this to work. I'm pretty sure I need to somehow convert the projection in the material tag to a uvw node in my octane shader, but I don't know how to do that. Can anyone point me to a tutorial or send a step by step for how I might do this? Is using the octane scatter object a possibility?
ClonerEx_Tag.JPG
ClonerEx.JPG
User avatar
bepeg4d
Octane Guru
Posts: 10356
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
another approach is to use the MoGraph Cloner in Render Instance or Multi Instance mode, use a MoGraph Shader Effector for coloring the clones, then use an Octane Instance Color node to get the color of the clones in Octane:
IMG_2174.jpeg
ciao,
Beppe
Jlutch
Licensed Customer
Posts: 15
Joined: Fri Feb 03, 2017 4:02 pm

I will give this a try and let you know.
Thank you!
Jlutch
Licensed Customer
Posts: 15
Joined: Fri Feb 03, 2017 4:02 pm

This method worked for sticking the image across the clones. However, the image is very low-res (rasterized). Is that a function of the method where the detail in the image is dependent on the number of clones, or is there something I can do to increase the resolution? The image below is my octane live viewer. My image is 4000x2520.
Cloner_InstanceNode.JPG
User avatar
bepeg4d
Octane Guru
Posts: 10356
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Ok, sorry, my suggestion was not good for your case, since you should need a clone per pixel, so too small.

Then, another solution could be to use a plane with same number of subdivisions as the number of clones, then use the Disconnect command in Polygon mode, with Preserve Groups option disabled, and use a MoGraph Effector in Deform/Polygon mode for moving the mapped tiles:
IMG_2186.jpeg
ciao,
Beppe
Jlutch
Licensed Customer
Posts: 15
Joined: Fri Feb 03, 2017 4:02 pm

I think I understand what you're suggesting with polygon deformation. Would this work with multiple effectors though? I'm using multiple effectors to get the clones to animate in a particular way (disregard the Shader effector; that was for the last method you suggested):

Cloner_Effectors.JPG
Jlutch
Licensed Customer
Posts: 15
Joined: Fri Feb 03, 2017 4:02 pm

I just tried this method and it's working! Thank you very much!
It would be great to figure out a solution for the cloner so that it's procedural, but this gets it done.
Post Reply

Return to “Maxon Cinema 4D”