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

learn more… | top users | synonyms

0
votes
0answers
16 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(...
0
votes
0answers
16 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
32 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
188 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
29 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
46 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
45 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
50 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
63 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
101 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
142 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 ...
0
votes
2answers
28 views

HLSL mipmapping not working

I want to implement a mipmap filter in my 3D game, so that textures which are located far away are using a lower resolution than the original. For the shader I'm using hlsl version 4_0_level_9_1 or ...
0
votes
1answer
119 views

How to get surrface position from 3D objects in 2D space

I am working on simple drag and drop game with Javascript and PIXI.JS! The game itself is 2D , but I have some pseudo-3d objects ( i guess isometric ) and I am trying to get the position of those ...
1
vote
1answer
16 views

Unity procedural smooth normals

I have a Unity project, which heavily relies on the marching cubes algorithm. Because this algorithm doesn't return the triangles in order, I can only index them in the order they are present in the ...
0
votes
2answers
29 views

How do I get the 3d coordinates of my model Instance? [LibGDX]

I want to get the 3d coordinates (as a Vector3) from my model Instances. with the following code I can only get the original coordinates, but in the render method, my model is rotating around the Y-...
0
votes
1answer
40 views

How to remove fragment from VAO?

I have the OpenGL VAO object (~40K) to draw the 3D scene glBindVertexArray(VAO); glDrawElements(GL_TRIANGLES, 4, GL_UNSIGNED_BYTE, nullptr); glBindVertexArray(0); To add some data I can use ...
0
votes
1answer
29 views

Reset Camera view - webgl

I have camera rotating by dragging mouse. Im trying to add reset button that restart the scene to initial view. The rotating camera works as expected but I can't figure out how to reset it. The ...
1
vote
0answers
28 views

How to convert an octree to a 3D array

I have an octree that I'm planning to use for 3D pathfinding. My plan was to break down the world such that all the leaf nodes of the tree would be of equal dimensions that would create a nice grid ...
0
votes
0answers
22 views

Stretchable Mesh Generation Techniques in 2D and 3D (Unity)

I wanna to generate such mesh (or smth like) that can be "Stretchable". Yellow objects in the picture are nodes and red ones are edges of my graph. I want to generate "edges mesh" can be stretchable ...
0
votes
1answer
32 views

Dynamically setting parent causing strange object scaling

TL;DR: How could one fix scaling skew caused by a parent object assigned at run-time where the parent object's scaling perpendicular to its surface is not a 1:1 ratio, thereby turning the circular ...
0
votes
1answer
12 views

Unity3d simple material color display correctly in windows built but yellow color turns to blue in android build?

I have a simple roll a ball game as shown in unity 3d tutorials, and I have set the wall color as a shade of yellow using the standard shader and material. This runs flawlessly in windows application, ...
0
votes
0answers
19 views

Tesselate a grid with missing points

I have a grid with a fixed number of rows, and a maximum number of columns, although there could be missing points so each column may not have the maximum. The additional problem is that the points ...
0
votes
2answers
36 views

3D model gets partially invisible when large, Vuforia and Unity

I'd appreciate if someone could advise on my problem. I use one on-device image target and a single 3D model. I use Unity extension and then export the scene to Android project. I also use Extended ...
-1
votes
1answer
73 views

Camera not working in a Game Maker mod I am creating

I wrote an object, in Game Maker. My problem is that the camera appears to be nonexistent. It does not follow the player, and from the perspective it displays on the screen, I believe I simply do not ...
0
votes
0answers
26 views

How to convert .mesh to .trimesh?

i need to convert some maps file from .mesh to .trimesh Someone can explain me how to do this? Thanks!!
0
votes
0answers
26 views

Free direction texture mapping implementation

I'm trying to wrap my head around free direction texture mapping algorithm as described in the article. It can be used to efficiently render floor or ceilings in raycasting game engines (like in Doom ...
1
vote
1answer
33 views

Project 3d lines onto plane

I'm trying to wrap my head around coordinate projection, and can't seem to solve the problem I am having. Here is an illustration of it: The cubes represent 3d space, and the 2 red lines represent ...
0
votes
0answers
93 views

Drawing a 2D circle in a 3D World

I am trying to draw a 2D circle in 3D world. I have some spheres in my WebGL scene and am trying to add this code to draw the circle but it is not working. There is no error exception, however. ...
0
votes
1answer
84 views

orbit object around another object

I am building 3D solar system containing (sun > earth > moon). I have difficult to add the part which the moon rotate around earth. I separated between "moon" and other stars. The problem is that the ...
-4
votes
2answers
105 views

Is it viable to make a Desktop Application with Unity?

Is it possible to make a desktop application with Unity? I want to make a application which can display 3d models, and you should be able to turn the models over, and change views. See TankiViewer as ...
3
votes
2answers
39 views

How to force XNA to render model very far away as a light dot?

Making a space strategy game focusing on commanding a large fleet, with 1000+ ships per side.(I'm new in XNA 3D...below is a test screenshot. The ships will be scaled down another 2-5 times) When a ...
1
vote
0answers
64 views

Step by step 3D Game Design in Unity [closed]

My main question is related to 3D game design for Unity, but please let me introduce my idea so that you can understand what I really mean. I am very eager to develop an adventurous - travel 3D game (...
45
votes
9answers
8k views

Dungeons in a 3d space game

I'm in the process of creating a prototype for a 3d space game (3rd person). My question is this: How can a 3d space game have Zelda-like (or similar) dungeons in open space? Problems: Space has no ...
1
vote
1answer
72 views

Rotating a circle on its axis

I have a circular shape object, which I want to rotate like a fan along it's own axis. I can change the rotation in any direction i.e. dx, dy, dz using my transformation matrix. The following it's ...
1
vote
0answers
31 views

Finding the Dimension of OBJ objects

I am having a Three OBJ file , Cone , Sphere and Cube. How can i find the dimension of these objects , so that i can use it in my collision detection class. i.e How can i find Radius , Length of Cube ...
0
votes
1answer
87 views

How do I detect if two 3D box shapes are overlapping each other?

I'm creating a Unity game, and for my building system inside the game, I need to detect if 2 3d box shapes are overlapping each other. What I'm doing this for is, lets say I'm building a wall, I need ...
0
votes
1answer
68 views

Unity 5 - Occlusion culling at runtime

I am creating a game in Unity where the game is rendered while playing. The game is made in a voxel style, and has thousands upon thousands of objects rendered while playing. Of course, this causes a ...
1
vote
1answer
71 views

Decide whether bot is approaching or leaving

Consider a static obstacle placed in 3 Dimensional coordinate plane. A moving bot is programmed to pass through it. We know the position of obstacle. We also know the current position and current ...
0
votes
0answers
47 views

three way scene voxelization

I have been researching how to voxelize scene for a while. For example here and in other sources I found that I need to find axis which presents the largest face area of the triangle. So the ...
0
votes
1answer
46 views

Rotating pitch and yaw causes roll

So I'm new to working with a 3D space and not sure how to fix my problem, I basically have a turret that rotates along its Z axis, and pitches along it's Y but after rotating 180 on the Z axis the ...
0
votes
0answers
25 views

Unity3D - Export and Download3D model at runtime

I have looked to AssetBundles. But firstly, can't export right format for uploading to web. How can I export and download 3D Model from Web at runtime?
6
votes
1answer
104 views

What is the fastest algorithm to check if two cubes intersect (where the cubes are not axis aligned)?

I am looking for an algorithm to check if two cubes intersect. One can check if each of the 6 faces of cube A are intersected by each of 12 edges of cube B, but that is 72 checks. I've heard there is ...
0
votes
1answer
98 views

Recommended polycount for a MMORPG character

"How much polygons is too many for a MMORPG character?" I did some research and found a few discussions about the matter. But the answers I found was mostly "Polygons has nothing to do with ...
0
votes
0answers
40 views

Unity 3D - Sports teammates AI positioning

We are currently developing a "pok ta pok" (The mayan ball game), and we are trying to solve the part on which the team players position themselves and move according to their position zones and the ...
0
votes
1answer
65 views

2d grid for 3D game

I have a 3D game dungeon crawler game. It's procedurally generated. I have a bunch of prefab rooms that are used to put together this dungeon. When not in combat the player uses a navmesh to move ...
1
vote
2answers
103 views

3D on GBA, how was it done?

I've been wondering, how did game programmers make this: https://youtu.be/S6huq2G43Ls?t=4368 possible? There seems to be some odd morphing of textures when you walk by objects, and the textures are ...
0
votes
1answer
17 views

How do I combine mesh to all move together with an armature?

I can't figure out how to make all these parts move together. I joined them, however, they are still separate? How do I make my model move its parts together?
0
votes
1answer
64 views

Rotate bone on 1 axis to look at another object - Unity 3D

I'm new to game development and I'm trying to create a basic 3D Tower Defence game as my first project. I've created a basic turret in Blender and I'm now trying to rotate 2 different bones to make ...
0
votes
1answer
57 views

Planar mapping/projecting UV coordinates from normal

I've got set of vertices, and would like to calculate their UV coordinates by projecting them by a given normal. Similar to what "planar mapping" does in 3ds max. Another way of looking at it is ...