Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

3D refers to three dimensional space where coordinates are represented with X, Y and Z values.

0
votes
0answers
10 views

Adding large 3d models into Unity

I have a 3d model of a restraunt with several characters in it probably over a hundred objects. Whenever I try to import it into Unity Unity just loads forever until I force close it. How do you ...
0
votes
0answers
18 views

How to render 3d objects over uGUI

I have scene with 3d objects but need uGUI as background. is this possible ?
0
votes
1answer
57 views

In a game such as Star Wars Galaxies, Planetside, and Warcraft how would server-side collision/terrain navigation work?

I'm trying to learn some advanced topics in multiplayer networking for fun and education, specifically how server-side collision/terrain navigation works in MMOs and/or any online game. Personally, I ...
0
votes
0answers
27 views

I want to create a basic 3d game engine in Java, Where should I start? [closed]

I've made a 2d game engine in python before, for a month long game challenge, but now I want to create a basic 3d game engine in Java. I figured Java would be a decent language for the task as I don't ...
2
votes
0answers
28 views

How do you find the collision between 3D boxes and 3D QUAD face meshes?

I have an axis aligned bounding boxes for 3D object collision, but I have a complex 3d mesh that's divided into 3d faces so I want to check for bounding boxes and collision with the faces of that ...
-2
votes
1answer
23 views

2D and 3D Tablet Games Definition

I would like some clarifications how to distinguish between a 2D and 3D mobile game, as mobile devices do not really have 3D screens. i) Do 3D iOS or android games really exist or are they 2D tablet/...
0
votes
0answers
16 views

Is there a way to edit the header info of an FBX file?

specifically, I would like to restore some version information from FBX files exported from Google's Tiltbrush, cleaned up a bit in Blender, and then imported into Unity. The Tiltbrush SDK for Unity ...
0
votes
2answers
44 views

How Can I Fix Spawning The Tiles?

I am making a 3D infinite runner game in Unity in C#. When the player has reached the end of the tile it should spawn another tile and then delete the previous tile. When the player reached the end of ...
0
votes
1answer
25 views

How to implement the seek steering behavior in Unity3d?

Following this tutorial: Understanding Steering Behaviors: Seek, I tried to add seek and steering behavior to my Unity prototype but it's not working this is my script. The cube does not steer it just ...
0
votes
0answers
22 views

Using 3D models in an 2D Game in libGDX

In my libGDX 2D RPG-Game (like Zelda or something) I want to display some items as 3D-Objects. Since I'm using an OrthographicCamera like this: ...
1
vote
1answer
36 views

Transforming a 2D Grid in 3D Space

Hi everyone, I'm trying to implement a 2D Grid in a simple 3D Editor. Here are some debug-rays I already implemented: Everything is working as intended as long as the object is not rotated. For ...
0
votes
1answer
29 views

Using PyOpenGL, can I rotate raw data rather than the current matrix?

I'm trying to create a sort of PyOpenGL renderer for the Bullet physics engine, and at the moment I'm rotating my basic cubes with math in Python. However, if I do the math in Python that's going to ...
0
votes
0answers
35 views

How to include car spinout in vehicle physics?

I would like to know how I can go about implementing car spinout in games. I heard that spinout is caused by loss of traction in the rear wheels of the car but I don't know how it relates to velocity ...
0
votes
1answer
28 views

libGDX 3D texture is stretched

I'm working on a 3D maze game using libGDX. I'm using MeshBuilder to render the walls. All walls are a single part made using a ModelBuilder in the create(): ...
0
votes
0answers
72 views

Weird object's behavior

I have created a character. It is a zombie that I design. I have this code for the zombie to follow my character controller: ...
0
votes
0answers
44 views

How do I find the texture origin using UV data?

I am writing a map decompiler for the video game Tron 2.0 and its map editor, DEdit. DEdit requires a set of three vectors in order to correctly map textures to each model. The vectors are what I ...
1
vote
0answers
42 views

How to implement weighted blended order independent transparency in OpenGL?

