All Questions
511
questions
0
votes
1
answer
45
views
When I apply the image to the canvas, it gets rotated and pasted on the mesh in the model
When I apply a texture uploaded using fabric canvas to the model, the texture gets rotated and applied.
[intial model] (https://i.sstatic.net/4avgVUGL.png)
after upload of picture and application
...
0
votes
1
answer
65
views
Applying Two Different Textures with Two Different Materials on the Same Mesh in Three.js/blender
I am working on a project where the user can cusotmise his/her shoes. I want them to color the individual parts which is easy to build (each part of the shoe is its own mesh). 1,2 and 3 are separate ...
0
votes
0
answers
22
views
Scaling issue with cylinder created from blender scaled using three js
I have an OBJ file created using Blender. I need to scale it using Three.js. The scaling works well for cube-like objects, but cylinder-type objects are not scaling correctly. Please correct this.&...
0
votes
0
answers
26
views
How to apply a shader texture to a GLB model element while preserving the native GLB texture?
I have a GLB model and I want to apply a shader texture to it in three.js
But I want to preserve the texture of the model that was created in Blender
Unfortunately, the shader completely overwrites ...
0
votes
0
answers
32
views
Add MorphTargets in the gltf file
I am searching for realistic Avatar 3D models for lipsync I found the models but in that model, there are no MorphTargets so I'm not able to do lipsync with that avatar. Manually I want to add it Can ...
0
votes
0
answers
50
views
Why is my GLB file from Blender not casting shadows in Three JS? (specifically in react three fiber)
I exported a GLB file from blender but when I import it into three js, it does not cast any shadows. I have made sure that my light has castShadow set to true, my ground has receiveShadow set to true, ...
0
votes
0
answers
33
views
re upload same texture into the object make the object texture different and low quality
i tried to update the texture on my glb file with some texture images and same texture image, but it was always like has some striped on my texture after update map texture
here is my current texture ...
1
vote
1
answer
77
views
How to extrude a certain triangle in a mesh in three.js
Description:
My three.js scene is based upon a selection tool in which if we click and drag over the mesh it colors the triangles of the mesh red, I want to create a function that when runs checks the ...
0
votes
0
answers
19
views
Three.js click and move logic with background image
Im currently working on a three.js project as stated, we move by clicking on the ground where we want our character to go and so on. Im using the navmesh library and building my ground floor in ...
0
votes
0
answers
73
views
THREE.JS gltf model loading, but missing node data & areas of mesh?
I'm trying to load my donut model using Three.js gltf loader, and I'm perfectly able to add the model onto the canvas, however the model doesn't load with it's geometry node data (sprinkles), as well ...
0
votes
0
answers
40
views
3D Model's Base Color Showing as Black on Three.js Site
I was finally got my model to show up and now the the textures aren't showing correctly. Anybody know what's going wrong?
Code Live View next to 3D Model in Blender:
// Load HDR environment map
let ...
0
votes
1
answer
209
views
How can I import a glb model from Blender with Shape Keys, into ThreeJS/ react-three-fiber?
TLDR; Importing a glb model from Blender into my react-three-fiber app breaks with the following error, when the exported model has multiple Shape Keys:
TypeError: Cannot read properties of undefined (...
0
votes
0
answers
19
views
Threejs texture loaded in Ldraw object goes all black
I am trying to display a Ldraw object with a texture on the shape.
It works when I add material color but goes all black/random light color when trying to add a map material image. See my code:
let ...
0
votes
0
answers
36
views
How can I smoothly load .obj files in my React component and switch between them without encountering "A component suspended while respon..." error?
`error : A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with ...
0
votes
1
answer
266
views
Blender model looks completely different in THREE.js
I have a Blender model that I want to use on my website, where I use THREE.js, but when I load my GLTF file, it looks broken. Things are missing or are in the wrong spot, the lighting also seems a ...