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.

3D could mean 3D graphics. 3D graphics usually involve a lot of matrix manipulation and vector mathematics. These matrices will be both affine transformations for manipulating the objects in 3D space (translation, rotation and scaling) and perspective transformations for generating the 2D image required for display. More information about 3D graphics at Wikipedia page of 3D graphics

3D could also mean Stereoscopy. Stereoscopy (also called stereoscopics or 3D imaging) is a technique for creating or enhancing the illusion of depth in an image by means of stereopsis for binocular vision. To generate stereo images two normal displays are generated offset from each other by the distance between the eyes. These are then combined on the display in one a variety of ways (LCD shutter glasses, polarised projections etc.) to generate the 3D effect.

More information on Stereoscopy at Wikipedia page of Stereoscopy

17108 questions
4
votes
0 answers

Create 3D model from selfie in iOS like in Lenskart?

How can we create 3D model from selfie like it does in LENSKART ios app? I am trying to create 3D model from selfie and place objects in the model just like TRY IT ON feature in LENSKART. I tried LENSKART and it seems they have integrated…
Prabin
  • 147
  • 4
  • 11
4
votes
1 answer

Godot - Loop animation from GLB import

In Blender, I modeled, textured and animated an idle animation for a simple robot character for a game in Godot. Using the Blender-gltf exporter by KhronosGroup, I successfully exported the mesh, material and animation into one .glb file, and then…
Carol9009
  • 223
  • 2
  • 12
4
votes
5 answers

Multi-headed display system

What tools, APIs, libraries are out there that I could use to create a system capable of rendering hi-res 3D scenes in real time in a display made of 4, 8, 9, 16, etc screens/projectors? For a setup with 8 projectors I should go for clustered…
user16120
  • 952
  • 1
  • 10
  • 16
4
votes
2 answers

Program to convert points on 3D plane to 2D points

I have the normal vector of the plane . I want to convert the 3D points onto a 2D plane maintaining the same distances between them. Basically what I want to do is make the z coordinate of all the points on the plane equal. How do I go about…
Kitwradr
  • 1,986
  • 3
  • 18
  • 32
4
votes
1 answer

Why roll pitch and yaw are applied in that order?

I know that the common way for applying 3d rotation is Roll, then Pitch, then Yaw. And I know that the order doesn't really matter as long as you chose an order and stick to it. But it seems reversed of the intuitive way, If I would've asked you to…
user972014
  • 3,296
  • 6
  • 49
  • 89
4
votes
0 answers

Unity rotation convertion

It is well known that Unity use left-handed,Y-up,ZXY order,but other 3dsoftwares not. I find how Unity convert 3dsmax rotation angle(right-handed,Y-up,XYZ order): Vector3 ConvertXYZToZXY(Vector3 angleXYZ) { Vector3 rightHanded = new…
Sandiago.C
  • 101
  • 5
4
votes
1 answer

Is there an algorithm to convert Euler angles to different rotation order?

Unity offer a easy way to get Euler angles and Quaternion. But the angles are not correct in other 3D softwares such as 3dsmax because the order of rotation in Unity is Y-X-Z but others not. Is there a way to convert Euler angles between different…
Sandiago.C
  • 101
  • 5
4
votes
2 answers

Gnuplot 3d depthorder with multiple plots

Using this gnuplotting entry as inspiration, I am attempting to create a 3d histogram plot like shown: However, under high-angled views, the depthorder is not respected: The gnuplot (version 5.2) commands used to generate the plots include: set…
cms
  • 257
  • 1
  • 11
4
votes
2 answers

Shortest distance between a point and a line in 3 d space

I am trying to find the minimum distance from a point (x0,y0,z0) to a line joined by (x1,y1,z1) and (x2,y2,z2) using numpy or anything in python. Unfortunately, all i can find on the net is related to 2d spaces and i am fairly new to python. Any…
hello_lel
  • 61
  • 1
  • 5
4
votes
7 answers

Projecting to a 2D Plane for Barycentric Calculations

I have three vertices which make up a plane/polygon in 3D Space, v0, v1 & v2. To calculate barycentric co-ordinates for a 3D point upon this plane I must first project both the plane and point into 2D space. After trawling the web I have a good…
Thomas Sampson
  • 417
  • 4
  • 13
4
votes
2 answers

How to plot 3D Bar chart/ Pie Chart/ Donut using Plotly

I have found code to make bar charts and pie charts in plotly also other 3D plots. A simple bar chart works like this: from plotly.offline import plot from plotly.graph_objs import * trace1 = Bar( x=['cats', 'dogs', 'monkeys'], y=[20, 14,…
Naima
  • 101
  • 1
  • 4
  • 9
4
votes
1 answer

Calculate median 3D vector (instead of average)?

I have a 3D mesh I'm calculating vertex normals for, from the mesh's face normals. Each vertex normal is computed as an average of all the normals of the faces that share that vertex. All that works fine, except in cases where -- due to uneven…
Tyson
  • 1,226
  • 1
  • 10
  • 33
4
votes
5 answers

3-d animation in C++

I am doing a scientific project in C++ and I need to draw simple animated 3-d images of moving atomic groups. What is a good and convenient graphics library to do that? Some general remarks are also appreciated. I work in Linux. Thank you in…
grzkv
  • 2,599
  • 3
  • 26
  • 37
4
votes
1 answer

Calculate position and rotation of camera with mouse events

My plan: 1. Calculate mouse direction [x, y] [success] I my Mouse Move event: int directionX = lastPosition.x - position.x; int directionY = lastPosition.y - position.y; 2. Calculate angles [theta, phi] [success] float theta = fmod(lastTheta +…
Max Mister
  • 129
  • 9
4
votes
2 answers

Two 3D triangles, method to figuring out z-order (graphics)

I've been searching for an answer to this for literally a month. I have two 3D triangles, coordinates for each. They can be in any orientation and position, but don't intersect. I also have a camera in the same 3D space. Now I simple want to figure…
DavidsKanal
  • 655
  • 11
  • 15
1 2 3
99
100