I want to implement weighted blended OIT in my C++ OpenGL 3D game, but I didn't find any C++ examples about weighted blended order independent transparency. Paper How to clear accumTexture(...
0
votes
0answers
18 views

How to implement floating behavior on player character

Lets say I have a body of water with the level of the water at each frame, with waves that basicly go up and down. How would you implement the computation of the velocity to keep the object/npc/player ...
0
votes
0answers
19 views

How to find volume of convex 3D shape

I'm not sure what can be said that isn't in the title. The gist of it, is that I have a convex mesh delimited by polygons (can have more than 3 sides), and I want to find it's volume. Is there an ...
21
votes
1answer
2k views

Why do transformation matrices always have an extra dimension? [duplicate]

In 3D math I always see matrices with one additional dimension. For example, in 3D graphics, matrices are always 4x4 and in 2d they are 3x3 matrices. Can anyone explain why?
0
votes
0answers
30 views

is that a pbr Shader?

im not sure about one thing: In my engine i have a shader wich takes: Diffuse, Specular, Normal, Metallic, Roughtness, Refraction,Height, Detail and Emission maps. The lighting is calculated using ...
0
votes
1answer
35 views

Collision not smooth in unity3d

I am working on a project(Racing car). When it hit an object the object should be destroyed. The Object is being destroyed when it is hit, but the car stops for a moment after hitting like an obstacle....
0
votes
0answers
37 views

If my game is free, do I still need licencing? [duplicate]

Studying 3D model development at the moment, and one of my ideas is to make a game in a near future. I like cars, I like games, and if I could I would be pleased to make my own racing game. But that ...
0
votes
0answers
34 views

How can I raycast a floor in a simple raycasting engine?

I've been following the infamous lodev raycasting tutorial for a little while now but I can't make heads or tails of how the raycasting for the floor/ceiling works. He seems to be drawing the floor ...
1
vote
1answer
32 views

Aim/Scope Oscillation Algorithm

I have been struggling to find an algorithm to implement something that will make a direction oscillate within a cone constraint, in a helix-shaped fashion as in photo (it will always go back to the ...
1
vote
1answer
71 views

I don't understand code that builds 3D sphere

I'm trying to learn some lwjgl and opengl, and I was trying to make a 3d sphere etc, I found a code to do that, but I don't 100% understand the code and the math behind it and would like to get some ...
1
vote
0answers
25 views

Switch Vector 3 x,y,z Components Based on Rotation

I have a cube that moves by rotating on its edge. I want my code to also work for cuboids. The following code is what I'm using to rotate my cube: ...
1
vote
0answers
63 views

Is there a way to convert a shader code to shader graph?

I would like to ask if there is a way to convert a Coded shader into the new Shader graph, beacause i want to edit my shaders in more efficient way. Any help is appreciated.
1
vote
0answers
28 views

How can I move the camera to create a parallax effect?

Right now I am making an application which can be described as model viewer for iPad Pro. The client wants to have an orbiting camera around the object and in addition he wants to have a parallax ...
2
votes
2answers
247 views

How can I generate the smallest enclosing sphere from a mesh?

I have a polygon which is defined by a set of vertices and I need the smallest sphere encompassing the mesh. The spheres are defined by a position vector (x,y,z) and a radius. Is there an algorithm ...
1
vote
1answer
88 views

libGDX 3D rendering

I'm currently working on a FPS 3D game using libGDX. I aim to have maze-like levels (like the original Doom and Duke Nukem 3D) so I'm making a level editor with a top-down view and lets you stretch ...
0
votes
1answer
68 views

Getting the winding order of a mesh

I'm doing some topological operations on my mesh and I need to know the winding order for my mesh. Since I will be importing models from different sources I will need to know whether the winding ...
2
votes
2answers
99 views

Issue with Jumping

In my game, you have to press (or more accurately release) space bar to jump. However, at seemingly random instances the player wouldn't jump. So it is working fine most of the times but then out of ...
0
votes
0answers
18 views

3d animation that changes state - what's best practice

I'm a developer with a little bit of 2d game experience, but the need has come for me to do a bit of 3d work and I wanted to understand some best process. I'm primarily working with blender and ...
0
votes
2answers
23 views

Unity GameView Differrent with CameraView - Dont have 3D environments

Now on my existing project, if i create new scene, automatically i got my gameview like below : above game does not have 3d environments outlook, i'm expecting like below (my old existing scene) : ...
0
votes
1answer
28 views

3D infinite platform generation: Can't increase space between platforms. (Unity)

As seen in the images, changing the value of 'spawnZ' affects the distance between the initial platform and the first generated platform but afterwards it has no affect whatsoever. ...
0
votes
1answer
23 views

How to orient a layer to connect 2 points AND facing the camera

here is my question, which I hope will be in general interest: If you have got 2 Points in 3D space and want a plane to connect those, you can quite easily use a function similar to "lookAt" to ...
0
votes
2answers
65 views

Is clipping done before or after projection?

Is clipping applied after projection or before? How can it be applied after projection when a vertex is behind the camera and projected therefore mirrored? At this time I clip the triangle before ...
0
votes
0answers
27 views

Artificial, deliberate, per-object aliasing

I'm making a 3D game with a retro feel1 and would like to shade a single object in such a way that the edges and colours look aliased: that is to say, it should look like the spatial sample rate of ...
0
votes
0answers
24 views

Screen-space shadows?

Is there such a thing as screen-space shadows? I know that most shadow projection comes from rendering the world from the viewpoint of the light source, projecting the shadows onto a large square ...
0
votes
0answers
12 views

two 3d right square prism in collision(AABB), how to check which faces are colliding?

To calculate which faces are colliding with two cubes, I did 1- substract the center of each AABB = 3d vector distance. 2- if |x|(absolute value of x) of this vector is the biggest, this represents ...
1
vote
0answers
16 views

HTC Vive Grabbing Object Trigger

I'm doing a HTC Vive VR game with Unity. I have 3 objects, and I want to trigger different events when the player pick up different objects. Since I set the rigidbody to the controller and don't ...
0
votes
1answer
31 views

Import 3D model into Unreal Engine 4

(Sorry if I misunderstood the context of what I want, I'm currently noob in game development). I want to retrieve a 3D model from let's say Saints Row 3, and import it to Unreal Engine 4, is it ...
1
vote
2answers
83 views

What issue in the shot in unity 3D?

when the start game in the client [localserver], the bullet can't forward in the space just fixed in the Gun, here image about what I say:https://imgur.com/prWNxBx "image" network manager https://...
0
votes
0answers
12 views

Calculate 3d object size to fill all screen.

I have a 4 rectangle 3d objects with size of entire screen that make a cube together and rotate. And i have problem with responsive on different aspect ratios and rotating. A calculated the size ...
0
votes
1answer
14 views

How to find the largest bounding boxes in 3D array to cover all cells?

I'm trying to generate colliders automatically from a 3D array where each cell represents a constant-sized piece in a world (like a voxel). I'm trying to optimize the number of colliders, so I want to ...
1
vote
0answers
40 views

Unity3D: Simple animations ending with a bit of offset

I'm trying to make a simple game with some cubes rotating 90º when the user clicks on them. I've setup an empty game object, a simple cube nested, an animator, and two animations: RotateClockWise, ...
0
votes
1answer
77 views

Is it good to use 24 fps animation in 60 fps game?

Is it normal to use 24 fps animation in 60 fps game or it will hurt perfomance or create bugs?
2
votes
0answers
38 views

Art Guide Theory: Lighting an Game Environment (Objectives, approach/workflow and mood) in PBR

What's the theory behind the Lighting an Game Environment in a Physically Based Renderer? As far my research, lighting an scene is done with different Rules and Different Ways of Lighting an Scene ...
0
votes
1answer
58 views

Character Modeling VS Level Design

Currently I'm in an associates program for Game Programming, but over the last semester due to my work schedule there was no programming class available for me to take so instead I decided to take 3D ...