Rendering multiple color variations of 1 product?

Hi,
Coming from Modo it is fairly easy to set up a scene to render a shoe( or any object) in multiple color variations.
I can set up all my material sets for the different colors and tell Modo to render first a sequence of angles of the red shoe, than the same set of angles of the green shoe etc…
I like to do similar in Blender. How do I render out one shoe in multiple color variations automatically?

Thanks
Bart

1 Like

Welcome to the community!

I don’t know if this is exactly what you are searching for, but maybe it can help? It’s a setup that will randomize the color of a material when the object is duplicated.

Thanks,
I am not looking for random colors. I create all textures for the shoe myself but need a way to render all those variants out in 1 go.
Like this.

Ah, I see what you mean.

Blender doesn’t have those exact capabilities, so you would have to use a more manual setup. For the various camera angles, you would have to do it as an animation where each frame renders a different camera angle. There are 2 ways of doing this:

1-Bind cameras to markers. Select one of the cameras. In the timeline, go to the frame you want this camera to render, then use “bind camera to marker” (ctrl+b). A marker will be added to the timeline with a camera’s name attached to it. This camera will be used in the animation starting from that frame until an other marker is encountered. Place one camera marker on each frame with the various camera angles. Once that is done, render the animation.

2-Use just one camera, animate it so it goes through the various angles, then render without motion blur.


For the various materials, that’s a bit of a blind spot of Blender, because there’s no way to override a single material at render time.

The easiest way to do it would probably be to have multiple copies of the mesh with different materials, then have their render visibility (or their position) animated so they get swapped for each other. Then, you can duplicate the whole camera swapping sequence so the various angles repeat for each shoe.

At this point, the whole thing can render at once for all shoes.

3 Likes

You can setup geonodes to switch a material on a frame.

Hope that helps.

5 Likes

Oh yeah, I guess there is a way to switch materials now, but it’s not exactly intuitive for someone coming from an other software.

2 Likes

Thanks for the replies. Too bad it is still a blind spot in blender. Product rendering is a big market.
Thanks for the explanation of the camera setup.
For using the geonodes, is that limited to switching 2 colors. If I understand your image right? I need more color options.

1 Like

no, you can chain as many as you like, but there are other ways too with material index.

It all depends how you set up your object because an object can have many materials.

1 Like

Can’t material color or even the HUE be animated?

Yes from geonodes and/or the material editor with keyframes

1 Like

with material index…

2 Likes

Hi there,

I have a workflow to do just that, maybe it’s not as easy as Modo (which I have used in the past, until version 13).

  1. Create multiple scenes for each variation and camera
  2. Link objects, cameras and lights between scenes (Assign materials to object and not mesh data)
  3. Use the compositor with a file output node to render multiple scenes at same time.

Link data between scenes

Material assigned to object instead of data (default)

Screenshot 2022-09-14 164111

Compositor with multiple render layers and file output

Hope that helps
Felipe

1 Like

Great help!
Felipe, I need to look into that all.( aswell as the geonodes) Looks complicated to me :slight_smile: have a lot to learn in Blender, but glad to see you guys find workarounds for every issue.
Will look into it tomorrow, see if I can understand your workflow.
Is there a video of such workflow around somewhere by any chance?

When creating multiple scenes it is not easy to change something when the client needs me too. I need to change all scenes again, don’t I?

If you use “linked scenes”, the scenes can all be created inside the same blend file and the same objects will be shared between them. The only thing to know is that if you create a new object, you will have to link it to each scene you want it to appear in and if you delete an object, it will be deleted in just one scene at a time.

1 Like

MATID.zip (726.0 KB)

Here, if you decide geonodes is for you, heres a setup.
it has some cameras set on markers too.

1 Like

Thanks, I will check this out. Great.

Surely you could do this in post ? render AOVs for each object and color all you want (in the compositor).

1 Like

Aah, ok. I thought scenes are the same as blend files. Will dive in this for sure.

It is not just the color I need to change. One shoe is leather , the other has plastic parts etc. So I need to switch a full texture set to a different one on the same shoe.