Random texture tiling

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

Moderators: ChrisHekman, aoktar

Jengo_1
Licensed Customer
Posts: 73
Joined: Sun Aug 25, 2019 4:17 am
Contact:

Got it, thanks! works great for certain materials

So upon investigating the length of this projection - it breaks the image down to brick-like pieces right? But it doesnt add any rotation to them right? Is there any line of code that can add rotation, or is it not that simple to implement?

Thanks again, youre killin it everytime Aoktar
ceen
Licensed Customer
Posts: 113
Joined: Wed Jun 10, 2015 9:43 pm

So great. Thank you!
3080ti
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

Jengo_1 wrote:Got it, thanks! works great for certain materials

So upon investigating the length of this projection - it breaks the image down to brick-like pieces right? But it doesnt add any rotation to them right? Is there any line of code that can add rotation, or is it not that simple to implement?

Thanks again, youre killin it everytime Aoktar
Yes it's for regular grid based materials. It's possible to design for rotation with some rules.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
haffy
Licensed Customer
Posts: 174
Joined: Mon Oct 26, 2015 12:19 pm
Location: SE
Contact:

Looks awsome ! Is it just me, I can't figure out how every node is connected and what each one do?
3D Generalist.
haffy
Licensed Customer
Posts: 174
Joined: Mon Oct 26, 2015 12:19 pm
Location: SE
Contact:

Thank you Beppe !!! :)

You know if it is possible to put in noise or something to make the edges jaggy?
3D Generalist.
User avatar
SSmolak
Licensed Customer
Posts: 1157
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland
Contact:

For randomizing regular tiles like brick there are OSL tilers but unfortunately randomizing rotation doesn't work here. But you can randomize them manually using different Transform nodes for each texture with rotation 0, 90, 180, 270 degree :
OSL_tilers.jpg
OSL_tilling.jpg
To make jagged lines you can use "tiles_basic.OSL" from this post : viewtopic.php?f=9&t=79536&p=411057&hilit=tile#p411057
OSL_tiles_jagged.jpg
Just connect noise node to Joint and use OSL projections for images
Architectural Visualizations http://www.archviz-4d.studio
User avatar
SSmolak
Licensed Customer
Posts: 1157
Joined: Sat Feb 07, 2015 5:41 pm
Location: Poland
Contact:

Jengo_1 wrote:Got it, thanks! works great for certain materials

So upon investigating the length of this projection - it breaks the image down to brick-like pieces right? But it doesnt add any rotation to them right? Is there any line of code that can add rotation, or is it not that simple to implement?

Thanks again, youre killin it everytime Aoktar
I tried to include random rotation by 90 degrees from different OSL's codes without success. Chaos node doesn't include stepped 90degree rotation mode.
Architectural Visualizations http://www.archviz-4d.studio
Post Reply

Return to “Maxon Cinema 4D”