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

learn more… | top users | synonyms

1
vote
1answer
89 views

Is it ok to use polymorphism as a way of “interfacing” with objects in a scene? [closed]

I'm designing a class that holds values representing a 3D scene. This includes lights, cameras, meshes, materials, etc. The way how I'm setting it up is that each "thing" has a name. A camera has a ...
2
votes
1answer
128 views

How can I optimize block rendering in an OpenGL game?

I am working on a game with blocky graphics -- similar to Minecraft. My world generation algorithm is similar to the Diamond-Square algorithm. The terrain was initially too rough and uneven, so I ...
1
vote
1answer
45 views

When making 3D model for building, is it better to split it or combine it? [closed]

As the title say, when making 3d model for building (example: school, office, etc). Used for FPS game so it must have detail and texture must be vary so it won't look like repeating/reused. Is it ...
0
votes
0answers
26 views

Tweening back from arbitrary 3D rotation in javascript

I'm using a 3D javascript library to rotate the vertex of a 3D object with a classic 3x3 matrix, to an arbitrary angle in the 3D space, as depicted in the image below. For example, a first ...
1
vote
0answers
24 views

Ericsson compression for normal and bump maps

how does ETC2 fares when compressing normal maps and bump/height maps? Since we are talking about using an algorithm created for visual fidelity, applied to vector and numerical data ⃰ I'm quite sure ...
1
vote
1answer
47 views

How do you rotate all the objects around the camera?

If I'm correct, the way that you can "look around" in an environment is that you rotate all the objects around the camera. This is the code that I've created using JavaFX 3D. So what's the algorithm? ...
0
votes
0answers
30 views

Alternative to Loading Models into JavaFX

Here's my problem. I'm making a copyrighted game that is to be released by using the JavaFX 3D framework, and I want to import 3D models . I have heard of software indicated at the link here: ...
1
vote
2answers
48 views

Where could i find 3d items in 3d points array?

I've been reading a lot but i can't find any answer, evenmore, English is not my main language so i don't even know how to ask it correctly. I'm currently working on a 3D render engine on JS and ...
2
votes
0answers
35 views

3D Zoom To Mouse Cursor accounting for Change in Camera Pitch

Overview: Simply put, I'm trying to make a zoom to cursor algorithm. This would normally be very simple, but the implementation of the camera is making it difficult. As the camera zooms in and out, ...
2
votes
0answers
45 views

Custom 3D Renderer: Frustum clipping

I have recently been toying with the idea of creating a 3D-renderer from scratch and, after looking into it, doesn't seem like such a behemoth of a task as it sounds. Last night, I was tossing and ...
1
vote
2answers
57 views

opengl z index changing does not zoom in

I am making a simple opengl application where I have a cube and I want to move forward to it with the glTranslate3d function, where I change the z index. One would expect the object to get bigger ...
3
votes
0answers
84 views

Is there a 3d game engine without a built-in physics engine? [closed]

I know about jMonkeyEngine, Ardor3D, etc. Yes, I've also heard of LWJGL and OpenGL (the both are essentially the same, though) but neither of them really suit me. I don't want to deal too much in the ...
1
vote
0answers
105 views

How can I shoot an arrow if I know the shot power and target?

I am trying to shoot an arrow at a target with a 100% success rate. Given the initial force applied to the arrow, the gravity, the location of the archer, and the location of the target, how can I do ...
6
votes
2answers
121 views

Shading Languages vs Materials in 3D editors

There are many 3d packages which are able to construct materials. Autodesk Maya, 3ds max, Houdini, etc. There are languages which are able to construct materials as well, like GLSL and Cg. How does ...
3
votes
2answers
95 views

How to animate a character with props in Blender and then have these props modifiable in Unity3D?

I have created a fully rigged and fully animated humanoid model in Blender with rigging based on Unity's Mecanim standards for humanoid models. Now, I want to create custom animation for it in ...
1
vote
1answer
29 views

Unity object stuck where it shouldn't

