How to Disable Texture Tiling?

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

Moderators: ChrisHekman, aoktar

LanceClayton
Licensed Customer
Posts: 19
Joined: Wed May 31, 2017 3:45 am

I swapped one of the images used in your sample file (opacity channel) with a coloured logo and my render was showing simply the silhouette of the logo shape stuck on the cylinder, all white, no colour or visual detail. ie it was just a white sticker.
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

LanceClayton wrote:I swapped one of the images used in your sample file (opacity channel) with a coloured logo and my render was showing simply the silhouette of the logo shape stuck on the cylinder, all white, no colour or visual detail. ie it was just a white sticker.
Again: You should do a proper setup for your images. You can't use "alpha mode" in imagetexture if your image hasn't that.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
LanceClayton
Licensed Customer
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Thanks Aoktar, I'm really trying to follow but I'm missing something. Please see my variation of your 'Stacking' file, there must be something that I'm not understanding.

My image has an alpha channel and is loaded into the opacity channel exactly where yours was.

We'll get there!
Attachments
stacking-LC.zip
(306.42 KiB) Downloaded 229 times
niestudio
Licensed Customer
Posts: 265
Joined: Fri Aug 21, 2015 10:03 pm

Hi Lance,
Your image does have an alpha, but you haven't told octane to use it.

you're type is currently set to normal:
normal.jpg
change it to alpha, and you'll get what you expect:
alpha.jpg
If you want the same image in your diffuse, just duplicate the image texture node and plug it into diffuse (with the type reset to normal).
OSX 10.12.4 | Intel 12 core @ 3.33 ghz | 128 gb ram | NVIDIA GeForce GTX 1080TI | Ubuntu Linux slave with 3x 1080ti
LanceClayton
Licensed Customer
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Finally got it!

Thank you all for helping out.

Lance
LanceClayton
Licensed Customer
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Actually, another thing.

I can't get that decal approach to work with a mix material?

Am I doing something wrong?

Please see the attached project file.
Attachments
Octane-Decal_mixMaterial.zip
(15.97 MiB) Downloaded 235 times
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

LanceClayton wrote:Actually, another thing.

I can't get that decal approach to work with a mix material?

Am I doing something wrong?

Please see the attached project file.
You can't use mix materials.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
LanceClayton
Licensed Customer
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Okay, in the event of anyone needing a mix material base then my method of creating a very large texture with many pixels worth of empty space around the logo (as a buffer) is a successful workaround to the tiling problem.

Is there no other way to do die-cut decals (via alpha layer) on top of a base texture WITH NO VISIBLE TILING of the decal? I'm happy with my method for now but if there's a better way then I'm always keen to take that on.
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

LanceClayton wrote:Okay, in the event of anyone needing a mix material base then my method of creating a very large texture with many pixels worth of empty space around the logo (as a buffer) is a successful workaround to the tiling problem.

Is there no other way to do die-cut decals (via alpha layer) on top of a base texture WITH NO VISIBLE TILING of the decal? I'm happy with my method for now but if there's a better way then I'm always keen to take that on.
1-Using mix materials are not possible sorry. Make your mix materials with same way how you do stacking.
2-"WITH NO VISIBLE TILING": this is still not clear what you mean after a lof of help attemps. I said you can use non-tiling of texture tags. Please read release notes about material mixing from manual.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
LanceClayton
Licensed Customer
Posts: 19
Joined: Wed May 31, 2017 3:45 am

Thanks Aoktar, I do appreciate the help. When I get a moment I'll prepare a bare bones project file showing my problem and perhaps when you see the issue that I get then we will further align on understanding of the challenge that I'm struggling with and what I'm missing.

At current, I understand your explained method for decals when layered atop a diffuse or glossy material, and I can get that working no trouble after the clear explanations here. But that stacking method doesn't work atop a mix material (as you noted)....that's why I have to stick with my workaround on this project for the time being.
Post Reply

Return to “Maxon Cinema 4D”