Skip to main content
The 2024 Developer Survey results are live! See the results

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
-3 votes
0 answers
12 views

A way to mitigate seeing texture edge in 3D texture in OpenGL

I am trying to implement a texture based volume rendering using python and OpenGL. I was successful in loading the data file and displaying the 3D volume using OpenGL 3d texture. I applied blending ...
ricardo's user avatar
  • 17
-2 votes
0 answers
16 views

Face cull implementation attempt in voxel engine. Some faces are not rendered

So basically I am making a voxel engine, that renders voxels wherever a voxel is solid in a chunk. As you can imagine, having 1.2m cubes in a mediocre sized world, my fps barely is above 20fps. I ...
Kingdawnage's user avatar
-2 votes
0 answers
8 views

How do you generate roof geometry from a simple polygon where each edge has a defined slope?

Given: A) a list of points defining a simple (possibly concave) polygon on a 2D plane B) a list of slopes in the range [0, ∞), where each slope corresponds to a segment defined in (A) *a "...
JonnyV's user avatar
  • 17
0 votes
0 answers
23 views

Is it ok to calculate differences for every shadow light type as vec3s or it's better to use if statements? [closed]

I'm implementing shadows in my game but I also want my shader to be as general as possible. My first implementation had 3 different functions: layout(binding = 0) uniform sampler2DArrayShadow ...
Gerrard's user avatar
  • 11
-1 votes
0 answers
22 views

Alternatives to the discontinued zflutter package for dice animation in Flutter?

I’m currently using the zflutter package for dice animation in my Flutter app. However, the package has been discontinued, and my app is no longer functioning as expected. I have searched extensively ...
quad's user avatar
  • 1
0 votes
0 answers
28 views

How is the 3D Perspective Camera transformation implemented in JavaFX?

I'm looking for a way to map a point in 3D eye space to its equivalent window coordinates, but I can't seem to find any information about how JavaFX does it.
Spencer Shellman's user avatar
-2 votes
0 answers
19 views

Playing multiple gltf animations simultaneously [closed]

I am currently writing a gltf animation system from scratch. The gltf files I am working with contain animation data on a per node basis. Applying these animations seperatly is working fine. I ...
Mathias Schöttle's user avatar
-4 votes
0 answers
18 views

3d mesh editor in web browser [closed]

i would like to create a software or use something to create a web browser functionality to modify meshes. I would like to have an fbx or obj as an input and output. For example: i have a 3 ...
Piotr Dzierżęga's user avatar
-3 votes
0 answers
23 views

Is there a way to reduce the number of triangles/polygons for a 3D model (.glb/.obj/.fbx) using code such that quality is not hampered a lot?

Is there a way to reduce the number of triangles/polygons for a 3D model (.glb/.obj/.fbx) using python code. I have tried using pymeshlabs and open3D module, but for some reason none of the things ...
kaustubh's user avatar
0 votes
1 answer
31 views

Cannot open a gtlf file on html using three js

I am looking to open a 3D image I downloaded from Sketchfab and make it interactive and clicakble using three js. I have followed the instructions by ChatGPT, so I have all the scrypts I need in the ...
RuoHan Liu's user avatar
0 votes
0 answers
19 views

Rendering a 3D Cuboid onto a Camera Image Using SVG in Three.js

I’m working on a project where I need to render a 3D cuboid onto a camera image using Three.js and SVG. Here are the details: 3D Cuboid Data: { "id": "c90193ab-1812-4b52-a853-...
NIYAS RAHMAN's user avatar
0 votes
0 answers
29 views

How to project a 3D cuboid onto a 2D camera image?

I'm working on a project where I need to render a 3D cuboid onto a 2D camera image. The image should be displayed with a width of 600px, maintaining its aspect ratio. Here are the details of my cuboid ...
NIYAS RAHMAN's user avatar
1 vote
0 answers
20 views

Inconsistent Texture Rendering in Raycasting Due to Intersection Calculations

I'm working on a raycasting engine where I'm encountering an issue with inconsistent texture rendering. When rays hit consecutive walls of the same texture (e.g., 1 1 1 in the map), some rays ...
Saad Out03's user avatar
0 votes
0 answers
6 views

In the open-source library Filament, how do you set a pure white background for a Skybox?

I am currently using the iOS demo code hello-gltf. I have modified the setupIbl function in App.cpp. Here is the modified code: void App::setupIbl() { const uint32_t textureSize = 1; ...
user847556's user avatar
0 votes
0 answers
39 views

Rust three_d crate. Setting cull mode has no effect?

I am trying to get the culling mechanism to work, but regardless of what culling option I choose I don't see any difference in what is being rendered. Perhaps i am understanding culling wrong, or ...
lobster's user avatar

15 30 50 per page
1
2 3 4 5
1152