17,114 questions
Advice
0
votes
2
replies
45
views
How do I make directional movement in my 3D Raylib game
I am currently making a 3D game with C# in Raylib a game library and when coding the movement of my player which is just a hitbox and a camera, I ran into a problem on how the player movement controls ...
Tooling
0
votes
7
replies
126
views
Visualizing a 3D table or spreadsheet in R
I want to visualize a 3D data structure in a 3D table or spreadsheet in R. Much like a 2D spreadsheet, for example in Excel, but with three-dimensional cells. Here is a rough sketch of what I want to ...
4
votes
1
answer
101
views
Canvas 2D hidden line removal for 3D wireframe - depth buffer approach fails on complex meshes
I'm implementing hidden line removal for a 3D wireframe renderer using HTML5 Canvas 2D. When rendering a solid object with wireframe overlay, edges behind solid faces should be hidden.
Drag to rotate. ...
0
votes
1
answer
171
views
How to eliminate extra dimensions in this 3D Numpy array pattern matching?
This Python script:
import numpy as np
img = np.zeros((5, 5, 3), dtype='u1')
a = (1, 2, 3)
b = (3, 2, 1)
img[1:4, 1:4] = a
img[1, 1] = b
pat = img[1:4, 1:4]
win = np.lib.stride_tricks....
Tooling
0
votes
1
replies
70
views
Implement STL flexi toy maker / add hinges to STL files programmatically
So, what I am trying to implement is STL flexi toy maker app.
The desired functionality is simple: the user uploads stl -> selects where to 'cut' (where the hinges will be) -> the model is ...
0
votes
0
answers
93
views
Perspective transform breaks at extreme Z values
The following is my 3D renderer, written in HTML and JavaScript for the time being. I've ironed out many kinks in it so far, and have finally gotten it to render a somewhat normal cube, but when Z ...
0
votes
1
answer
57
views
Creating 3d Mesh from Z stack of ROIs
I have a set of 3D ROI label stacks stored as TIFF files, where each ROI represents a single cell. I want to generate surface meshes(I use trimesh) suitable for downstream shape analysis.
I tried ...
0
votes
0
answers
50
views
3D objects disappears during rotation
I'm implementing 3D viewer for BIM models with react-three/fiber and I've faced with interecting issue: during rotation my models becomes to disappear, like they moves "behind" the camera, ...
3
votes
0
answers
87
views
How to correctly project LiDAR vertices from ARKit world space onto the segmentationBuffer pixel coordinates?
I’m working with ARKit + RealityKit to process LiDAR depth data in real time.
Inside the ARSessionDelegate callbacks, I receive anchors and update a mesh.
For each vertex (in world space), I want to ...
3
votes
1
answer
121
views
How to add a transparent reference plane to 3D persp() plot without covering the surface beneath it?
I am trying to add a horizontal reference plane to a 3D surface plot using R's persp() function, but the plane acts as an opaque layer that cover the surface beneath it.
I want the plane to be ...
3
votes
1
answer
75
views
i uploaded a 3d model file in cloudinary and want to fetch it but when i doi it, it says: it "cannot read property 'match' of undefined"
i want to show on the screen the 3d model when i import it from cloudinary and it is succesful but the problem is that it wontshow the 3d model on the screen and the error says failed to load GLF ...
-2
votes
1
answer
138
views
DirectX debug layer dll version mismatch
I was learning directx by https://github.com/d3dcoder/d3d12book, and at one point, it suddenly started not working in Debug mode like this.
So I asked github copilot and he said that the problem was ...
2
votes
0
answers
131
views
PyQt6 QWebEngineView 3D Plot Fail To Render With Large Data
I'm working on an antenna 3D polar plot program which need to render real-time plot.
Things I'm using:
Python 3.11.9
PyQt6 6.9.1
PyQt6-WebEngine-Qt6 6.9.2
plotly 6.3.1
Issue:
The code can generate ...
0
votes
0
answers
62
views
Rigidbody not moving on start even though capsulecast not detecting anything
I want to implement basic movement using a rigidbody but my player at the start of the game cant move using WASD and can only jump and shift. When they shift, they slide to the side a bit before WASD ...
1
vote
0
answers
139
views
Why does mouse look feel jittery in winit + wgpu despite smooth frame rendering?
Code
In the event loop, this arm handles mouse motion with the MouseMotion device event:
Event::DeviceEvent {
event: DeviceEvent::MouseMotion { delta: (dx, dy) },
..
...