Refers to games or art assets built in a three-dimensional space, where all positions have X, Y and Z coordinates.
4
votes
3answers
374 views
Finding closest coordinate of a pre-known set
Let's say I have a large number of conceptual objects of some kind, each of which occupies a pre-known set of points in a Cartesian 3-space.
1) What is the best combination of data structure (for ...
4
votes
3answers
859 views
Solidworks (3D model) import help
Hey guys, I'm not sure if this is the right place to ask, but I'm also not sure where else to ask. I have a 3D model in Solidworks that is imported from a STL file. Solidworks imports the file ...
4
votes
2answers
242 views
Shadow artifacts caused by filtering
I'm working on a shadow-mapping implementation for an OpenGLES 2.0 environment (Stage3D in Flash to be exact). This is how my current implementation works:
Render the scene to backbuffer.
Render ...
4
votes
1answer
348 views
Cross-Sections of 3D Rendered Objects
I am currently trying to look into techniques that allow the calculation of arbitrary cross-sections of a 3D object or rendered volume. However, I have been unable to find much on the topic. I know of ...
4
votes
1answer
222 views
Translation from one coordinate system to another having Z-offset issues
I'm using ARToolkit to do an augmented reality application, but my problem is really with the 3D coordinates.
In this application, I use my webcam to generate the scene. I have two markers (printed ...
4
votes
1answer
211 views
How to program a cutting tool for 3D model in game
I'm looking for a resource to figure out how to program a function to cut a 3d model in game.
Example: Enemy/NPC is sliced into 2 pieces with a sword. His body is not hollow, you can see bloody ...
4
votes
1answer
192 views
What is the proper way to maintain the angle of a gun mounted on a car?
So I am making a simple game. I want to put a gun on top of a car. I want to be able to control the angle of the gun. Basically it can go forward all the way so that it is parallel to the ground ...
4
votes
2answers
542 views
Simulating the effects of wind
I am developing a mobile game for Android. It is a 3D jumping game (like ski jump) where wind plays a important role so i need to simulate it. How could I achieve this?
The game uses libgdx for ...
4
votes
2answers
695 views
What is road map for Windows 3D game development in C#
I used WPF 3D to make a demo program a while ago. I'm now want to give some other things a shot but find working in WPF 3D ... confining. I have looked at Managed Direct3D but read that it's dead. I ...
4
votes
1answer
308 views
Handling cameras in a large scale game engine
What is the correct, or most elegant, way to manage cameras in large game engines? Or should I ask, how does everybody else do it?
The methods I can think of are:
Binding cameras straight to the ...
4
votes
3answers
1k views
Java and Eclipse setup properly, how do I install JOGL or LWJGL?
I have my Java environment installed alongside Eclipse, and I was successfully able to create and run a new project (simple System.out.println("Yay I work!");
I have the OpenGL SuperBible, and I ...
4
votes
1answer
416 views
Best methodology to prepare 3d models for avatar customization?
I know preparing mount points and the like. But what's the best way to prevent Z fighting with customizations close to moving parts like elbows and knees?
4
votes
1answer
975 views
3D Model package for Mac/iOS
I am getting my 3D modeling pipeline started and a few questions have come up about modeling packages and formats:
What 3D model format is easy to parse, free to use, and is usable on the iOS/Mac ...
4
votes
1answer
722 views
How do I calculate an inverse bind-pose matrix for COLLADA?
I want to port a rigged mesh from a custom format to COLLADA. The bones I have define a position for the bone (local) and a matrix that transforms the child-bones' positions into the next-higher ...
4
votes
1answer
162 views
Marching cube texturing
I'm working on a voxel game, and I have some problems with texturing. I have read the related questions on this stack exchange, but they seem adressing a generic problem (using triplanar texturing), ...
4
votes
1answer
173 views
Vertex data split into separate buffers or one one structure?
Is it better to have all vertex data in one structure like this:
class MyVertex
{
int x,y,z;
int u,v;
int normalx, normaly, normalz;
}
Or to have each component ...
4
votes
1answer
184 views
3d Collision Handling
I have trouble while detecting collisions on my 3D-Game.
I have set-up Rays, to detect collisions (Screenshot) and my main-rountine already analyzes them. But now there's the question what to do ...
4
votes
2answers
302 views
Box-box contact information
I have two colliding boxes, How i can calculate contact information like (contact normal, contact point and penetration) .
Is there any simple algorithm .
Note: i'm using XNA .
4
votes
2answers
352 views
OpenGL, Offset and Camera Space
I was reading chapter 4 of the Arcsyntesis OpenGL tutorial when I came across this line in the GLSL shader.
vec4 cameraPos = position + vec4(offset.x, offset.y, 0.0, 0.0);
About it, the tutorial ...
4
votes
1answer
353 views
How do they do the 3d effect in Animal Crossing?
Animal Crossing has a unique way of scrolling around the world, this video shows a good example: http://www.youtube.com/watch?v=1un1XeSxhoA&feature=related
When the character moves down, the the ...
4
votes
3answers
732 views
AR app: Mapping 3D object to 2D plane?
I'm trying to create an Augmented Reality app. I'm using OpenCV to get 4 points from a checkerboard pattern that represent the four corners of the pattern. This should be used to create a plane in my ...
4
votes
1answer
611 views
What solutions are available for 3d character creation/editing in games?
Many RPGs and MMOs offer a system for creating a character model, with varying levels of customization. Are there any open source libraries for this? Any libraries which can be licensed? Has anyone ...
4
votes
1answer
367 views
3D Camera Problem
I allow the user to look around the scene by holding down the left mouse button and moving the mouse. The problem that I have is I can be facing one direction, I move the mouse up and the view tilts ...
4
votes
1answer
114 views
Where can I obtain the latest stable aggregated builds of JOGL?
I have checked many different sites including jogamp but couldn't manage to find any zipped,rared or jared collection of builds and javadocs.
4
votes
1answer
279 views
apply non-hierarchial transforms to hierarchial skeleton?
I use Blender3D, but the answer might not API-exclusive.
I have some matrices I need to assign to PoseBones. The resulting pose looks fine when there is no bone hierarchy (parenting) and messed up ...
4
votes
1answer
294 views
Creating a highlight halo around a selected object
I'm looking to create a halo highlight around the selected objects in my game screen.
The main platform is android, but I am writing an iOS version as well, updating it whenever I successfully add the ...
4
votes
0answers
228 views
How to generate portal zones?
I'm developing a portal-based scene manager. Basically all it does is to check the portals against the camera frustum, and render their associated portal zones accordingly.
Is there any way my editor ...
4
votes
2answers
2k views
What should I do to get my Blender models into my iOS game?
I am working on a 3D OpenGL|ES game for iPad. All the models are created in Blender. How should I go about getting my models into my game?
I have the following requirements of my models:
One ...
3
votes
4answers
2k views
what is the simplest 3d software for unity?
Ive heard a lot about Daz studio, Poser, Maya, K-3d, Anim8or, Blender, and all the rest.
My question is which one is the best choice in terms of simplicity and quality. price is not an issue really. ...
3
votes
5answers
1k views
How are realistic 3D faces created and animated in video games?
I'm interested in being able to create realistic faces and facial expressions for the 3D characters of a game I'm working on. Think something similar to the dialog scenes in games like Mass Effect.
...
3
votes
3answers
934 views
How does 3D games work so fluent provided that each mesh's size is so big?
I'm surprised to find that each mesh takes at least 5-6 MB,
how can a 3D game be so fluent when there are hundreds of models?
I'm expecting it will simply go out of memory or something else that ...
3
votes
1answer
1k views
Can a 4x4 matrix describe a camera's perspective?
I'm working with a closed-source 3D engine, and it only allows you to set the view projection via a 4x4 matrix. Can this matrix describe the camera's translation, rotation & perspective?
I turned ...
3
votes
3answers
8k views
How to transform a 2d drawing in a 3d model in easy steps? Where to start?
I have a great draftsman, but I don't know how to take his drawings to 3D
My basic notions guide me to get a front picture and a side picture and then
put in a cross in a z-axis and give them ...
3
votes
3answers
636 views
Where and how to check if game was developed with bought Unity3D licence (not cracked app)?
We hired an external team from Eastern country. They built our mobile game app using Unity3d which we paid a lot of $K. We asked them to only use the software with bought license, not cracked one, and ...
3
votes
2answers
588 views
Replacing a custom 3D model format with something more standard
This is long, so the short question is: What's the best/right/standard set of technologies for creating 3D models and incorporating them into a game such that the complexity for the artist is kept to ...
3
votes
2answers
189 views
How does a point squared equal the radius squared?
I am working on a simple ray tracer but I don't understand some of the formulas.
One that is bugging me at the moment is this:
If a sphere is centred at origin, a point p lies on a sphere of ...
3
votes
2answers
294 views
How do I get started with fog type effects in a first person game?
Hey guys, I'm currently using JME3 to learn 3d game development in java, and I have run into a situation. I would like to add fog effects to my games, but I don't even know where to start to implement ...
3
votes
4answers
309 views
Benefits of upgrading from OpenGL ES 1.1 to 2.0 on iOS
I have an animated 3D iPhone game that I first wrote using OpenGL ES 1.1 in late 2009.
After many updates to the rest of the game, the OpenGL ES 1.1 code still runs fine under iOS 6, but I'm ...
3
votes
3answers
728 views
How to calculate the inverse of a 4*4 opengl transform matrix
I am transforming my camera like any other object. I would like to set the view model matrix to the inverse of this so that I can draw the rest of the objects relative to the camera.
How do i ...
3
votes
4answers
2k views
How to draw only visible models of the game?
Suppose I have an array of models, each having it’s own “position” in the world space (scale*translation matrix). And I have an orthogonal camera. How can I test if model is “visible”, i.e. is in the ...
3
votes
1answer
4k views
3D Ray Casting / Picking
I am not sure if I should post this link, but I feel this falls into game development just as much as it does math. I have a ray cast's far and near values and I am trying to calculate the end point ...
3
votes
3answers
679 views
Textureing subdivided Icosahedron in XNA, seam problem
*Look below for the updated source code*
I have started to to make some different types of objects and create them by code in XNA. Right now I have finished the code for creating a Icosahedron. And ...
3
votes
2answers
949 views
Need Ideas for Game [closed]
I've been through a year of programming and have the tools to create a cool, simple 3d game using Java.
The biggest problem I have is ideas. When you have no idea how programming works, you want to ...
3
votes
2answers
867 views
Representing 3D World Space with 2D Tiles
How can I represent 3D world space with 2D tiles? I do not mean isometric, which is visually represent 3D objects in 2D space.
Let's say there's some height map, and each 2D tile (X, Y) represents a ...
3
votes
3answers
329 views
Seamless transition between planet and space
I have been curious about how this kind of seamless transition from space to planet can be implemented. It would be nice if someone could explain this as I can't really wrap my head around the ...
3
votes
3answers
838 views
Quaternion dfference + time --> angular velocity (gyroscope in physics library)
I am using Bullet Physic library to program some function, where I have difference between orientation from gyroscope given in quaternion and orientation of my object, and time between each frame in ...
3
votes
3answers
317 views
XNA and Matrix.<whatever>
I am not new to XNA 2D programming, but have never done 3D. I am interested in learning, but always get lost once I get to creating a Matrix.
I am sad to say that I don't really get them. Can ...
3
votes
3answers
729 views
What are the usual tools for importing models and animations?
I'm a total noob with regard to game programming (though not a noob to programming) and I'm using pygame + opengl to do some experiments with a little game I've been thinking of.
I've been trying to ...
3
votes
3answers
892 views
Optimizing Bullet and ODE Physics on consoles and mobile phones
I'd like to use either Bullet or ODE on low powered devices (mobile and consoles), but the frame rates are below the acceptable 25-30fps for simulations.
I've found that one articulated body by ...
3
votes
3answers
134 views
Determining a point that reached another point
I have two points, one is moving and one is stationary. I would like to know if the moving point has reached that point or not. I tried to calculate the distance between two vectors and the distance ...