Questions tagged [3d]
3D computer graphics are graphics that use a three-dimensional representation of geometric data stored in the computer for the purposes of performing calculations and rendering 2D images.
16,395
questions
0
votes
1
answer
7
views
Texture is showing artifact (bottom wraps to top) when using transparency in Godot
When I add a png with transparency as the texture for a plane, I get these artifacts where the pixels wrap around to the opposite edge. Here, the bottom edge has non transparent pixels, so the top ...
-2
votes
0
answers
23
views
plot the product of two t-distribution in 3d python
Can someone help me plot in python something that resembles to this?
[1]: https://i.stack.imgur.com/ccVbq.png
In my case the X axis is a t distribution. Same for Y axis.
Z is the product of X and Y
To ...
0
votes
0
answers
19
views
WebGL does not run properly on Firefox 100
So recently I've noticed that I'm getting the error
THREE.WebGLRenderer: Error creating WebGL context
while trying to render a 3D model from a .glb file on Firefox 100
I am almost certain that this is ...
0
votes
0
answers
16
views
Regression with multidimentional target variable
I am trying to get a graphic representation of my regression model.
import numpy as np
import matplotlib.pyplot as plt
from sklearn.linear_model import LinearRegression
import pandas as pd
coord_u = ...
-1
votes
0
answers
9
views
How to make a interactive 3d model website like nike?
I want to make a website like Nike where user can customize their shoe. What technology should I have to learn? I am new to web development. Curious to know how it is a possible.
link to the sample ...
1
vote
1
answer
15
views
Adding least squares and LMS lines to a plot
I have loaded the data set Animals2 from the package library (robustbase), and I am interested on working with the logarithm of these data.
library(robustbase)
x<-log(Animals2)
plot(x, main="...
0
votes
1
answer
37
views
How can one turn off automatic frame interpolation in Meshcat.jl?
I am using Meshcat.jl for 3d animations in Julia. When I try to animate an object with its position set to point A at frame t and point B at time t+1, Meshcat does some automatic interpolation so that ...
2
votes
1
answer
28
views
Outline Shape3d javafx with mouse event
Many 3d programs uses an outline to hint the user when 3d object is selected .
is there a way to mimic that behavior in javafx ?
0
votes
0
answers
6
views
R phytools add color to branches in 3D phylogenetic tree
I am using R "phytools" library for the 3D phylogenetic tree.
And I have made 3D tree successfully with the script below
library(phytools)
library(rgl)
tree<-read.tree(text="((un6:3,...
0
votes
0
answers
25
views
is there a way to do it quickly?
before enter image description here
after enter image description here
enter image description here
How to quickly ideally rotate the second plane? so that two planes meet.
Additional images
enter ...
-1
votes
0
answers
17
views
best way to create complex 3D shape python
I want to create a box of surface (1x1) with a lot of half-spheres on top (every 10 µm on the whole top surface for a sphere diameter of 10µm).
In the end, the shape must be trimesh-compatible but I ...
1
vote
1
answer
28
views
Add constant x, y , z lines into matplotlib 3D scatter plot in Python
I want to add constant x, y, z lines into a matplotlib 3D scatter plot in Python which extended from this limit point, may I know how could I do so?
x_limit = [-0.5] y_limit = [151] z_limit = [1090]
...
0
votes
0
answers
19
views
Merging/Stitching 2 3D point clouds using PLC/C++
I am working on a project with the goal to scan surfaces with high precision. The scanner functional area is relatively small, so I need to take multiple scans in order to cover the full surface. Each ...
0
votes
0
answers
17
views
How can I convert 3D triangular mesh (vertices, faces) to mesh3d that can be used by rgl?
I have a 3D mesh list in R containing vertices and faces, I would like to resample/smooth/downsample this mesh to lower resolution and being homogenous using rgl package, such as function ...
0
votes
0
answers
18
views
iOS - Connect two geo points on a globe using SceneKit
I am trying to use SceneKit to show a 3D globe with markers at various geo locations. I found this awesome project that gives me a great starting point.
Now, my challenge is to draw a line between any ...
0
votes
1
answer
18
views
Export .stl or .obj from 3D spectrogram using python
I am very new to python and programming in general. However, for an art project, I have spent the last week learning to program using python and found the plotly library. So amazing! It improved my ...
0
votes
0
answers
35
views
Rotation in 3D coordinate system
I have some fixed points and axes in the 3D coordinate system.
I compute the angle between these axes and some specific points in t = 0, and I am trying to predict their coordinates in any t knowing ...
0
votes
0
answers
10
views
i got ↳/pad/enter/LMB:confirm,Esc/RMB:cancle,M:point to point mouse(OFF) error message in blender
Hello when i work in blender 3.1.2 edit mode I got ↳/pad/enter/LMB: confirm, Esc/RMB: cancel, M:point to point mouse(OFF) error message and some shortcut and object locked I have load factory setting ...
-1
votes
0
answers
23
views
Visualization of multiple objects represented by cylinders with a live data [closed]
I want to present and visualize multiple objects (with their height represented in cylinders, their directions, and other characteristics ) in a limited area on a website using live data from the ...
1
vote
0
answers
17
views
How to combine multiple polygons into 3d mesh (Python-trimesh)
I'm dealing with stl data which can be loaded by:
# load a file by name or from a buffer
mesh = trimesh.load_mesh('./dummydata.stl')
# preview mesh in a pyglet window from a terminal, or inline in a ...
-1
votes
0
answers
23
views
Camera rotation with deviceorientation event in three.js
I have a school project and I have to make the same thing as in the video but I can't figure out how to use the data from the deviceorientation event to properly rotate the camera. I need to rotate ...
0
votes
1
answer
43
views
Bind the Z position relative to the scene in JavaFX
I currently have a project I am working on in JavaFX that simulates our solar system. The way it is made, a planet (which extends the Sphere class) orbits on a 2D plane, meaning the Z never gets ...
1
vote
0
answers
27
views
How to get the cross-sectional area of a stl file in Matlab?
I need a help with this problem in Matlab.
I have a 3D scenario (.stl) and I would like to obtain the cross-sectional area by cutting this scenario with a horizontal plane. Finally, I would like to ...
-1
votes
0
answers
21
views
How to create a 3D globe map view in Swift?
I am new to Swift / looking for a way to display a 3D globe map view in my application.
I have tried a few tutorials but all result in a 2D map that I cannot zoom out of enough to see a globe. I've ...
0
votes
0
answers
13
views
Can I render and extract assets (3D) in browser?
I have a simple app created in Django and my problem is that I need to extract 3D assets from engine (like Unity), this are just files that contains 3D game characters and I need to render them in the ...
1
vote
1
answer
11
views
Gltf: inversebindmatrice calculation?
Currently creating a gltf importer/exporter.
How are the inversebindmatrices calculated exactly? I need that info to modulate them in order to change some bone positions in my model.
Thanks
0
votes
0
answers
14
views
Import 3d object and output as image
What is the easiest way to import 3D objects into Python and output them as an image?
I am very grateful for tips
2
votes
0
answers
43
views
Find absolute world axes rotation angles(x,y,z) from "transform rotation"
We rotated a transform by setting Euler angles at runtime.
obj.transform.eulerAngles = new Vector3(0,270,90);
We are trying to export obj.transform.rotation quaternion rotation information to ...
0
votes
0
answers
28
views
Why my camera rot is soo slow on Python Game?
i got a University work to make a 3D game in Python with some Shadows and Lights with camera and keys movement, i watched a course how to make and works fine but my camera movement is trash, i can't ...
0
votes
1
answer
19
views
persp add factor group in R
Following the margins vignette https://cran.r-project.org/web/packages/margins/vignettes/Introduction.html#Motivation I would like to know how to plot using persp after a logit containing a triple ...
2
votes
0
answers
19
views
Python - is it possible to analyze 3D objects?
I'm new to programming so forgive me if my question is worded in a weird way - is it possible to load an OBJ file unto JupyterNotebooks/Spyder/PyCharms and interact with it? I have about 50 items I ...
0
votes
0
answers
13
views
How to use Unity exported Android Project as an AAR
I want to UnityLibrary in exported android project make a aar
because i want import unityAAR at another android project.
like this form : (unity aar) https://i.stack.imgur.com/aZptS.png
what is best ...
-1
votes
0
answers
21
views
How to make vertex order same in two face images?
2 3D head images have same number of vertices but have different vertex order. I want to apply Pymeshlab's compute_coord_linear_morphing filter which requires same vertex order for proper working.
I ...
0
votes
1
answer
29
views
Three.js - get screen position with no camera
I need to calculate screen position outside of Three, with with no camera present.
I know the object position, camera position and camera target
I've seen lots of instructions such as three.js Vector3 ...
-1
votes
0
answers
26
views
Best Data Structure to Store Data in 3D Space
I've been working on some C# code for a Unity3D game and just finished the saving/loading component, but I'm now encountering the issue where I have no idea how to easily request all data originally ...
0
votes
0
answers
19
views
How to create a rotating object in the console?
i was curious as to how people create those spinning 3d objects inside the terminal and was wondering how i could go about creating one of those myself? Is it possible to do such a thing in pure c#? ...
3
votes
1
answer
79
views
Shapekeys from blender to javafx
Animating shapekeys is a way to animate a mesh without an armature modifier (shapekeys). like this
is there a way to export this animation in javafx?
0
votes
0
answers
11
views
3D plot not loading Python
Sorry I'm a beginner with Python and am unable to find a bug with this program because I get an infinite load. I am trying to plot 'abs(psi)' in three dimensions with matplotlib
import numpy as np
...
0
votes
0
answers
16
views
How to convert a 3D vertex list into meshgrids in Python
I'm looking for a way to convert the data of a 3d model (contained in an .obj file) into three different meshgrids, corresponding to the three x,y and z coordinates.
To make the problem clearer I will ...
-7
votes
0
answers
28
views
How to create a Cube in in Python. The cube is Densly packed with points that are equidistant to each other [closed]
The number of points could be more than 100. You can think of it as a cube packed with smaller cubes.
Do excuse me - first time posting here and just trying my hand at learning Python to assit with my ...
-1
votes
0
answers
32
views
3D head mesh morphing from one mesh into another using scripts (C, C++, python etc)
I have 2 3D head images and want to morph one into the other (animation) without using blender, three.js etc. I want to do it using coding preferably using C++, C# or python(libraries are ok). I have ...
0
votes
0
answers
24
views
Fast render polygons on sphere [closed]
I want to make a program to display the country boundaries on a spherical earth. For now I am just rendering 2d polygons (Mercator), converted to 3d then projected on a plane at a certain distance ...
0
votes
0
answers
13
views
Generate a GMM Dataset by using multivariate_normal from scipy.stats
How can I use from scipy.stats import multivariate_normal to generate data?
In specific, I want to create a GMM data that contains 3 columns (features) and a label column (0 or 1).
So I am basically ...
0
votes
0
answers
23
views
Google Model Viewer is not displaying output
So, I used Google's Model Viewer for displaying GLB files. But it seems to be throwing these errors:
>Access to fetch at 'file:///C:/Users/User/Desktop/Untitled.glb' from origin 'null' has been ...
1
vote
1
answer
13
views
The prefab asset from the assetstore is not imported correctly (3d model with animation)
I am importing a purchased asset from an assetstore. Animated cat model. However, all prefabs are assembled incorrectly at once, the components are not in their places. Please tell me what could be ...
1
vote
2
answers
39
views
Unity3d - Trying to change color of Material via C#
I've looked all over for a solution for this and it seems simple enough but I don't understand why I can't change the property of one of the materials located on one of my NPC models.
To put it simple ...
0
votes
0
answers
22
views
No module named 'enthought' issue
I am having problems with plotting a 3D array called 's'. This issue is due to an error telling me that no module named enthought exists although I have already installed mayavi to python, anaconda ...
-1
votes
0
answers
11
views
live goelocalization of objects within a limited area with an existing data
I want to present and visualize multiple objects (with their height represented in cylinders, their directions, and other characteristics ) in a limited area on a website using live data from the ...
-1
votes
1
answer
35
views
The dimension orders of the Numpy 3D array are designed to z, x, y. Are there any advantages?
I think that the x,y,z order is more intuitive for a 3D array, just as Matlab does. For example, If someone tells me an array is 2x3x4, I will think it is 2 rows, 3 columns, 4 frames, instead of 2 ...
0
votes
0
answers
18
views
Seeking 3D framework suggestions
My team is interested in developing a 3d data driven visualization tool. So far I've had difficulty finding a proper engine so I was hoping for some suggestions.
Criteria:
Not JS as the main ...