How to put images on a vector box and image follows it?

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Shirin
Posts: 7
Joined: Sun May 05, 2024 11:56 am

How to put images on a vector box and image follows it?

Post by Shirin »

Hello friends . Today I tried to place four images on the surfaces of the 3D box I created in Moho, but I didn't succeed. I tried to make the box with 2D vector and rotated it 360° by action But I could not put pictures and textures on the surface of this new cube. When I added the photo as a texture, it didn't move with the box. How can I put an image on the four sides of the box and make it move with it? I converted the box to a 2D mesh, but the program didn't know on which surface the image should be placed.
User avatar
synthsin75
Posts: 10016
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to put images on a vector box and image follows it?

Post by synthsin75 »

Image
https://drive.google.com/uc?export=down ... kamJoLR84H

Image textures only move with bone influence, so you need to use quad meshes. Here I've used a single quad mesh that I've referenced for each side, so I could animate the points from a single layer. Then I sorted the layers as needed during the rotation.

If this is too complex, you can also construct a 3D box by rotating and aligning 6 2D vector layers. In this case, image texture will work, since you're only moving the layers.
Shirin
Posts: 7
Joined: Sun May 05, 2024 11:56 am

Re: How to put images on a vector box and image follows it?

Post by Shirin »

Thank you very much, I understand now. You helped me a lot. Really, how do you post photos in here? I just became a member today 🙏🙏
User avatar
synthsin75
Posts: 10016
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to put images on a vector box and image follows it?

Post by synthsin75 »

Glad to help.

You have to host your image somewhere, like Dropbox, and then copy the share link here, in between [img ][/img ] tags.
I usually use https://imgbb.com/ to host my images nowadays, and the "BBcode full linked" you can just paste here, as it already has the img tags.
Shirin
Posts: 7
Joined: Sun May 05, 2024 11:56 am

Re: How to put images on a vector box and image follows it?

Post by Shirin »

Image

😂🙏When you tap it, it shows
Last edited by Shirin on Sun May 05, 2024 6:47 pm, edited 1 time in total.
User avatar
synthsin75
Posts: 10016
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to put images on a vector box and image follows it?

Post by synthsin75 »

You need to select "BBcode full linked" from the dropdown on imgBB to get the forum code.

EDIT: Ah, you found it. Odd that the gif isn't animated through. Might be too large.
Shirin
Posts: 7
Joined: Sun May 05, 2024 11:56 am

Re: How to put images on a vector box and image follows it?

Post by Shirin »

Yes, I tried But the file is gif .i don't know whyXD this don't move
User avatar
synthsin75
Posts: 10016
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to put images on a vector box and image follows it?

Post by synthsin75 »

Image

Yep, it's the file size. I took it over to EZgif, cropped it and reduced it to 75%. Reduced 1.78 MB down to 977 KB. Now imgBB is happy with it.

Nice results, BTW.
Shirin
Posts: 7
Joined: Sun May 05, 2024 11:56 am

Re: How to put images on a vector box and image follows it?

Post by Shirin »

🤩🤩Wow, thank you very much, I'll crop from now on to reduce the size. Eeeeee!
User avatar
synthsin75
Posts: 10016
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to put images on a vector box and image follows it?

Post by synthsin75 »

I cropped it and also reduced the size. Under 1 MB might be the magic number.
Shirin
Posts: 7
Joined: Sun May 05, 2024 11:56 am

Re: How to put images on a vector box and image follows it?

Post by Shirin »

The saw it moves much easier than. did you use the pattern of an opened box? Like this ? You did it much faster

Image
User avatar
synthsin75
Posts: 10016
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: How to put images on a vector box and image follows it?

Post by synthsin75 »

I just found an image of a box online an skewed/stretched duplicates of it to fit each side. That's why frame zero looks so odd.
The vectors are all connected. Not folded up from being unwrapped.
Shirin
Posts: 7
Joined: Sun May 05, 2024 11:56 am

Re: How to put images on a vector box and image follows it?

Post by Shirin »

Oh, so there was a box with three surfaces and you made the other two yourself. It's an interesting way😍. I had used a 3D obj and moved the shape by bone XD in x and Y and moved the vectors according to the shape, it was very difficult to me. Also my points was separate .Thank you for taking the time to help me and shared your Experience to me 🙏I'll do it with your method
Post Reply