Aligning Texture Map

Aligning Texture Map

O.Tan
Advisor Advisor
1,708 Views
10 Replies
Message 1 of 11

Aligning Texture Map

O.Tan
Advisor
Advisor

Hi, 

 

So I'm trying to align the round meshes generated for this box shaped sheet metal that I design, somehow I'm only able to align it on one end, but I'm unable to do so on the other end.

 

Screen Shot 2016-08-25 at 5.11.20 PM.png

Correctly aligned

Screen Shot 2016-08-25 at 5.11.38 PM.png

Notice on the highlighted face, the top hole edge isn't aligned properly

Thanks



Omar Tan
Malaysia
Mac Pro (Late 2013) | 3.7 GHz Quad-Core Intel Xeon E5 | 12GB 1.8 GHz DDR3 ECC | Dual 2GB AMD FirePro D300
MacBook Pro 15" (Late 2016) | 2.6 GHz Quad-Core Intel Core i7 | 16GB 2.1 GHz LPDDR3 | 4GB AMD RadeonPro 460
macOS Sierra, Windows 10

0 Likes
Accepted solutions (1)
1,709 Views
10 Replies
Replies (10)
Message 2 of 11

PhilProcarioJr
Mentor
Mentor

@O.Tan

Which UV method are you using?



Phil Procario Jr.
Owner, Laser & CNC Creations

0 Likes
Message 3 of 11

LMD001
Collaborator
Collaborator

Hello Omar,

 

I'm assuming here you want to evenly distribute a given hole distance on a box.

You could model the mesh plate, on the other hand if this is for cosmetics, you're better off with the appearance.

 

The Automatic projection does a pretty good job for aligning the mesh, that is, if the box is the correct size, (multiple of the hole distance).

 

I made a box of 6 separate patch faces, then you can move the individual texture maps around to +- match the measurements of the box, even if not a multiple of the hole distance.

 

Edit: Turns out that this is exactly what automatic projection does...

 

Then again, in real life, this will only work if you can use separate plates to construct the box, if you are going to bend you are probably better to use a multiple of the hole distance.

 

Screen Shot 2016-08-25 at 12.49.55.png

 

 

Hope is of any help.

 

Best regards,

Ludo

0 Likes
Message 4 of 11

LMD001
Collaborator
Collaborator

@PhilProcarioJr

 

Oops, sorry Phil, didn't notice that you already replied.

 

Best regards,

Ludo

0 Likes
Message 5 of 11

PhilProcarioJr
Mentor
Mentor

@LMD001

No worries, that's why we are here is to help. Smiley Happy

This thread reminded me of a bug I want to report anyways with the Box UV mapping. I had forgotten about it.

Your right though automatic mapping should work but I have seen times it doesn't and you have to align each face manually.

The UV mapping tools need more attention. 



Phil Procario Jr.
Owner, Laser & CNC Creations

0 Likes
Message 6 of 11

O.Tan
Advisor
Advisor

@PhilProcarioJr@LMD001

 

Thanks for the replies, it's mainly cosmetic as it'll be made using round hole perforated stainless steel sheet metal. 

 

So after applying the "Stainless Steel Mesh - Holes Small" appearance to the component, I selected the component + right click and selected "Texture Map Controls" which I then use the Move tool to "fix" the holes but it didn't work on all sides, my projection type is set to Box.

 

And it seems I'm unable to specifically select one of the faces to manually fix it.

 

 



Omar Tan
Malaysia
Mac Pro (Late 2013) | 3.7 GHz Quad-Core Intel Xeon E5 | 12GB 1.8 GHz DDR3 ECC | Dual 2GB AMD FirePro D300
MacBook Pro 15" (Late 2016) | 2.6 GHz Quad-Core Intel Core i7 | 16GB 2.1 GHz LPDDR3 | 4GB AMD RadeonPro 460
macOS Sierra, Windows 10

0 Likes
Message 7 of 11

PhilProcarioJr
Mentor
Mentor

@O.Tan

Try automatic mapping because there is a bug in the box UV mapping. (It should work) If automatic doesn't work turn you box into 6 surfaces so you can adjust the UV's separately.

It's a pain but I think it's the only other option you have. I really wish we had more control....



Phil Procario Jr.
Owner, Laser & CNC Creations

0 Likes
Message 8 of 11

O.Tan
Advisor
Advisor

Looks like I'll have to split it to 6 surfaces as automatic mapping gave me this instead on all sides

 

Screen Shot 2016-08-26 at 5.00.00 PM.png

 

Ignore the solid lines at the back as this perforated box is sitting on top another solid box



Omar Tan
Malaysia
Mac Pro (Late 2013) | 3.7 GHz Quad-Core Intel Xeon E5 | 12GB 1.8 GHz DDR3 ECC | Dual 2GB AMD FirePro D300
MacBook Pro 15" (Late 2016) | 2.6 GHz Quad-Core Intel Core i7 | 16GB 2.1 GHz LPDDR3 | 4GB AMD RadeonPro 460
macOS Sierra, Windows 10

0 Likes
Message 9 of 11

PhilProcarioJr
Mentor
Mentor

@O.Tan

I wish I could tell you there was an easier way but......



Phil Procario Jr.
Owner, Laser & CNC Creations

0 Likes
Message 10 of 11

chengyun.yang
Alumni
Alumni

Hi Phil and O.Tan,

 

We will look into the box texture mapping and then get back to you.

 

Thanks

Chengyun

Fusion Development Team

0 Likes
Message 11 of 11

chengyun.yang
Alumni
Alumni
Accepted solution

Hi,

 

I checked our box texture mapping implementation and it seems to me that it is worked as designed. The box texture mapping is implemented in the way so we can map each of the directions by a planar map that makes sense when looking from “above” in that direction. There is no guarantee that the texture coordinates are consistent long the box edges. To achieve your target, you are probably better to make sure the box size is a multiple of the texture sample size. You can try to edit the texture sample size by using the material advanced editor as below.

 

Thanks

Chengyun

 

TextureSampleSize.png

 

 

 

0 Likes