Questions tagged [3d]
3D refers to three dimensional space where coordinates are represented with X, Y and Z values.
2,073 questions
-1
votes
0
answers
22
views
There is a game that I play a lot and I really need to figure out what the formula for the exp and leveling [duplicate]
The formula I know that the game has is start at level 0 which needs 250 exp to level up to level one and then 250 more exp per each level after that so level 2 equals 500 exp level 3 equals 750 exp ...
0
votes
0
answers
41
views
Projecting 3D gaussian's transform matrix to a 2D viewspace transform matrix
Essentially I'm wanting to project:
A 3D transformation matrix of a Gaussian (or in this case for simplicity a unit sphere) that includes scale, rotation and translation in world space TO
A 2D ...
1
vote
0
answers
39
views
How to add dirt/ground variance to the bottom of my mountain/platform in Unity?
I have a cliff in my game. Currently it sits on flat grass, but I want to add more depth to the visuals. I've added ambient occlusion to the pipeline and it has helped a lot. However, what I really ...
3
votes
0
answers
97
views
How to achieve a procedural/modular dirt path like those in The Last Campfire?
I’ve played The Last Campfire recently and got really inspired by it, so I’m trying to recreate some scenes from the game just to improve my 3D art skills.
But there’s one thing that I’m a bit lost.
...
12
votes
2
answers
3k
views
What is the cause of these pixel artifacts and how do I prevent it?
I'm getting these strange image artifacts when I attempt a low-res 3D orthographic scene in Godot 4.4:
Here's my steps to reproduce:
In MagicaVoxel, export the built-in "castle" example to ...
0
votes
2
answers
66
views
How can I detect collision between a box and a minimum poly collision mesh?
Mostly a C++ newbie, trying to do a 3D game in Raylib.
I have a set of fairly irregular meshes that I'd like to see if a box collider has penetrated. For this project, a fairly high level of accuracy ...
0
votes
1
answer
94
views
Resizing a Sprite in 3D space to match its native pixel size at a target screen resolution?
I am placing a 3D game object with a SpriteRenderer + Billboard attached to it in my scene.
However, since it's a distance away from a perspective camera, the sprite gets scaled, losing a lot of the ...
1
vote
1
answer
126
views
How the intersection of BVH boxes can determine whether or not a triangle appears?
I'm programming a Ray Tracer using Rust and OpenGL, I've already made Ray Tracing work in the basics by converting the data to an SSBO and sending it to the Shader in a basic way... The problem is ...
2
votes
2
answers
113
views
How to create tolerable 3D levels
Currently I am working on small puzzle game in Unreal Engine 5 in order to learn engine itself and figure out my own process of making games.
I implemented many interactive elements and systems with ...
0
votes
0
answers
47
views
Making a slingshot inspired launch mechanism to hit arbitrary point on edge not just fling straight through center of mass
In a 3D world, I have a hockey puck-like body.
I have made a mechanic where I can launch the puck with a slingshot mechanism.
But the point of contact is determined with a raycast and the "sling ...
0
votes
0
answers
37
views
Moving an object up to the edge of the screen in 3d space
I'm trying to put an object at the edge of the screen. I can get the edge and center of the camera converted to 3D space easily enough, however, I'm having difficulty with the dimensions of the object....
0
votes
0
answers
62
views
How to make an object rotate in local space then translate in world space using Raylib?
I'm trying to make a rubber duck move along the surface of a round 'world' - I should be able to rotate the duck on it's local Y axis and then move the duck forward, with the duck following the ...
1
vote
0
answers
95
views
Using 2D diagonal wall tiles in a 3D world with an orthographic camera
I'm working on a 2D game in Unity where the world is 3D and I have an orthographic camera pointed 45 degs to make it look 2D. I'm using the method here to fix the distortion that occurs.
My question ...
0
votes
1
answer
118
views
Making 3D maps with 2d tiles for a top down game in Unity
I'm working on a 3d game in unity that looks 2d from having an orthographic camera and 2d sprites, similar to Enter the Gungeon (https://twitter.com/dodgerollgames/status/593625936131653632?lang=en).
...
0
votes
1
answer
173
views
3D Dark Souls lock-on code: Player moves around target in a spiral, not perfect circle
I'm working on a 3D game in Unity that requires lock-on, or Z, targeting found in games like Dark Souls and Legend of Zelda: Ocarina of Time.
The code that I have achieves my intended goals fairly ...