Offseting UV's randomly

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
MantasKava
Licensed Customer
Posts: 36
Joined: Fri Nov 20, 2015 4:01 pm

Hey guys.

So how do i offset my UV's/texture randomly on a bunch of instances? C4D here.

Thanks!
User avatar
bepeg4d
Octane Guru
Posts: 10365
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi MantasKava,
you need to use a gradient node in complex mode with the random color node as input, look at this example with the same texture and different uv transform values:
Screen Shot 2017-04-20 at 17.27.32.jpg
ciao beppe
MantasKava
Licensed Customer
Posts: 36
Joined: Fri Nov 20, 2015 4:01 pm

Hey Bepeg4d,

Thank you alot for your effort.
It ALMOST works, the only problem is (and you can see it in my attached screenshot) that all of those textures gets blended on top of each other, and it shouldn't be this way. You can see it better if you input different textures into gradient node and lick them to diffuse channel.

Is there a way to overcome this?
Attachments
randomOffset.JPG
User avatar
FrankPooleFloating
Licensed Customer
Posts: 1669
Joined: Thu Nov 29, 2012 3:48 pm

I believe you need to change Interpolation to Constant.
Win10Pro || GA-X99-SOC-Champion || i7 5820k w/ H60 || 32GB DDR4 || 3x EVGA RTX 2070 Super Hybrid || EVGA Supernova G2 1300W || Tt Core X9 || LightWave Plug (v4 for old gigs) || Blender E-Cycles
MantasKava
Licensed Customer
Posts: 36
Joined: Fri Nov 20, 2015 4:01 pm

FrankPooleFloating wrote:I believe you need to change Interpolation to Constant.
That was it! Thanks!
Paquitopistolas
Licensed Customer
Posts: 3
Joined: Wed Feb 24, 2021 2:24 pm

Hi everyone! I´m using the 2020 version and It doesn´t work for me, I guess I'm doing something wrong but I don't know what :roll:
Attachments
octane.PNG
User avatar
bepeg4d
Octane Guru
Posts: 10365
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
please note that Random Color node works only for Render Instance/Multi Instance cloners, and the multi-texture Gradient cannot work with Texture Displacement, you need Vertex Displacement instead:
https://docs.otoy.com/cinema4d/OSLVerte ... ement.html

ciao Beppe
Paquitopistolas
Licensed Customer
Posts: 3
Joined: Wed Feb 24, 2021 2:24 pm

Thank you for the quick answer, but I still can't get it to work, not displacement at all... :?
Attachments
222.PNG
User avatar
bepeg4d
Octane Guru
Posts: 10365
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
please check that the Displacement nodes connected to the Vertex Displacement Mixer are both set to Vertex Displacement, instead of Texture Displacement.

ciao Beppe
Post Reply

Return to “General Discussion”