OSL technique to randomize texture tiles on the same object

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

Moderators: ChrisHekman, aoktar

Post Reply
feels
Licensed Customer
Posts: 11
Joined: Wed Apr 13, 2016 10:26 pm

Hi all,

I'm trying to achieve something similar to the Q Tile Pro plugin, but much simplified in engine solution.

I put an ImageTexture node and use Triplanar or Box projection to project it on my model.
I then use the Transform node to shrink the tiles so I get a repeating pattern.
I want to be able to randomize the rotation of those repeating tiles when I shrink the image to avoid having a never-ending pattern.

I found solutions to achieve this randomization on instances or multiple pieces of geometry, but never on the same model.

Can anyone help me with an OSL script that does this, or is this impossible to achieve at the moment? It would save a lot of time when trying to texture something quickly without resorting to Substance Painter and UVing

Thanks!
atoyuser1
Licensed Customer
Posts: 212
Joined: Sat May 02, 2020 1:10 pm

Hi, this is the exact question I was about to ask. So thought I'd bump this thread

Any clues? thanks

Nearest I could find is this: viewtopic.php?f=30&t=75047
atoyuser1
Licensed Customer
Posts: 212
Joined: Sat May 02, 2020 1:10 pm

Went with this in the end, works great and not too pricey https://3dtools.info/shop/q-tpro-softpatch/
User avatar
bepeg4d
Octane Guru
Posts: 10325
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
in the CUDA version there is now this node:
https://docs.otoy.com/cinema4d/ChaosTexture.html

It is going to arrive on macOS with the upcoming 2022.1 SDK.

ciao,
Beppe
atoyuser1
Licensed Customer
Posts: 212
Joined: Sat May 02, 2020 1:10 pm

Great! Is that happening this year?
Post Reply

Return to “Maxon Cinema 4D”