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

learn more… | top users | synonyms

-1
votes
0answers
25 views

Is my quaternion-based free camera correct?

I'm going to be learning skeletal animation soon and thought it'd be easier to learn quaternions by modifying my camera class as the results can be seen quickly. There is a ton of information out ...
0
votes
1answer
23 views

2D HUD overlay drawing based on 3D coordinates and camera azimuth and elevation

Assume you have the 3d coordinates of the player and another unit N as well as the azimuth and elevation of a camera always looking at the player. In the following illustration the sun would be the ...
0
votes
0answers
43 views

Guidance/tips for my first 3d game development [closed]

I have an idea for a simple 3d game, where the game is played on an inclined plane and has few bunnies running around. I want to do this as a learning project. I played around a bit with godot engine (...
0
votes
1answer
13 views

Unity3D CrossPlatformInput StandardAsset Multitouch

I have a small game I am working on, and I am trying to add touch support to it. Before I try to add that into the real game I wanted to do a test run on a small project. The project consists of a ...
0
votes
0answers
50 views

Vulkan or Opengl for beginners? [closed]

I am new (beginner) at graphics development (I am very good at AI ) i want to make a game engine like unity. But should I start to learn from vulkan or start from opengl thanks. sorry for bad english
0
votes
1answer
78 views

Why is fog in games exponential and has a start distance?

In most tutorials I see on how to achieve fog with shaders the fog is exponential and has a minimum / start distance from the camera. Why? Both seem counterintuitive, especially the minimum distance. ...
0
votes
1answer
53 views

How to display distance between Player and object in UI text? Unity 5.5

I am an beginner in Unity, with no experience in scripting. Can someone help me with a script to display distance between Player and object in UI text? Using Unity 5.5, the scene is quite simple just ...
0
votes
1answer
32 views

Creating a 3rd Person Flying Camera for 3D asteroids game

In order to learn PyOpenGL and test out an engine I am developing, I am trying to write a 3D asteroids flying space shooter game. Currently, I am implementing the camera using a "look at" function ...
0
votes
1answer
16 views

UNITY Prevent 3D Text Render Trough All Object Without Shader

im tired of those answer i found trough search engine that just keep saying " the trick is to modify the shader " without thinking because they want to gain reputation , in my case , i have 2 3D text ,...
0
votes
1answer
27 views

Monogame Dragging 3D object edges

I am having trouble rendering 3D models with monogame. The problem only occurs when I export the object from blender with two materials on it. Example: Monogame sees those two different materials ...
0
votes
1answer
52 views

Does decreasing rendering resolution also decrease the amount of polygons in my 3d models?

When lowering my game resolution I reduce the pixel count of the final rendered output image, does the 3d model I use to render the final image also lose polygons?
0
votes
1answer
13 views

How can a BabylonJS FreeCamera be rotated from code?

Say I have a FreeCamera in a BabylonJS 3D world. How could I rotate that camera from program code? Or, more specifically, how might I bind camera rotation (not movement, which I know how to bind to ...
0
votes
1answer
39 views

Line renderer in 3D sorting order

I'm using a line renderer as a laser aim for my character. If the aim hits an object it ends at that object. If the aim doesn't hit an object it continues a predefined distance. If I aim at an object ...
0
votes
1answer
39 views

3D modelling from a picture?

Can I make a model from a picture? A friend of mine would like to be an NPC in my game ! :P I would like to add him, but I never did 3D modelling! Is it possible to make 3d model from photo/picture?
0
votes
2answers
63 views

How to make a spaceship auto level while in orbit

I’m trying to make a ship auto level so that the belly of the ship stays facing the planet. I found the answer in 2.5D*, but I can’t get it to work in 3D. //world rotation * up Vector3f spatialY = ...
0
votes
2answers
69 views

2D HUD over 3D scene

I'm trying to create a 2D Heads up Display for my players in a 3D OpenTK environment. How I'm doing it is by drawing my 3D elements and then running this code. GL.MatrixMode(MatrixMode.Projection); ...
0
votes
1answer
23 views

Three points to normal notation (interpret the math)

From: Euclidian Space: Planes, I see the formula: Convert Three points to normal notation N = (p1-p0) × (p2 - p0) d = -N • p0^2 where: N = normal to plane (not necessarily unit ...
0
votes
1answer
41 views

Box2D in 3D space

I am trying to combine a perspective camera with a box2D world using libgdx and I am having some problems getting the two to synch up. I want to do this so I can use 3D models but keep the game in a ...
1
vote
0answers
24 views

How to do Decal Clipping with OpenGL using Depth Buffer comparison?

Basically I'm already drawing decals on top of various flat surfaces and that works great. As soon as the decal approaches the edge of a surface, naturally it doesn't get clipped. Is there a way to ...
0
votes
0answers
46 views

UV unwrap algorithm - relaxing angles

I have the following UV map: It's from a simple UV planar mapping algorithm I created that just maps sides of the fish (top, left, right) straight to a plane. This means that triangles at an angle to ...
0
votes
0answers
101 views

Raycasting with a selection rectangle box

I'm currently making a level editor for my game and want to implement a selection tool to make it easier to select multiple voxels at once. My question is what the most efficient way is to get all the ...
0
votes
1answer
49 views

How to use 3D models in video games? (Copyright related)

There are many gray areas in using 3D models online that may be free, creative commons with specific terms, or public domain. I notice many 3D models being sold by artists that are exact replicas of ...
0
votes
0answers
22 views

How to detect collisions between a point a tube in space?

Alright, so I am wondering in general if given a tube that follows a curve in space there is a way to detect if a point is within some distance to the curve? I am assuming that a curve if a continuous ...
0
votes
3answers
62 views

What format is this 3D model in or how can I change my rendering code to accept obj files?

I have a file in my project that defines 2 numbers and 4 arrays: #define NUM_TEAPOT_OBJECT_VERTEX 824 #define NUM_TEAPOT_OBJECT_INDEX 1024 * 3 static const float teapotVertices[...
-2
votes
1answer
50 views

Implementation of A* Algorithm in a 3D Cube Array

I am working on making a program that finds the most efficient way to a goal from a starting point, with a few random debris set around. The entire thing is a 25x25x25 3d array of Cube objects, which ...
1
vote
0answers
31 views

Light propagation through sub-step ray tracer

I have this crazy idea. What if you made a real-time 3D render that for each frame, progressed some number of light bouncing. In effect this is a ray tracer but it does the ray tracing in steps. ...
1
vote
0answers
25 views

How to use 3D transformation matrices with GLM old version that has simd functions

I need matrix 3D transformation, model transformation i.e scale-rotate-translate and then that model into world space so model-projection-view matrices. I need it with GLM specified simd vectors and ...
1
vote
1answer
31 views

How to keep triangles from connecting across voxel mesh

I am working on a voxel engine and have just started learning webgl. I have generated a list of Vertices and Indices by using Array.concat() on a template array and adding a value based on my position ...
1
vote
0answers
29 views

Retrieve 3d models from a server in unity

I have 10 3d models which are about 8mb each..Now, should I store these 3d models in my apk or will it be wise to store it in a server and then retrieve it?.If so, how can I do that?
2
votes
1answer
80 views

3d puzzle game generating levels

I want to create a puzzle game for my first year in college. I will use OpeGL and C++. The point of the game is to create a path between squares that have the same color, without making the paths ...
0
votes
0answers
70 views

Rotating an object around it's centre in OpenGL

I'm writing small 3d viewer of models from .obj file. I have a car and I want to rotate car's wheels. I found a lot of good examples but I still have a problem: wheel rotates around point at the it's ...
0
votes
0answers
15 views

Interpolate spherical pendulum motion

I am currently working on a project that aims to combine virtual reality with the real world. For this project, I am tracking a pendulum that is hanging from the ceiling using the HTC Vive, and want ...
0
votes
1answer
59 views

Sticking things to Walls in 3D

I'm trying to leave the second dimension and finally make a 3d game, but I'm having a hard time coming up with a way to implement a certain concept. I am trying to make a flat object which would "...
0
votes
0answers
69 views

Light 2D and Performance issues

I want to make a 2D game that will use 2 kinds of lights (Spotlight and Point Light). I need the game to be completly dark unless there is a light in the area and the light to not pass through walls. ...
0
votes
1answer
25 views

Intersection of two limited planes (stripes)

Have two limited planes. That means just squares or stripe in 3D space (or two connected triangles on the same plane). What i want to know is exactly how (and whether) they collide. My first approach ...
0
votes
2answers
86 views

Move relative to screen

I use top down 60 degree tilted camera and want move always visually straight directions relative to screen (up, down, left, right). When object is near screen edges it starts moving diagonally (...
0
votes
1answer
38 views

Ball bounce in 3d

I cannot get my bounce equations right. I have 2 spheres, that can colide at any angle. One is forever stationary, other one is moving though the space. I have X,Y,Z speed of the moving ball and a ...
0
votes
1answer
30 views

Determine “bounding box size” (not scale) of model in MonoGame

I'm working on integrating some the 3D models I import into my physics system by trying to take their "size" and use that as the side for objects within my physics system. When I say size, I'm ...
0
votes
0answers
42 views

LibGDX placing UV on a generated basic terrain mesh

I'm making my own terrain mesh via code (not really for efficacity but more for understanding meshes and 3d in general) and trying to make it tiled. Here's my code: private static Model makeTerrain(...
1
vote
0answers
32 views

How do I convert a DWG floor plan to 3D for use in Unity or PlayCanvas

I wish to take DWG floor plans and make 3D models of them which I can then use in Unity or PlayCanvas. PlayCanvas accepts FBX 3D models from tools such as Blender, Sketchup, 3DSMax, Maya, etc. There ...
0
votes
1answer
47 views

Smooth Lighting Falloff

So, I'm having some issues with lighting in my Unity game. I had implemented torches, which seem to be working fine, but I have a creature (gelatinous cube) that I've put spot lights facing to give ...
1
vote
2answers
223 views

How do Inventories work?

I am trying to create a inventory screen / system for my game. And I don't know how it will work. I'm creating it in unity. I was thinking of making a database of all items and a database of items in ...
0
votes
0answers
43 views

Which extra information is usually stored with vertex data in triangular mesh files? (General / detailed question)

I'm currently trying to read model files from a nonpublic file format. This means I have to figure out the general structure of the files. I allready got alot of the data sorted out, but now i wonder, ...
0
votes
2answers
116 views

Unity Failed to Repackage Resources

I was trying to integrate Admob into my unity game. I imported the Google Play Games plugin and the Admob Plugin , but I have been getting this error for the past couple days. ...
0
votes
0answers
21 views

Find pairs of the closest position in list of positions

Given an array of positions, what would be the fastest algorithm for finding pairs that are closer to each other than to any other object?
0
votes
1answer
72 views

How is a gimbal connected with Euler rotation angles?

When I see any video that explains how gimbal lock occurs, they explain it using a gimbal machine and I totally understand the effect on that machine. What I don't understand is how Euler angles are ...
0
votes
1answer
110 views

Drawing the same object multiple times in OpenGL

I am writing little game on C++ using OpenGL. I have various number of enemies (say, from two to twenty) - they are identical objects, each one uses the same mesh which is animated (skinning is ...
-1
votes
1answer
69 views

Realistic 3D Lighting in Unity

The game I am working on is in 3D, and I need to create a realistic looking recessed ceiling light, preferably without any 3rd party plugins or tools, as I am on a school computer. What is the best ...
0
votes
1answer
123 views

3D sphere generation

I have found a 3D sphere in a closed-source game engine that I really like the look of and would like to have something similar in my own 3D engine. This is how the sphere looks like when it is ...
1
vote
0answers
154 views

3D software-based engine projection issues

i have been writing a 3D soft-engine for a little while and i have gotten it a reasonable position but recently noticed a bug that i can't seem to solve. When i am rendering a few cubes as a test, if ...