336 questions
0
votes
0
answers
85
views
How do I import spline scene with animations and interactions to my React website using React Three Fiber (R3F)?
I have this script that I have written in react-three-fibre, as my overall website is in Three.js:
import useSpline from '@splinetool/r3f-spline';
import { OrthographicCamera } from '@react-three/drei'...
0
votes
0
answers
12
views
Xcode BodyTrackingAR with custom 3D Model
I am following the link
https://developer.apple.com/documentation/arkit/rigging-a-model-for-motion-capture
and download the sample code
The Xcode would using the .usdz file for the 3D character, We ...
0
votes
0
answers
37
views
How to directly open AR viewer in iOS without redirecting through Chrome in React Native?
In my React Native app, the onViewAr button redirects to the AR viewer as expected on Android. However, on iOS, it first opens Chrome before redirecting to the AR viewer.
How can I ensure that the AR ...
1
vote
0
answers
84
views
How to Load a 3D .glb Model in Flutter and Detect User Taps on Specific Areas?
I am loading a 3D .glb model in my Flutter app using the following dependencies:
three_dart: ^0.0.16
flutter_inappwebview: ^6.1.5
webview_flutter: ^4.10.0
http_server: ^1.0.0
The model loads ...
0
votes
0
answers
48
views
Implementing Drag-and-Drop Image Upload to a Canvas Texture in React.js
I am working on a project in React JS uisng of Three.js and need to implement a functionality where users can upload an image via drag-and-drop. If the image intersects with the canvas, the ...
1
vote
0
answers
36
views
How to create multiple different irregular cube 3D models in AnyLogic?
It seems that AnyLogic can only create 3D models similar to walls. I want to create irregular 3D cubic entities, which are a set of cubes cut from an irregular body. The cubes have varying heights, ...
2
votes
1
answer
311
views
How to Use FBX Models with three.js
I'm studying computer graphics with WebGL and want to utilize Three.js to draw FBX models. I have succeeded in loading the FBX models that are shared for free, but I don't know how to add textures and ...
1
vote
1
answer
49
views
Collider that appears on its own
Sometimes there is a capsule collider that shows itself, even though I haven't added the capsule collider and there is no collider in the inspect view. I try to lower the model, but it keeps rising. ...
-2
votes
1
answer
38
views
How do you generate roof geometry from a simple polygon where each edge has a defined slope?
Given:
A) a list of points defining a simple (possibly concave) polygon on a 2D plane
B) a list of slopes in the range [0, ∞), where each slope corresponds to a segment defined in (A)
*a "...
-1
votes
1
answer
103
views
Converting 3ds/obj/fbx 3d model to glb
Im trying to implement a 3d baseball stadium model to my next.js project using three.js/r3f.
The problem is that the model i need only supports fbx, 3ds, obj format, and as far as i know, to implement ...
1
vote
0
answers
56
views
Changing arrowhead style of 2 of the six vectors in a 3D plot
I would like to lay emphasis on the fact that two of the vectors pointing towards one specific point (environment) are different from the other vectors. I thought of doing so by changing the arrow ...
1
vote
1
answer
209
views
Shadows not casted/received with HDR environment texture in Three js
I am new to three js and I’ve been working on a project where I want to cast a shadow of the import 3D model which is download from this link also download the HDR file from the link free pack.
As per ...
0
votes
1
answer
85
views
Create and customize T-shirt using SceneKit
I have an iOS App for clothes shops. and I want to render a 3D model for a t-shirt.
I will use Scenekit to render this 3D model.
Now I want to let the user (customer) customize this T-shirt by ...
0
votes
1
answer
218
views
Problem importing a .glb file using import.meta.url in Three.js using parcel bundler
I started to make a little Game for me and my Friends with Three.js. I watched many tutorials on how to import .gltf and .glb files. I'm using the parcel bundler and the command: npx parcel ./src/...
0
votes
0
answers
125
views
how to add 2d video instead of 3d model in mind-ar by using its scripts?
I just started using mind-ar opensource project on git hubtext this one has the JS version. and I cant replace the 3d model, here is the snippet
<a-assets>
<a-asset-item id=&...
-1
votes
1
answer
251
views
How to visualize data from a 6-axis gyroscope using a 3D model in WPF?
I have a PS4 game controller, and I can now read data from it using HID, including 6 axes as shown in the image below.
Three axes represent acceleration, and the other three represent angular rate.
...
0
votes
1
answer
457
views
How to maintain threejs model pose during consecutive animations
Hi I am working on a 3d avatar model to replicate sign language poses. I have created two separate actions in blender for my avatar hampalmd & hamshouldertop. In blender it is possible to create ...
3
votes
1
answer
1k
views
how to display a 3d model with jetpack compose?
I want to show a 3d object in app, that you can see all sides of that with rotating in jetpack compose and I can't find a source code.
Can anyone show the codes of making it please?
I read something ...
0
votes
0
answers
73
views
How to load fbx file with animation in wpf project
Title: Trouble Animating FBX File in WPF
Explanation: I'm encountering difficulties animating an FBX file within a WPF (Windows Presentation Foundation) application. Despite trying various libraries ...
1
vote
1
answer
86
views
FBX 3D Model Importer app crashed with OVR Integration
GOAL
I imported package and OVR Integration package.
I want to show model from web url and show 3d model in Oculus.
ISSUE
App crashed and quit when model appear after model loading done.
Model Loader ...
1
vote
0
answers
149
views
How to show 3d model in android java
I want to show .gltf 3d models of all planets in android using java. I don't want to use camera, there will be image of space in the background and planet's 3d model will be on top of that. I also ...
2
votes
2
answers
1k
views
TypeError: Cannot read properties of undefined (reading 'updateWorldMatrix')
I am not very skilled in ThreeJS.
I am trying to create bounding box to wrap a 3D model. The model is loaded well because I can see it on the scene
const loader = new GLTFLoader();
loader.load(
...
0
votes
0
answers
45
views
3d module pose animates to another
I'm trying to do an animation of a 3D Model walking towards the user whilst in pose 'Baby--Charge' however at the end of the position animation I want the 3D models pose to change to the 'Baby--...
1
vote
0
answers
49
views
The Jupyter env in PyCharm is unable to render pythreejs 3D models!
I tried running code in Jupyter within PyCharm, as shown in Figure 1. The code is expected to draw a 3D box model, but nothing is output. After checking, there are no bugs. So, I opened the web **...
0
votes
0
answers
90
views
Disable mouse wheel zooming and user-rotation on 3D embedded model in wordpress website
I have an embedded 3D model on my wordpress website which I created, now hosted online by creators3d.
I want to alter the code somehow so you wouldn't be able to zoom in with the mouse or click&...
1
vote
0
answers
288
views
Rotate an object around a sphere with a custom gravity
I'm currently trying to make an object rotate around a sphere with physics in Threejs.
I'm facing issues with the orientation of the model and the control with the applyImpulse on this same model in ...
0
votes
0
answers
22
views
How to recreate Geometry by changing colour when user select at any point of node
I have a 3D SCN model i am showing it in SCNode in SceneKit, I want to implement a code when user touch on any part of node i want to change the colour of that point user select and recreate the ...
2
votes
0
answers
2k
views
How to load USDZ Models with animations and textures using ThreeJS
I am building a web-based 3D viewer. It is working perfectly for other file types (.fbx, .glb, .obj, ...)
It gets complicated when I want to load .usdz files.
To do that I am using github.com/ponahoum/...
0
votes
1
answer
687
views
Lights Not Producing Expected Effects on 3D Model in Three.js
I'm currently working on a 3D scene using Three.js, where I've incorporated a 3D model using the @react-three/fiber and @react-three/drei libraries. The model renders correctly, but I'm encountering ...
1
vote
0
answers
321
views
How to render 3d model (GLB or STL format) from server in angular?
In my project , The admin can upload 3D models of products in glb or stl format to the Firebase FireStorage. I want them to render in my project using the link to the file that I get from the Firebase ...
2
votes
1
answer
816
views
Is it possible to control a 3D face model in real-time using face landmark detection technology in Python, such as Mediapipe Face Mesh or DLib?
I want to control a 3D face model (.obj, .ply, .vrm ...) in real-time using the face landmark (or face mesh) positions obtained by face landmark detection technology in python(mediapipe face mesh, ...
0
votes
1
answer
71
views
Forge Disconnected Workflows not working in iphone
Has anyone tried this in iphone, https://forge-disconnected.autodesk.io/
It works fine on windows, mac and android, but on iphone it seems to be stuck at this screen,
enter image description here
Also,...
0
votes
1
answer
187
views
GLB object not loading on flutter windows
I'm using model_viewer_plus and I have a problem showing the model file.
I've cloned this (repo)[https://github.com/omchiii/model_viewer_plus.dart] but it gave me this error on windows:
Unsupported ...
1
vote
1
answer
54
views
Is it possible to restrict "pinch and zoom" in echo3D webAR experience?
I'm using echo3D to showcase 3D models for a client but I am wondering if/how it's possible to limit how viewers interact with the WebAR experience? Can I turn off “pinch and zoom” and restrict ...
2
votes
0
answers
80
views
Why does it not render?
I am trying three.js for the first time. I looked up a tutorial and copied the exact same code but for some reason but it's not working. I checked the class in html, the link between the js file the ...
2
votes
0
answers
1k
views
Visualization of TriangleMeshModel in Open3D
I have been trying to visualize 3D models in Open3D-Python by using the following code:
import open3d as o3d
model = o3d.io.read_triangle_model("nk1.glb")
o3d.visualization.draw_geometries([...
0
votes
1
answer
797
views
Highlighting a part of 3D model using Three.js
I have a 3D model that has to be displayed in an html page. I have done that and I am able to move it around 360 degree as well. Now, I need to highlight specific parts. For eg: if the object is ...
1
vote
1
answer
847
views
How to render .obj file when using react-three-fiber expo-three etc in an expo managed project?
Ok so i was following this tutorial
Now the app is working fine but the issue is arising whn i tried to display it inside the View component.
Here is the code that returns the ShoeModel
import { ...
2
votes
1
answer
443
views
ncaught Error: Could not load ./desktop_pc/scene.gltf: THREE.GLTFLoader: Failed to load buffer "scene.bin
i got the following error, when i tried to render 3d model using react-three-fiber,
I'm kinda new of using threejs, any help would be much appreciated
uncaught Error: Could not load ./desktop_pc/scene....
0
votes
1
answer
326
views
Unity 3D-Cannot add Physic Material to a model imported from Blender?
I have made a simple Blender model and imported the .blend file into unity,I want to add Physic Material to it but my cursor was showing cancel sign,I cannot drag the texture to it.
Please help!
See ...
4
votes
0
answers
1k
views
How to load texture in Open3D
I'm posting this even though a similar question exists: How to add texture to a mesh in python Open3d? as some classes and their definition have changed with v.0.16.0.
I have been trying to visualize ...
0
votes
0
answers
78
views
Texture flickering occurs when OpenGL renders .fbx or .dae files on the Android
Android uses OpenGL to render fbx or dae files, and the texture flickers. The situation is as follows.
How can I solve it?
PS:I set each vertex to be influenced by up to 8 bones
This is png
This is ...
0
votes
0
answers
465
views
Incorrect display of my 3D model with Panda3D
I'm trying to use Panda3D to make a 3D game with Python. I used Blender to make a 3D model for the player, and gave it some animations and a green texture. It looks like this:
Then I exported it in ....
0
votes
1
answer
271
views
OpenGL - Moving Object using Modelmatrix
I am working on an OpenGL project. In this project, I would like to simulate a 3D chess game in c++. Of course, the pieces should be movable at will. The chessboard and pieces are already displayed ...
0
votes
1
answer
379
views
How to show an OBJ file inside MUI component with three.js?
I am facing an issue while trying to display an OBJ file (or any type of 3d model) in the UI. The thing is the obj is perfectly loading. But how can I show it inside the MUI component?
I am using ...
1
vote
1
answer
561
views
How setFromSphericalCoords in Three.js works?
I am creating a Three.js App. It is a 3D ISS Visualizer, and I am using this API to get the latitude, longitude and altitude of the ISS. My problem is that I want to rotate the ISS model around my ...
0
votes
1
answer
181
views
Create a mesh from GLTFLaoder().load() in Thre.js
I have a local 3D object model and I load it with:
const loader = new GLTFLoader();
loader.load("path/to/model", gltf => {
scene.add(gltf.scene);
});
How should I create a mesh out of ...
1
vote
1
answer
789
views
Place a point upon coordinates on a 3D object model in Three.js
I am building a Three.js App (React Template, if it's important). I have this 3D object model that should act like the Planet Earth in app. And I've got this space station model. I wanna rotate the ...
1
vote
2
answers
2k
views
How can I transform a 2d midjourney image in to a 3d model?
So,
I am generating beautiful architectural images using the new AI tool: Midjourney. But for a school project I need to find a process of transforming this images in to 3d models that I can create ...
0
votes
1
answer
48
views
How to compare variable name and button id to load content inside variable for ThreeJS?
I am using Three.js to load multiple 3D models and store them in an array in the background. I've multiple buttons with unique ID add that specific model to scene. Now I want to compare the button ID ...