Questions tagged [3d]

Questions and problems dealing with three-dimensional space, including 3D meshes and other data structures, vector math, transformations, etc.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

How to extract points corresponding to faces from cube map projection (CMP) of panorama from point cloud data

I am working with the standford2d3d dataset http://buildingparser.stanford.edu/dataset.html which contains panoramas of various scenes and a .mat file of the point cloud information of all the scenes. ...
Miguel's user avatar
  • 1
0 votes
0 answers
40 views

Problems with distributed ray tracing and particle system

based on the ray tracing stunning effect, I'm considering a resilient distributed ray tracing implementation, I've just finished a basic computer graphics course, and I'm currently working on directX ...
Haitao Xiao's user avatar
0 votes
1 answer
65 views

Understanding spherical harmonics code

I am trying to understand the function computeColorFromSH, which is a part of the differentiable gaussian rasterizer used by the paper 3D Gaussian Splatting for Real-Time Radiance Field Rendering. I ...
accounted4's user avatar
0 votes
1 answer
59 views

how can I estimate the depth of an object with a bound box from just a few images where i moved it?(knowing how much i moved)

how can I estimate the depth of an object with a bound box from just a few images where i moved it?(knowing how much i moved) For testing purposes I have a cube and a camera perpendicular to it and I ...
Dare's user avatar
  • 3
0 votes
0 answers
54 views

Can STEP files contain polygon data? How do I get a smoother mesh out of a STEP file?

I am trying to work with a .STEP file I have received. Upon opening it in CAD Assistant, I find its surface as jagged lines, like a low poly model. When I export it as OBJ from there, the edges and ...
Bits168's user avatar
0 votes
0 answers
18 views

How to retrieve a mask for a partially filled 3D Truncated SDF based on its ground truth?

I am trying to create a mask which is required for a 3D inpainting task. My data contains 3D truncated SDF grid of size 64*64*64 with a truncated value of ...
ord_bear's user avatar
0 votes
0 answers
30 views

How can I understand the logic of Fast Point Feature Histograms (FPFH) descriptor?

I have been using FPFH features quite a lot in global registration and key-point extraction a lot, I also looked pcl page that tries to explain what it is, but fails to give detail to reader in my ...
Lady Be Good's user avatar
1 vote
0 answers
43 views

How to transform face mesh?

We can use ARcore to create custom textures and 3D models for Augmented Faces, like the augmentation of a Fox ears. But aside from augmenting 3D objects, can we "transform" facemesh, for ...
angel_30's user avatar
1 vote
0 answers
50 views

How to find point on mesh at a minimum distance from ray

I'm searching for an efficient data structure and algorithm to compute the minimum distance between a ray and a set of meshes in 3D. What I expect as a result are the coordinates of the nearest point ...
oparisy's user avatar
  • 111
0 votes
0 answers
28 views

Object appears in unintended parts of the screen when using manual WorldToScreenPoint

Hy guys I'm new to 3d graphics and i lack some Linear algebra knowledge. I tried to recreate Unity's worldToScreenPoint method with kotlin on android. I copied some code from their forum and wrote ...
Illidan's user avatar
0 votes
0 answers
66 views

HTML Canvas not drawing

I'm working on a 3D Renderer with the canvas element and JS but currently the cube I made is not rendering. I currently have it set to just render a wireframe of the cube and am hoping to render the ...
GryphonFire7's user avatar
0 votes
0 answers
35 views

Rotating a set of cameras to look at a rotated object

I'm trying to use Instant NGP on a synthetic image dataset. I have image sequences of a moving object with the following information: I have the object's xyz and the camera's xyz positions in a void. ...
Thom's user avatar
  • 1
0 votes
0 answers
33 views

3D engine projection distortions

I'm trying to write my own 3D engine using Python and Pygame. I have successfully implemented rotation and projection matrices to display 3D models. However I am so far unable to implement translation ...
Zoler1337's user avatar
0 votes
1 answer
63 views

Patchy patterned artefacting in depth buffer

I am writing a polygon rasterization renderer. Some meshes render flawlessly, but some produce strange artefacts in the depth buffer. These artefacts do not just appear when I save the depth buffer ...
sunsigil's user avatar
0 votes
0 answers
82 views

How to setup a 3D camera

I'm trying to figure out how to setup a 3D camera in WebGL. This is my first swing at 3D so a lot of the matrix stuff is new to me. Code The code can be reviewed in this CodePen: https://codepen.io/...
Candleout's user avatar
  • 127
1 vote
1 answer
138 views

How to get the accurate number of triangles of an wavefront obj model?

I am confused by a 'wavefront obj' file's true triangle number. For example, I downloaded the Rungholt scene from McGuire's Computer Graphics Archive. ...
bim's user avatar
  • 135
0 votes
0 answers
81 views

Cropping a .usdz file

I have a program that is creating usdz 3D models from real world objects. I would like to be able to crop those objects in 3D space to remove extraneous nearby objects or walls. Is there a good ...
user19967's user avatar
1 vote
1 answer
66 views

Unknown array of floating point numbers. View matrix?

I want to control the camera in an old game using head tracking (TrackIR, opentrack, etc.), such control was not provided by the game engine. I'm trying to find the camera coordinates and rotation ...
F4rrell's user avatar
  • 13
0 votes
1 answer
173 views

Creating a UV Map for a 3D Cone

I have the following problem I am currently facing. I am creating the vertices for a cone based on the number of segments and the radius of the base and top. This is done as follows: ...
Anima's user avatar
  • 167
2 votes
0 answers
35 views

Optimized 3D rendering using dots and/or line segments of different sizes in Scratch

I'm developing a 3D rendering engine in Scratch, which is a block-based visual programming language. It does not have any support for bitmap rendering, but there is a "pen" plugin that lets ...
Peter Marshall's user avatar
1 vote
0 answers
46 views

How to display real time 3-D orthogonal vector rotations?

I'm an embedded developer here with very little experience in computer graphics. I'm currently working on a GUI that can display a calculated inertial solution at run time. I have hardware that can ...
Henry Gilbert's user avatar
0 votes
1 answer
56 views

What technique can I use to swap thousands of models per frame?

I need to render a lot of objects that swap their model from frame to frame. Currently, I am putting every model into a single vertex buffer and giving every vertex an id. I store the same id in the ...
Rokit's user avatar
  • 103
0 votes
2 answers
188 views

Why are the transformations of an object calculated on CPU?

If I understood correctly this is the process of rendering an object: Array of 4d vector defining points 3d points(with the fourth component 1) representing object's vertices in object/local space: <...
Bogdan Floareș's user avatar
0 votes
2 answers
1k views

Conversion from W/cm2 ( or W/m2) to W/sr

I was reading a thread where you have comprehensively answered about radiometric units (Deriving radiance from irradiance and intensity). My question is whether we can convert from W/cm2 ( or W/m2) to ...
NKR's user avatar
  • 1
2 votes
2 answers
151 views

Glowing objects in a raytracer? How it works?

My raytracer has a point light source, it works as it should, illuminates the scene, but there is a problem, it is not visible, I would like to add glowing objects to the raytracer, for example a ...
LINUX_ADMIN's user avatar
2 votes
1 answer
2k views

How to convert from world coordinates to camera coordinates

In the world coordinate system, there are objects with rotation values rx1,ry1,rz1 and position values px1,py1,pz1. Similarly, ...
taichi's user avatar
  • 123
1 vote
0 answers
34 views

help with libgil tutorial (python binding)

could you please give me some guidance on following this libgil tutorial? https://libigl.github.io/libigl-python-bindings/tut-chapter0/ The problem: When I do the first example (two yellow triangles), ...
Gears Gears's user avatar
2 votes
1 answer
40 views

Approximate compass bearing of a normal

Let's say I have a 3D model that represents a small real-world space; it could be bounded by a 10" by 10" by 10" box. I know the real-world compass bearing for an observer in the center ...
gavinmh's user avatar
  • 121
0 votes
0 answers
84 views

Trouble getting a raytracer camera representation for different aspect ratios

I am trying to make my camera representation work for images whose aspect ratio isn't 1 (640x480, 1920x1080...), but I am having some trouble getting it to work. The camera model is pretty simple, as ...
Lightsong's user avatar
  • 101
0 votes
0 answers
60 views

Camera Perspective of 2D X/Y Plane

I'll start with the coordinate system I'm trying to use: If I were standing on the ground, facing north, the x axis is a line moving from the west to the east (positive X is east). Positive y is ...
Helpful's user avatar
  • 101
0 votes
0 answers
64 views

Starting from a basic glTF (such as a static sphere or plane) exported from Blender how can I add an animation manipulating its JSON?

I'm working on a glTF, precisely I'm trying to animate a "static" mesh exported from Blender directly acting on its JSON. In doing so, I'm following the logic used in this tutorial , where a ...
Ludovico's user avatar
0 votes
1 answer
80 views

Identifying an openGL 3d model

I currently have an application that uses openGL in order to render a 3d model of a car. I would like to change the car models but I have no clue what format my application uses. The current format of ...
Hyperdex's user avatar
-1 votes
1 answer
453 views

Is a line drawn using vectors, triangles or polygons within OpenGL? [closed]

Trying to understand how OpenGL generates what is seen as images & graphics and these questions come up. Are 3D lines (which should be drawn using vectors) drawn using triangles or polygons? Or ...
AncientTides's user avatar
0 votes
1 answer
138 views

Point a normal vector towards a point in 3D-Space

Given a normal vector in 3D-Space, how can I rotate the vector, such it points to a point in 3D-Space. I tried couple of ways doing this, which ended up looking completely wrong.
user19022's user avatar
1 vote
1 answer
39 views

What is the proper term for 3D models which are similar but not necessarily the same size, orientation, face-count/tesselation, etc?

Sup[pose I have a model of a unit cube (12 faces) aligned to the three axes, and another model of a cube divided into thousands of faces and hard-coded in a random orientation. They are both cubes, ...
Jack's user avatar
  • 341
2 votes
0 answers
143 views

Finding Camera projection matrix from known input and output

Lets say I have a rectangle with known coordinates in 3D scene, and I'm projecting it using pin point camera to the plane (screen). You can imagine it deforms on the screen per camera transformation ...
Eduard Kovalets's user avatar
2 votes
1 answer
182 views

View rotation matrix

Im unsure about how I could describe what im trying to achieve in few words or a title so ill go on to describe it. So I have voxel, in 3D space, represented solely by its center. The voxel though, is ...
kaelundeen's user avatar
0 votes
1 answer
234 views

Convert one triangle to another in matrix4x4?

The context openGL instances learning. I want to transform a reference triangle to another one. So final goal is to have one triangle and the instance being a transformation of that initial triangle. ...
Kroma's user avatar
  • 103
1 vote
1 answer
295 views

3D head mesh morphing from one mesh into another using coding

I have 2 3D head images and want to morph one into the other (animation) without using blender etc. I want to do it using coding preferably using C++, C# or python(libraries are ok). I have done 2D ...
suleman butt's user avatar
1 vote
1 answer
71 views

What fields should a camera class have?

For a good and scalable project structure, what fields would you add to a camera class, apart from its position and orientation? Should I add the near and far planes? Or should that be global, what ...
Karlos's user avatar
  • 113
4 votes
1 answer
760 views

How to derive Field of View (FOV) angles from a 2D projection

I'm looking for some guidance. I'm not sure if this is possible, and I'm not sure where to start. I need to measure the FOV angles of a first-person, 3D game using only gameplay screenshots. I'm bound ...
Brovidio's user avatar
-1 votes
1 answer
88 views

What stops the auto-generated 3D worlds of Google Earth Pro from being MUCH more detailed and accurate?

I'll admit it blew my mind when I first realized that you could actually enter a "first-person mode" in Google Earth Pro, and not just view the 3D maps from a floating camera in the air. But ...
C. Mollner's user avatar
0 votes
1 answer
159 views

How to translate screen coordinates of a 3d point as the viewport size changes assuming camera state remains constant?

Okay, so let's say I have a point in 3d. And I have a camera state. That is, I know the camera position, the camera target and the camera up vector. I am using the perspective projection to get the ...
Tanay Karnik's user avatar
2 votes
1 answer
150 views

Has the Stanford Bunny ever been re-imaged?

The photographic version shows much more detailed fur than the popular test image.
El-ahrairah's user avatar
2 votes
0 answers
182 views

physics/math of lighting gradient of a 3D object

Consider a monochrome ball. The colours of the pixels is a function of the point height, the light intensity, the light angle, and the surface material (reflection). What is the simplest formula ...
Googlebot's user avatar
  • 131
1 vote
1 answer
38 views

Plane detector: information provided is convex hull and pose (transl + rot). Are the "extents" the scaling?

While calibrating a system that includes the automatic detection of planes from the SLAM output, the information about planes provided is: 1 - (x,y) pairs representing the plane's convex hull 2- the &...
Gaston's user avatar
  • 113
-1 votes
1 answer
167 views

Why we calculate z buffer value from plane equation $AX+BY+CZ+D=0$?

Suppose in perspective projection $(x, y, z)$ coordinate projects to point $(x_p, y_p, z_{vp})$ in projection plane $AX+BY+CZ+D=0$ where projection plane kept at $z_{vp}$ position. And the plane $AX+...
S. M.'s user avatar
  • 211
0 votes
1 answer
86 views

Why does today's "Metaverse" look equally or even worse than the 1990s 3D chat worlds? [closed]

In late 1990s and early 2000, I tried out "Active Worlds" and more. They let me register an account and then walk around in a vast 3D world and chat with people/avatars. It was surreal and ...
E G's user avatar
  • 11
4 votes
0 answers
231 views

Historically Significant 3D Bicubic Patch Data?

The little milk pitcher / jug in Martin Newell's 1975 PhD thesis “The Utilization of Procedure Models in Digital Image Synthesis”, does anybody have the bicubic patch data for it? The teapot's data (...
KickAir8p's user avatar
0 votes
0 answers
75 views

Using Perspective Rendering To Render A 3D Point

I am wondering how I can use perspective rendering to render a point onto a screen. An image showing perspective rendering: Say I have a 3d point (with x, y, and z coordinates), a point for the ...
Brendan R.'s user avatar

1
2 3 4 5
7