You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to console log all geometries inside a gltf or a way to add Edges by using primitive?
Or if you have an idea on what I should put in geometry={model.Plane.geometry} would be a great help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm new to three js and the way I'm importing my gltf is by using primitive
I want to add < Edges /> for my 3d object but I can't make it work by using primitive.
what I found that works is by getting the geometry
It works for my test gltf with a simple cube but I cant make it work to my actual model screen shot below.
![image_2024-01-18_114143749](https://private-user-images.githubusercontent.com/70458045/297606133-66ed8dd9-55c1-420f-b852-411d250870e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNTkxNjUsIm5iZiI6MTcyNTA1ODg2NSwicGF0aCI6Ii83MDQ1ODA0NS8yOTc2MDYxMzMtNjZlZDhkZDktNTVjMS00MjBmLWI4NTItNDExZDI1MDg3MGUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDIzMDEwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA1ODBjOWMxYWRkN2NjNjVkYWI2OTVmZjMyYzBiMmI1NjE5YWRmZmUyZGFjYWIxYTlhODVkMDkyNjQ2ZTU5OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6zSpVXYO-m2AYq4Xf8AZNCap2S2VsdEjE9dumV2wcBg)
I tried this but still cant get the plane geometry.
Is there a way to console log all geometries inside a gltf or a way to add Edges by using primitive?
Or if you have an idea on what I should put in geometry={model.Plane.geometry} would be a great help.
Beta Was this translation helpful? Give feedback.
All reactions