adrianhajdin / project_threejs_ai

https://jsmastery.pro
897 stars 267 forks source link

Turning and rotating 3D Tshirt #4

Open Arakistech opened 1 year ago

Arakistech commented 1 year ago

Hi, I would like to rotate the Tshirt as it is a .GLB file with Three.js but that is not currently possible. How can I do it?

Raspber commented 1 year ago

i am learning how to upload my own glb files, that also requires some knowledge of blender so i can have it upload to certain parts of the model. im trying to learn three js for this. this way i can add more products and view options as well as locations on the product.

pradeepthsjain commented 1 year ago

As soon as i click on ai full or ai logo button my screen goes white and i can see errors on the server terminal and even in inspect console. Screenshot (8) ![Screenshot (9)](https://github.com/adrianhajdin/project_threejs_ai/assets/115602871/712d6f9b-014d-4565-a1fd Screenshot (10) -8d91beeafb68) Screenshot (11) Can someone please help me out with this....?

K4R7IK commented 11 months ago

@pradeepth02 Hey, Just want to tell you that if you face an issue, no need to post it everywhere as it's get irritating. You can create an issue or post somewhere where your issue is related with others. Posting your problem everywhere on GitHub isn't a good practice & is unprofessional.

K4R7IK commented 11 months ago

@Arakistech @Raspber I also wanted to rotate the 3d model. I used OrbitalControl from react/drei. The issue I'm facing is that, there is some kind of wall behind the T-shirt which is preventing it from rotating.

Raspber commented 7 months ago

@Arakistech @Raspber I also wanted to rotate the 3d model. I used OrbitalControl from react/drei. The issue I'm facing is that, there is some kind of wall behind the T-shirt which is preventing it from rotating.

Yes I got it to rotate. You need to go into the blender file and delete the wall. You also need to add 2 more lights and delete the shadow that is baked in.

K4R7IK commented 7 months ago

@Arakistech @Raspber I also wanted to rotate the 3d model. I used OrbitalControl from react/drei. The issue I'm facing is that, there is some kind of wall behind the T-shirt which is preventing it from rotating.

Yes I got it to rotate. You need to go into the blender file and delete the wall. You also need to add 2 more lights and delete the shadow that is baked in.

Can you share the blender file with me? Never used blender before. Therefore, it would be great.