Here's the thing. I am making a 3D top-down game about cars on the road. Right now I have different-colored cuboids representing cars. They are position-locked in Y and rotation-locked on all three ...
2
votes
2answers
51 views

Strange behavior with transformation matrix

I'm fairly new to transformation matrices. I'm using them to translate and rotate nodes and their child nodes. The following code works when applied once, but shows strange behavior when applied many ...
2
votes
0answers
23 views

Possible to make/use a “preset animation” on multiple 3D characters?

So im new into game developing, so I'm sorry if this is a stupid question. The thing is, that I'm currently making a game, and I'm done with my 3D characters. The only thing that is left, are the ...
3
votes
1answer
69 views

How to load multiple 3D models dynamically xna

I want to load multiple 3D models .fbx at the same time in my map display. I can load First Model but when I use ContentBuilder to Load another Model, I Got Error in effect.EnableDefaultLighting (); ...
5
votes
0answers
95 views

How do i find the circumsphere of a tetrahedron?

I'm looking for the most minimized equation to find the center coordinates and the radius of a tetrahedron circumsphere given four 3D points. What I found on the internet mainly deal with the circum ...
3
votes
2answers
84 views

Putting items into a 3D space

Imagine a fridge and a bunch of random foods. I want to take one food item, automatically put it somewhere in the fridge, and repeat. I can stop at any time. Basically, the filled fridge should look ...
5
votes
2answers
739 views

Is there an efficient way to identify in which run-time generated room a character is, in a non-grid 3D environment? How?

