Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate UV map as 2D from the 3D glb Model and draw image on UV map apply on same meshes on 3D model in Three.js #212

Open
IntruderMan opened this issue Feb 7, 2025 · 0 comments

Comments

@IntruderMan
Copy link

Hi I am trying to generate 2D UV map from the 3D model in Three.js dynamically and after than i have to draw image on 2D UV map image will be apply as texture on 3D model.
I tried so many ways to do it like us png UV map by generated blender and us in three.js project but issue is getting when resize the 3D model by length, width and height so its not working on png uv as same coordinates.

I also use 3D model in unfold mode as UV of the same and us febric for the image drawing so here getting issue with height, when change it so its reflect on thickness which are increasing ( width and length working well when change size)
How so solve this issue can anyone pl help that how can fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant