Questions tagged [3d]
Questions and problems dealing with three-dimensional space, including 3D meshes and other data structures, vector math, transformations, etc.
235
questions
0
votes
1answer
32 views
Calculating Material/Texture Placement from Bitmap to 3D Model
everyone!
I am currently developing a program that converts a 3D model to 2D isometric pixel art. Part of my program extracts the texture from an FBX file (as FBX files can have textures built in), ...
2
votes
2answers
44 views
Why do some videos look smoother and others don't on the same monitor
I have a Dell monitor with 60 Hz refresh rate and therefore games playing on it are not very smooth as compared to 120 hz.
But when I open videos on YouTube of the same game on the same monitor, some ...
3
votes
1answer
66 views
Mathematical Foundations of Radiative Transfer
I'm new to learning about ray tracing, but have been fairly confused by the mathematical foundations of it all. Specifically of radiometry/radiative transfer. I've internet searched a lot and skimmed ...
1
vote
0answers
21 views
Targeting the enemy turret towards Player object [closed]
I am trying to turn the enemy turret towards player object using Armory 3d game engine with Blender. Script is written using haxe.
I am using the following code with both the player object and enemy ...
0
votes
0answers
39 views
3D Bouncing Cube
I'm trying to write a little program with a bouncing cube but I can't find the right x, y, z and angle for it. I have these lines:
...
2
votes
0answers
52 views
Atmospheric scattering band/seperation artifact
I am currently experimenting with some atmospheric scattering in glsl in my OpenGL engine.
I am experiencing a strange phenomena where a strange band / separation artifact appears along the middle of ...
2
votes
1answer
38 views
How are obj files textured?
I am a new learner in 3d graphics. So forgive me if I seem to ask something very basic. I am confused how obj files are textured. So far I have seen:
obj + jpg
obj + mtl + jpg
When I look online, ...
1
vote
3answers
89 views
Silhouette below 3D model
There are some 3D applications which can cast shadow or silhouette below 3D models. They render pretty fast and smooth. I wonder what kind of technology is the standard procedure to get 3D model ...
0
votes
0answers
23 views
0
votes
2answers
69 views
What exactly is it about reality that is so difficult to recreate in a 3D simulation?
I have to admit that, while watching footage of the enhanced 2020 version of the 2018 game Forza Horizon 4, when they are driving fast, I have to sometimes remind myself that I am watching a video ...
0
votes
0answers
42 views
Algorithm to select regions based on curvature on a mesh
I'm trying to understand how to implement an algorithm similar to the one used by Magics' mark surface tool, you can see such behaviour on this video.
Quoting the video: "Basically with this tool ...
1
vote
1answer
45 views
projecting 3d onto 2d plane is not showing up correctly
I am trying to learn about 3d graphics from first principles, so i have decided to implement a simple thing, create a circle in 3d space & rotate it along some axis. I understand the basics theory....
0
votes
1answer
55 views
Vertices, Vertex Normals and Face Normals
Using Open 3D Model Viewer, I have converted an OBJ file to an STL file.
In the source file, the Vertex Normals are specified and in the destination, the face normal of the triangles are present which ...
0
votes
2answers
87 views
Rounding a 3D corner with Subdivisions
Following the instructions from this post on Stack Overflow, I have been able to find points A, B, and C from points V1, V2, and V3 and a radius value (code below). I would like to be able to find a ...
0
votes
0answers
21 views
Retaining hierarchy of assembly when converting STEP to GLTF
I want to convert STEP files to gLTF.
I know that gLTF suuports hierarchy of assemblies and parts.
Source: https://cadexchanger.com/blog/283-how-to-load-3d-cad-data-into-three-js-part-2
However, it is ...
2
votes
1answer
33 views
Blend Shape, Pose Blend Shape, and Shape Blend Shape
Since there is a lot of cross-section between computer vision and computer graphics for 3D pose and shape estimation of non-rigid objects, I would like to know what "blend shape", "pose ...
1
vote
1answer
25 views
Real 3D interior room from 360 images
If I have 360 images of an interior room from all different angles, would it be possible with current 3D software technology to create a real 3D representation of that room, where the camera could ...
2
votes
1answer
129 views
Detect collision for non axis-aligned bounding boxes
in my application, I needed to detect collision between 2 3D objects. To make it simple I can represent a object as a bounding box. So actually the task reduced to detect collision between 2 boxes in ...
4
votes
2answers
54 views
How to decide which way to triangulate a quad?
Apologies if this is a dumb question... but given four arbitrary (non-coplanar) points in 3D space, there are obviously two different ways to triangulate the quad that they form. One triangulation may ...
2
votes
3answers
89 views
How to Sample 3D Points Outside and Inside the Mesh Surface
I have a mesh of an object enclosed in unit volume cube and I would like to sample points inside and outside the mesh surface. What are the different ways of doing it? Is there any sample code ...
0
votes
1answer
81 views
Is there a term for this sort of graphics?
I'd like to try to write some C code to create similar animated graphics to these, which are from a very old Commodore 64 game called "The Sentinel". I've been researching but I can't seem ...
0
votes
2answers
56 views
Shear(?) matrix projection along Z (depth) axis
I'm creating a primarily 2d game (platformer perspective) with 2d background parallax layers. The parallax effect falls out of the fact that I'm positioning a bunch of layers in 3d and using a ...
0
votes
0answers
39 views
Clipping 3D Perspective matrix
I am trying to implement clipping in my simple renderer, but i have a trouble with setting the boundaries. I used the same projection matrix that is in OpenGL. The problem is, the vertices that are ...
0
votes
0answers
48 views
What's a good research topic in Computer Graphics?
I am currently trying to find topics for my master's thesis. I would really like to do something in the field of computer graphics, but I've been having trouble finding what are some current problems ...
1
vote
0answers
30 views
Principal component analysis on 3d points and other ways of capturing variance
So, I would like to do capture on 3d pointclouds of 3d models the planes/vectors where for each object we have the highest variance (i.e. for object represented by 2000 3d points I would like to get ...
1
vote
0answers
47 views
What modern C++ Unit Testing Framework do you use for highly parallel image, 3D and higher dimensional matrix processing workloads? [closed]
Most of the existing open-source libraries such as OpenCV, Tensorflow, and Pytorch use Google Test. I would like to know about strong alternative testing frameworks that thrive under a similar ...
0
votes
0answers
25 views
How to transform x-y-z red-green-blue arrows and draw them on 2D screen?
I'm making a raytracer and want to print debug arrows
Blender example:
Old version of 3d max:
How do I do the same having camera forward, up and right vector?
I think I need some kind of matrix ...
2
votes
0answers
62 views
Implementing monte carlo path traced refractions problem
I am writing a forward monte carlo path tracer with the added feature of specular refractions for transparent materials, I have managed to come this far but something is not quite right and I am ...
0
votes
0answers
58 views
Consistent Video Depth Estimation from Monocular Lens to approximate LiDAR?
If the iPhone had LiDAR sensors, it would be possible to generate a 3D point cloud that you could theoretically use to furnish a 3D AR reconstruction of your surroundings. E.g. you could create an AR ...
0
votes
1answer
44 views
Is it viable to create computer graphics via terrain scanning?
Couldn't find any resources on this, so I'll ask here.
For example, I want to create a game model of a mountain peak.
I took lots and lots of drone footage, almost from every side, photography ...
-1
votes
1answer
104 views
When do people need to work directly with a graphical API (eg: Direct3D) instead of using already made software?
I had this doubt in my head for several months and have been unable to find an answer anywhere on internet.
I know what OpenGL, DirectX, Vulkan, Metal, etc... are, I already know what they are used ...
0
votes
1answer
122 views
Rotation of meshes in PyTorch
I am doing some project on object reconstruction and I need to rotate an object in PyTorch during the training to make sure I am augmenting the data properly. My data consists of points and it's ...
0
votes
0answers
41 views
When do I need to use a triangulate function?
I have some misunderstanding about the modeling pipeline. In my mind pipeline are:
Concept
Sculpt
Retopo
Baking
Rigging
Setting
Animation
Game engine or cartoon/movie
...
I read many articles about ...
0
votes
2answers
99 views
What tris and quads need for?
I know that 3D artists make a 3D model with quads. And they advise to remesh with quads only (if it's possible).
So I have some questions:
Why do we use quads in CG (for games, cartoons, film, etc) ...
0
votes
0answers
49 views
How to create a 3D volume model from vtkImageData?
How can I create and save a 3D volume model from a volume image vtkImageData?
Some people recommend vtkImageDataGeometryFilter, so I tried the following:
...
1
vote
1answer
131 views
What is the reason that a boolean operation between two almost identical 3D triangular meshes fails?
I have been trying to detect defects on "before-and-after" meshes, by finding the boolean difference between them, to no avail.
I tried these two Python libraries(algorithms run in C++) but their ...
1
vote
1answer
100 views
glBindImageTexture returning INVALID_VALUE
I am currently having an issue with OpenGL as I am trying to load some vector information into a 3D texture. Currently, I am developing in OpenGL 4.6 which should support Image bindings.
this my ...
0
votes
0answers
52 views
Mathematics in Computer Graphics
Can you please recommend some topic for research work related to mathematics in CG?
(Maybe something like "Affine transformations in CG")
0
votes
1answer
59 views
Keep constant number of visible circles in 3D animation
I have created a 3D animation with a perspective projection of white circles moving randomly in a fake 3D space projected on a 2D computer screen (GIF 1).
Since I need to keep the same number of ...
0
votes
1answer
54 views
Looking for a compact file format for outputting 3D geometry with color support
I am looking for a file format to output some 3D geometry. In my case, it only needs to handle very simple shapes - uniformly spaced and sized cubes at points in space. So far I've ended up just ...
0
votes
1answer
67 views
constant pixel width for any scale
I have a standard 3d camera/projection/model setup that renders rectangles with a WebGL shader.
Users can zoom out and fly anywhere.
I want to make sure that regardless of the scale, width of the ...
0
votes
1answer
73 views
Graphics engines during the sixth console generation
From my understanding game developers used mostly proprietary, in-house graphics engines during the sixth console generation (Xbox, PS2, GC, DC) on a game to game basis. Why didn't standard engines ...
0
votes
0answers
56 views
What is it that really prevents photo-realistic, real-time, digital 3D simulations?
Ever since I was a small child, seeing the amazing 3D visuals that developed in the 1980s and 1990s, I was certain that photo-realism was "just around the corner". In the year 2020, I certainly ...
2
votes
2answers
129 views
Defining “inside” and “outside” of a 3D space
I am not sure if this is the correct SE to ask this question. However, lets say I have been given 3D models of several enclosed spaces.
I want to populate spaces with, lets say, planes flying through ...
0
votes
0answers
17 views
Turning layered curves to polygon mesh?
I am confronted with the problem to render 3D representations for objects marked on microscope slices.
So I have a set of aligned polygons in parallel planes from tracing the outline of the object in ...
2
votes
1answer
62 views
Y axis inversion in 3D rasterization
What is the correct way to invert the y axis during the 3D projection?
I see a lot a people doing:
...
0
votes
0answers
33 views
After making any 3D model using Opengl how to export it's data in .dae file?
I'm trying to make simple 3d modeling program in c++ with Opengl. So I don't know how to transfer/convert/export or save data of 3D model in .dae file.
NOTE:- 3d model is made using Opengl ...
1
vote
0answers
174 views
Intrinsic Matrix vs Perspective projection matrix
I was going through the camera matrix explained in the wikipedia article and understand how the matrix K \begin{bmatrix}f_x&s&x_0\\0&f_y&y_0\\0&0&1\end{bmatrix} is built. The ...
0
votes
0answers
52 views
Estimate 3D cube pose after camera rotation
I have some photos of 3D cube. I also know the 3D pose of the cube in each photo (yaw, pitch, roll).
I want to estimate the new pose (yaw, pitch, roll) of the cube after performing 2D rotation to the ...
0
votes
1answer
65 views
Understanding the near clipping plane
I don't understand something about the near clipping plane. It's there to avoid the division by $0$ but when we compute the pixel coordinates, we just need to multiply by the clipping plane to clip ...