Here is what I am trying to implement. I wrote a script that allows the player to place walls during run-time, in non grid-based 3D environment (walls can be diagonal with rotation ...
1
vote
0answers
26 views

How to use quaternion on another referential

I'm new on Three.js and despite a mechanical background, I can't find how quaternion works: it's like it always refers on local part referential and not the global one. I've illustrated it here : ...
1
vote
0answers
24 views

Add UVs back into a model

I built a 3D model in Autodesk 123d design, then exported it as an stl. When I convert it into an obj, however, there were no UVs in it. Is there a way I can add the UVs back into the model using a ...
1
vote
1answer
60 views

Texture not working on object

I have a project that I'm having a bit of trouble with. Let me try and explain. In short, I'm trying to apply a texture to an object, but instead it is a solid color. I built a building in "Autodesk ...
2
votes
1answer
174 views

masking with 3d object in unity

I have a 3d plane in my scene and some 3d objects behind that plane. So, i want to render only the part behind the 3d plane. So how should I do this, should I have to use custom shaders, plz help.
3
votes
1answer
139 views

How can use a 3D map with 2D characters (Unity)? [closed]

I tried to search something about it but I can't find any complete or well-explained tutorials about how to use a 3D map with 2D characters and items, like Ragnarok or Final Fantasy Tactics. If there ...
2
votes
1answer
35 views

Texturing curves in blender

Im making a tree in blender with the sappling add-on, i've already textured the leaves, i want to know how to texture the trunk with a bark texture. Im using cycles render. Thanks in advance. :)
1
vote
1answer
60 views

XNA Get model height in location

I am trying to make simple RTS game, and here is the problem I encountered. I need to get model height in any position. Model will not be rotated or scaled. For example, I have a terrain model like ...
1
vote
2answers
75 views

Calculating the vector to catch a falling object

I have two objects in a three dimensional world. One is a ballistic projectile: that is, it is free-falling with some known gravitational acceleration. The other is a catcher that travels with ...
1
vote
0answers
44 views

Perspective correct texture mapping in iOS Metal

I tried various ways of getting the interpolation work and generate a perspective correct image, but none of the suggested ways works. My current code is: struct VertexStruct { float4 ...
1
vote
1answer
100 views

How to not render what is behind object?

I am working on a 3d project using openGL. I am looking for a way to optimize my renderings. Is there a way to tell if an object is behind another object and thus not visible to not waste time ...
0
votes
0answers
51 views

3D Player/Character velocity/acceleration/friction/movement

I'm in a bit of a pickle and I'd sincerely like anybody's help. I'm working on a 3D platformer similar to Crash Bandicoot and I'm a little bit confused on how to set up the velocity and acceleration. ...
1
vote
0answers
72 views

Bird flight simulation (physics)

I tried to search something about bird-like animal flight simulation but it looks like everything is spammed with flappy bird 2D questions. I want to have in my 3D game bird-like animals with ...
1
vote
1answer
50 views

Drawing order of 2D tiles with 3D bounding volume

I'm wondering which algorithm was used to draw the sprites of the video game Commandos in the correct order. Each sprite has a 3D bounding volume (either a polygon or a cylinder), this is how the ...
1
vote
1answer
51 views

add random walls with an array in 3D xna 4

I'm trying to add walls to my 3D game. I created a wall entity and added model array public Walls() { modelArray = new Model[10]; } public void Initialize(ContentManager contentManager) { for ...
0
votes
1answer
79 views

OpenGL, Blender and model optimization

I'm learning OpenGL and there is something I don't understand regarding model loading. Lets say I found a free .blend model of a tree. The problem is - currently in my program all models have only ...
-2
votes
2answers
177 views

Is a bitmap fast enough for a 3d game?

I would like to learn how to create some 3d games from scratch, but i need to know what the fastest way to create a frame would be. Would it be converting an array of pixels into a bitmap, or is there ...
1
vote
2answers
79 views

How do 3d engines create frames? [closed]

I wanted to start on a little project of making a simple 3d engine, but I can't seem to find anywhere how 3d engines actually make frames. (I don't mean the math behind the 3d projection). Do they use ...
1
vote
0answers
27 views

Vertex with too many connections in Maya

After some mesh editing in Maya I got one vertex with a lot of connections. Please help, how can I fix it? Don't even know how to google it.
-1
votes
1answer
82 views

How can I render 3D frames quickly using VB?

I want to make a simple 3D engine using vb. It must be fast at creating frames obviously for a 3d game. So this code i have draws a frame at 4 fps Dim SM = DateTime.Now.Millisecond Dim ETDFrame ...
0
votes
1answer
116 views

OpenGL One Color Per VBO

Recently I have been working with OpenGL and have decided to use colors instead of textures. However, since the project I am working on is going to have a low-poly look, I want each color to stand ...
0
votes
0answers
47 views

Can materials be melted using code?

Say this ball for example : These three models have been created, to then use a simple morph transition to make the ball switch from 0 to 1 then to 2, and make it look like it's melting. But is ...
1
vote
0answers
30 views

Perspective projection math help?

I have points X,Y,Z and have a camera at Cx,Cy,Cz. Assuming the camera is not rotated and is facing the -Z direction and is at 0,0,0. What would the math be for projecting the X,Y,and Z values onto ...
1
vote
0answers
91 views

convert 2d pt into non-affine coordinate system

Say I have a coordinate system that goes from (0,0) to (1,1). We'll call this screen_space. Within this coordinate system, I have 4 points that I would like to define another coordinate system. One ...
1
vote
2answers
88 views

How do 3d engines add textures to objects?

I was wondering how 3d engines like Unity or OpenGL added textures to objects. Example: How would Unity add this texture to the side the arrow is pointing to?
9
votes
2answers
215 views

How do I prevent raycast car wheels sliding sideways?

I've been writing a non-realistic car physics engine as a learning exercise, using this article as a reference. I have a car that correctly collides with a terrain and applies the correct suspension ...
0
votes
1answer
102 views

three.js objects disappear

I haven't got a lot of experience with 3D Frameworks - but was playing around with three.js and came across something that (to me) is a bit odd and I wondered why this happened. I am rendering the ...
0
votes
2answers
81 views

3d projection help?

I've been wanting to know how to do 3d projections. Can someone explain how i can use this to find the position for x and y on the 2d plane that is 600 * 600 pixels.
0
votes
0answers
147 views

camera or position issue when render sphere with cocos2d-x 3.7

See code below bool HelloWorld::init() { [....] auto size = Director::getInstance()->getWinSize(); // setup camera auto camera = Camera::createPerspective(30, ...