Different textures variation on surface

Is there a way to store different textures for a surface so that variants can be rendered easily? I don’t want to have to create different files. I want to show a floor with different tiles.

Hi @shifuzzy ​,

Currently the only way to do this is via a script.
The workflow would be:

  1. Create all the material variants in the project without applying them
  2. Run a script that would render, change the material and then repeat

The script itself is not so easy to write because of the asynchronicity of the render process.
Let me know if you are interested in this and I’ll try to put together something.

Konstantin

Hi Konstantin,
I had asked ChatGPT for a solution at the same time. The Ki had already told me that it only works in Vray with a complicated script. But she had a simple solution at hand: I simply created a tag for each texture in Sketchup and used it to solve the problem.

Frank

Hi shifuzzy,

Can you please describe the workflow with the Tags?
It might be helpful to other people too.

Thank you in advance,
Konstantin

Hi Konstantin,
ok, I will try it with a little help from deepl:
In my case, it was about texture variants of the floor of my model.
Procedure:
1. make copies of the floor with the different tile materials.
2. assign each floor variant to its own tag (e.g. ‘floor_tile_A’, ‘floor_tile_B’…).
3. activate/deactivate the visibility of the respective variant in the SketchUp tag panel.
4) V-Ray only renders the visible variant

This works fine for me.

Frank

OK, I see.
This only works with duplication of the floor object.
To only swap materials, one will need a script.