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

Forums: How to add a non-repeating image to an object?
Blender (Export script developed by yoyoz; Integrated Plugin developed by JimStar)

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

Postby justavisitor » Wed Mar 27, 2019 5:35 pm

justavisitor Wed Mar 27, 2019 5:35 pm
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).
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Licensed Customer
 
Posts: 232
Joined: Sat Oct 05, 2013 5:34 pm

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

Postby J.C » Wed Mar 27, 2019 6:25 pm

J.C Wed Mar 27, 2019 6:25 pm
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.
Attachments
uv transform.png
CPU – i7 8700k 4.8Ghz + 64GB RAM, GPUs: 2xRTX 2080, 2xGTX 980 Ti.
System – Windows 10, OS X 10.12.6. Octane 4-2019, Blender Plugin 17.x-20.x
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1079
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

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

Postby justavisitor » Wed Mar 27, 2019 7:45 pm

justavisitor Wed Mar 27, 2019 7:45 pm
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.)
Attachments
SuzanneExp.blend
(609.26 KiB) Downloaded 21 times
SuzanneExpScreenShot.PNG
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Licensed Customer
 
Posts: 232
Joined: Sat Oct 05, 2013 5:34 pm

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

Postby J.C » Wed Mar 27, 2019 10:37 pm

J.C Wed Mar 27, 2019 10:37 pm
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
CPU – i7 8700k 4.8Ghz + 64GB RAM, GPUs: 2xRTX 2080, 2xGTX 980 Ti.
System – Windows 10, OS X 10.12.6. Octane 4-2019, Blender Plugin 17.x-20.x
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1079
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

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

Postby justavisitor » Thu Mar 28, 2019 12:09 pm

justavisitor Thu Mar 28, 2019 12:09 pm
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! :)
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Licensed Customer
 
Posts: 232
Joined: Sat Oct 05, 2013 5:34 pm

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

Postby J.C » Thu Mar 28, 2019 1:19 pm

J.C Thu Mar 28, 2019 1:19 pm
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.
CPU – i7 8700k 4.8Ghz + 64GB RAM, GPUs: 2xRTX 2080, 2xGTX 980 Ti.
System – Windows 10, OS X 10.12.6. Octane 4-2019, Blender Plugin 17.x-20.x
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1079
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

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

Postby justavisitor » Thu Mar 28, 2019 2:34 pm

justavisitor Thu Mar 28, 2019 2:34 pm
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: )
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Licensed Customer
 
Posts: 232
Joined: Sat Oct 05, 2013 5:34 pm

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

Postby justavisitor » Sat Jul 20, 2019 11:18 pm

justavisitor Sat Jul 20, 2019 11:18 pm
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 12 times
Latest OctaneRender for Blender. Windows 10, i7 quad 3.7GHz, 16GB, 2xTitan.
justavisitor
Licensed Customer
Licensed Customer
 
Posts: 232
Joined: Sat Oct 05, 2013 5:34 pm

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

Postby ChrisH » Sun Jul 21, 2019 11:12 am

ChrisH Sun Jul 21, 2019 11:12 am
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.
Windows 10 Pro - AMD Ryzen 7 2100X 8 core 3.70GHz - 32GB RAM - GeForce GTX 1080 8GB
Stand Alone + Blender Plugin user
User avatar
ChrisH
Licensed Customer
Licensed Customer
 
Posts: 87
Joined: Sun Mar 06, 2011 12:13 am
Location: Lidköping, Sweden

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

Postby J.C » Sun Jul 21, 2019 12:49 pm

J.C Sun Jul 21, 2019 12:49 pm
Using Octane Baking Texture will help. Set repeating to Clamp and texture type to HDR linear space.
texture clamp displacement.png
CPU – i7 8700k 4.8Ghz + 64GB RAM, GPUs: 2xRTX 2080, 2xGTX 980 Ti.
System – Windows 10, OS X 10.12.6. Octane 4-2019, Blender Plugin 17.x-20.x
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1079
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław
Next

Return to Blender


Who is online

Users browsing this forum: No registered users and 0 guests

Thu Nov 14, 2019 10:18 pm [ UTC ]