Author Topic: Hat fabric logo stitch ?  (Read 1207 times)

Trying to learn how to make some fabric from a source image and not easy to do. Main problem is how to go about stitching a logo into the fabric ?



I tried downloading fabric from Source which looks nice but even harder to make it look as if the logo is stitched in.

Are you thinking of something like this?

Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html

Not exactly. The edges are solid outline, doesn't look as if it's part of the fabric.

Were you wanting the logo "knit" the same as the base fabric?  Do you have a reference image of the end result you're looking to achieve?

In my case, I was trying to get the look of it being a "sewn-on" monogram.  It's not perfect, and wouldn't fool anyone in a close-up photorealistic rendering, but was adequate for my needs.  (I had the terry cloth towel looking better once.  I need to find or recreate that version, and then call that Substance "done" for myself.)
Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html

Yes knitted in. The reference image I already posted, It's not very clear but looking at the front there is a picture and can see the edges are not solid they are jagged according to the knit.

Thanks for the reply.  I wasn't entirely sure if the colors on the hat were meant to depict the logo work you wanted or not.  I do understand what you want, now.

So, how to do it.  Hmm... I'm not sure.  Someone else probably knows.  It's almost like you need to "pixelate" it to get and "aliasing" effect on the edges, based on the underlyibg stitching.  If I am able to think of anything, I'll share it here.
Last Edit: June 16, 2018, 05:21:40 pm
Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html

Not ideal, and probably horribly inefficient, but is this getting closer?


Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html

Yes, not accurate but probably do. How did you do it ?

Also found these ...



Probably have to make the material myself.

The reference image is very low res so bit hard to work out the stitching pattern. Any ideas ?

I will share my .sbs file shortly...  I want to clean it up a little bit...

UPDATE…  Oh my...  My laptop totally froze, and this is one of the very rare times I hadn't saved my work yet.  Oh well, I guess it's a good excuse to try my new-and-improved idea.

I'll be back...



UPDATE #2...  Plan B didn't work out well at all.  I'll need to recreate my original technique, but right now I'm busy watching "The Incredibles" with my daughter.  It's a great pre-Father's Day movie to watch.
Last Edit: June 17, 2018, 12:17:05 am
Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html

Thanks, take all the time you need. Meanwhile I'm coming close to a reasonable result mainly using the tile sampler node, although 1 snag at the moment is not being able to go above 2048 or everything still freezes. Also might need to recreate the UV's.


Is that a "Monster's Inc" hat?

I started to play around again.  I was surprised how good it looked simply by overlaying the logo with a Blend node and a mask.  It would not stand up to scrutiny in an extreme close-up, but assuming the hat itself is not the focus of attention, even that simple approach was good enough to where I doubt it would draw your attention to it.

What I did the first time was I used several iterations of blurring, masking, and adjusting levels.  At least three passes, sometimes reaching back to the original text (or a slightly blurred one) to help clean up iteration three or four.

Seriously, the screen shot in your last post looks decent.  It doesn't look like you put a paper sticker on the hat or anything horrible like that.  Maybe it's time to step back, take a breath, call it "Done" and move on to the next item.

What is your goal?  A "game" situation?  Or a photorealistic render?  The fun of a challenge to yourself?  I'm curious.
Hobbyist
----------
Common "Help" suggestions:
- LOG FILE tips - https://forum.allegorithmic.com/index.php/topic,22451.0.html
- LICENSING issues https://www.allegorithmic.com/contact
- ATTACH files and pictures to posts: https://forum.allegorithmic.com/index.php/topic,23670.0.html

No not Monsters Inc, but could be. :-)

It's Anim / Photo realistic render. The trouble is I doubt I can come close due to not being able to output more than 2048, unless I can sort out the UV space to accommodate.

Once again thanks for the help.