Page 1 of 3

How to add a non-repeating image to an object?

PostPosted: Wed Mar 27, 2019 5:35 pm
by justavisitor
I don't have much experience in UV-mapping -- could someone perhaps link to a description of how you add two different non-repeating images to an object?

For example, add a black circle to the front of "Suzanne's" face, and a red circle to the back.

I assume I should use some of Octane's Projection. But I haven't had success with them yet (images still seem to repeat, though perhaps only twice).

Re: How to add a non-repeating image to an object?

PostPosted: Wed Mar 27, 2019 6:25 pm
by J.C
You can achieve this using UVW Transform:
https://docs.otoy.com/StandaloneH_STA/S ... exture.htm

On the left material with shown node setup. On the right normal texture setup.

Re: How to add a non-repeating image to an object?

PostPosted: Wed Mar 27, 2019 7:45 pm
by justavisitor
Thank you for your reply!

I'm sorry, but I don't understand how it applies to the 'Suzanne' situation -- e.g. I'm not sure what you are achieving with this setup?

However, I think I figured out how to place one non-repeating image on an object (as shown in the attached .blend and screenshot): By using the "White Color" option in the Octane Image Tex instead of Wrap around.

But I also tried this in another project where it did not work (the image was shown twice, instead of just once.)

And what I still can't figure out is how to place a second , different image on 'Suzanne'...

(I know this is a very basic question :oops: , and perhaps I should rather ask in one of the Blender communities; I'm just not sure if there are any Octane specific options I should be aware of.)

Re: How to add a non-repeating image to an object?

PostPosted: Wed Mar 27, 2019 10:37 pm
by J.C
Sorry, I thought you wanted to achieve a non repetitive look of a texture.

If to want to combine two textures you can try Multiple texture like in the example below:
multiple tex.png

Re: How to add a non-repeating image to an object?

PostPosted: Thu Mar 28, 2019 12:09 pm
by justavisitor
J.C wrote:If to want to combine two textures you can try Multiple texture like in the example below:
multiple tex.png


Super J.C -- thank you so much! Just what I needed!

I have literally thought about this for years! :)

Re: How to add a non-repeating image to an object?

PostPosted: Thu Mar 28, 2019 1:19 pm
by J.C
To help textures positioning you can use Transform nodes or you can create maximum 3 UV sets (per object) and use them with any texture if you like.

Re: How to add a non-repeating image to an object?

PostPosted: Thu Mar 28, 2019 2:34 pm
by justavisitor
J.C wrote:To help textures positioning you can use Transform nodes or you can create maximum 3 UV sets (per object) and use them with any texture if you like.


Thank you very much again J.C, this is just so perfect!

(I copied the node-image and mailed it to myself, in case it would ever disappear from the forum... :mrgreen: )

Re: How to add a non-repeating image to an object?

PostPosted: Sat Jul 20, 2019 11:18 pm
by justavisitor
Hello again,
I still can't figure out how to avoid repeating images. (But the other part of my question -- combining two textures on one object -- was completely solved, and thanks for that!)

In my previous posts above, I thought I could avoid repetition by using the "White Color" option in the Octane Image Tex instead of "Wrap around."

However, that does not work. Please see attached image and .blend:
BlenderUnwantedRepeat.PNG


On Blenderartists, I found a description of how to make it work in Blender Render and in Cycles:

For Blender Render, in the Texture / Image Mapping panel change it from repeat to something like clip
For Cycles use a Mapping node with Min and Max enabled

Here's the URL: https://blenderartists.org/t/no-repeat-texture/597168/5

So I wonder if there's a similar trick in Octane? E.g. perhaps some extra node you can insert somewhere to prevent images from auto-repeating?

Also, is there any way to smooth/subdivide/bevel edges that are created using a Displacement node? Currently, they look like this up close (higher image resolution doesn't make any difference):
BlenderDisplacementArtifacts.PNG


Thank you in advance!
BlenderUnwantedRepeat.blend
(590.57 KiB) Downloaded 13 times

Re: How to add a non-repeating image to an object?

PostPosted: Sun Jul 21, 2019 11:12 am
by ChrisH
Hi justavisitor

The problem is that the Displacement node (sadly) ignores the border mode (see: viewtopic.php?f=114&t=70858&hilit=Displacement#p360412 it's the same in the latest [test] version as well).
So while it works fine for other texturing with white/black/clamp color border, the Displacement node will always "wrap around".

The only way I can think of to get around it is to manually added wide borders to the texture in an image editor, and then adjust the UV map.

As for the jagged edges, change the Filter type (third drop down of the Displacement node) to Box or Gaussian and then increase the Filter Radius.

Re: How to add a non-repeating image to an object?

PostPosted: Sun Jul 21, 2019 12:49 pm
by J.C
Using Octane Baking Texture will help. Set repeating to Clamp and texture type to HDR linear space.
texture clamp displacement.png