React Three Fiber Tutorial: How to Apply Images to 3D Objects

preview_player
Показать описание
Let's learn how to create personalized 3D products such as mugs, t-shirts, bags, or any complex 3D shape by applying image textures.

In this tutorial, we will discover the Decal component from React Three Fiber. Another solution presented is to use CanvasTexture to create a custom texture to apply to the material.

🚀 Learn React Three Fiber with my complete course ✨

Starter pack 🔗

Final code 🔗

#threejs #developer #reactjs

▬▬▬▬▬▬ Useful L I N K S 🔗 ▬▬▬▬▬▬

Decal

HTML Canvas

CanvasTexture

Rabbit example

Ring example

Mug3D example

▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬

00:00 - Intro
00:29 - Project setup
01:03 - Concept
02:56 - Decal
07:38 - Preparing object on Blender
12:31 - Applying on 3D object
15:38 - Dynamic configurator
24:46 - Final result
25:01 - Thank you!

▬▬▬▬▬▬ Support the channel 🙏 ▬▬▬▬▬▬

Become a member to get access to awesome perks:

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

💻 The Discord Community

📸 Instagram :

🎎 Facebook :

🐦Twitter :

🐦TikTok :

💻 My website :
Рекомендации по теме
Комментарии
Автор

Sensei with the best tuts online again 🫡 project based, application based, critical thinking, practical, experiential, high level etc. Perfect as always.

genshian
Автор

I've been waiting for this for such a long time. You are the best. Fr

codingwithjuan
Автор

Hi the video is too good I appreciate that. I have a doubt..Lets consider the ratio of the image is landscape I see the decal stretched. Is there any other formal way to warp it and I have an hourglass need the wrapping to be perfect. The scaling feature is useless for this shape.

sathish-wy
Автор

how to get your menu ( at 2:10 minutes ) with all button and all are functional ??

fiusinoubou
Автор

Thanks a lot buddy, this video is exactly what i needed ! it solved a a lot of questions i had <3

SheriffKoder
Автор

Awesome work bro you are the Best bro ❤❤

julianvelez
Автор

Excuse me, I have problem with decal in circle meshes I mean for example for sleeves on t-shirt image will be stretched
How can I solve that?

dolphinsoft_Youtube
Автор

Amazing tutorials! Keep up the great work Can you give me some more tips to achieve CanvasTexture solution? Much thanks.

tomsvacietis
Автор

Hello, Sir. Thanks for this video.
could you please help me with my problem ? I want to curve texts around sphere with three js but i don;t know how
is it possible to you making a video about this ?

codeaz
Автор

Appreciate the video! The drei repo has the polyonOffset placement wrong. Thanks for showing me that it has to me on the material!

zachez
Автор

Imagine a bag with an outer mesh whose z-position needs to be dynamically calculated based on changes to both its x and y positions, as well as alterations in scale. How can we determine the z-axis value in such a scenario?

khanjee
Автор

Thanks for this 🎉.

My texture image became blurry when using it on the 3d gltfxjsx model (i used a shirt instead of mug)

caesarsage
Автор

can i have a input button on the surface to apply a costum image or logo on the model?

JoyDesignD
Автор

nice video. How would you manage "Layers" if you put 2 decals on top of each other to control which one is rendered on top? Thank you for your videos - best Web3d content I've found on the web so far!

realadnoh
Автор

I got blurry image when importing the texture, how can I get a sharp image...I'm using svg though

sikfreeze
Автор

how can i make this dynamic ? map through meshes instead of adding them static

tonyibra
Автор

Can we add multiple 3D object in one canvas?

Gigabyteserviceofficial
Автор

great instead of img how text will apply

Cric.comfortzone
Автор

that was not canvastexture. it was decal. those are two different things

lewyathan
Автор

and why cant you just add an image into blender and do it that way???

ayrtonandsons
join shbcf.ru