Geometric representations of objects in 3 dimensions. 3D-meshes are made up of a collection of triangles or other polygons, forming volumes and surfaces. They are commonly used for visual representations on computer screens.

learn more… | top users | synonyms

18
votes
7answers
11k views

Algorithm for creating spheres?

Does anyone have an algorithm for creating a sphere proceduraly with la amount of latitude lines, lo amount of longitude lines, and a radius of r? I need it to work with Unity, so the vertex positions ...
17
votes
1answer
833 views

Algorithm to simplify building/structural meshes

I am looking for an algorithm to simplify the meshes of buildings or similar structures. EDIT: I had made a comment that Hoppe's algorithm tends to make meshes more and more spherical with ...
13
votes
4answers
3k views

What happened to COLLADA?

A few years back it was looking like COLLADA was going to be quite a big thing, maybe at last a fairly standardized format for getting 3D assets from a DCC package into the tools pipeline of a game. ...
13
votes
4answers
10k views

How to load 3D models into Java?

Using LWJGL what is the easiest way to load a 3D model to be drawn on screen? I know LWJGL doesn't have built in loading support so I am looking for a small library that would help to load ...
12
votes
3answers
725 views

What caused “falling out of the world” and what fixed it?

A lot of early 3D games had the problem where you'd be trundling merrily along and suddenly everything was black, with an island of what looked like the hollow facade shell of the scene you'd been ...
12
votes
1answer
4k views

Procedural Mesh: UV mapping

I made a procedural mesh and now I want to apply a texture to it. The problem is, I cannot get it to stick the way I want it to. The idea is to have the texture painted only once over the whole ...
11
votes
3answers
4k views

Optimizing a mesh for voxel cube landscapes

Playing around with creating minecraftish/lego world landscapes in Unity 3D (procedurally generated voxel landscapes with cubes), I'm finding that the meshes created for these landscapes take up a LOT ...
10
votes
2answers
812 views

Do any 3d engines natively import Google Sketchup models

Google Sketchup is about the only 3d cad program I can use, because I suck. Do any 3d engines natively import Sketchup models? Are there any major caveats when doing so?
8
votes
1answer
188 views

How to dynamically animate a part of a 3d model towards something

I'm curious about how this sort of animation is typically done code-wise. A few examples: A character picks something up - only hand is animated towards the target ...
7
votes
3answers
401 views

Why doesn't light continuous on my model?

I created a basic textured cube model with Blender to practice modeling, and then I imported it into Unity. After I put up some lighting it looks pretty ugly. The light is not continuous on a row of ...
7
votes
2answers
2k views

How does an AAA graphical workflow look like?

So this is how I understand it: An artist models the thing in Zbrush or Mudbox. It now has 10+ million polygon. He exports it in Zbrush as a normal map + low poly model. (this works?) The model now ...
7
votes
2answers
2k views

Voxel Face Crawling (Mesh simplification, possibly using greedy)

Edit: This is just for my own learning experience, it is NOT for performance reasons that I ask this question. This is in regards to a Minecraft-like terrain engine. I store blocks in chunks ...
7
votes
1answer
298 views

Path Finding for an Arena based map in 3D using NavMesh

I have a 3D arena map (consider a small island surrounded by water on all sides) for a multiplayer Tank fight game. The moveable areas are marked using a Navigation Mesh made by the Arena designer. ...
6
votes
3answers
2k views

Modelling photo-realistic grass in realtime

I see a number of tutorials on how to create good looking grasses when creating 3D renders but can't think how to model it for realtime/use in a game's scenery. Sure simple models with alpha cutouts ...
6
votes
2answers
1k views

How to export 3D models that consist of several parts (eg. turret on a tank)?

What are the standard alternatives for the mechanics of attaching turrets and such to 3D models for use in-game? I don't mean the logic, but rather the graphics aspects. My naive approach is to ...
6
votes
1answer
513 views

How to create art assets for a 3d avatar editor

I am currently prototyping an idea for an iPhone game. I'd like to create an avatar editor inside the game so that the player can create a 3d avatar face and modify certain features (using slider ...
6
votes
1answer
2k views

Animating a 3D model with XNA

How do I animate a biped model from 3ds max using XNA framework or not necessarily the biped model, it could be any 3D model but how can I code the animation?
5
votes
1answer
11k views

How to merge two objects in Blender

What I've Done I created a Cube object with Subdivision Surface modifier in order to model a spehere. I created a cuboid object looking like a angled, longish baton. What I Want to Do I want to ...
5
votes
1answer
597 views

How can I render an .stl file in XNA or Monogame?

How should I go about rendering a .stl file as a 3d model in XNA? The .stl file contains a bunch of triangles that add up to a solid mesh. I have already figured out how to read the contained data. ...
5
votes
4answers
404 views

Where can I find free or buy “next-gen” 3D Assets? [closed]

Usually I buy 3D Assets from sites like turbosquid.com or similar. My problem is that I have lately implemented glow, normal maps, specular (and specular power) maps and reflection maps and I can't ...
5
votes
5answers
412 views

Identifying mesh format from initial bytes

I have a file containing mesh data whose blocks seem to start with DWORDS like: 0x1 0x1 0x3100026f 0x1 0x30000112 or 0x1 0x1 0x310007b2 0x1 0x30000112 or 0x10000006 0x3 0x310001f6 0x310001f6 ...
5
votes
3answers
339 views

Drawing the same mesh or drawing the same material?

I was wondering. Suppose I have a 1000 grass meshes. They all have the same material, but I create them separately, because they look slightly different, because they have different heights. Does my ...
5
votes
2answers
239 views

Road network geometry in Unity: one big mesh or a bunch of smaller meshes?

I'm in the beginning stages of building a road system in Unity. It'll be your basic SimCity style road construction, with building and destroying roads done on the fly at runtime. When doing thing, ...
5
votes
3answers
1k views

Where should I go looking for low-polygon 3D assets? [closed]

The biggest problem for me as a game programmer (who isn't also an artist) is getting good quality 3D models. I have checked out some of the 3D model market places like The 3D Studio and Top 3D Models ...
5
votes
1answer
2k views

Finding if a point is inside of a mesh (Point-in-polyhedron)

How can I find if a point (Vector3) is inside of a mesh? Would this work for both concave and convex objects? I read somewhere that if you raycast in both directions of every axis (X, -X, Y, -Y, Z, ...
5
votes
1answer
454 views

Why are my animated objects (from Blender) always playing at the global origin in Unity?

I created and animated a sledgehammer in Blender 2.67b using an armature. The sledgehammer has one animation (created using the Action Editor) called "Idle". I parented the imported sledgehammer to an ...
5
votes
1answer
920 views

3DS Max equivalent to vertex weight painting

I'm working in 3ds max on models for an Iphone game project and finding that using the Physique modifier is to general for rigging. When working with so few vertices I want to be able to directly tell ...
5
votes
3answers
1k views

UDK or Unity Dynamic Runtime Mesh Boolean subtraction (or alternative) [closed]

I'm new to 3D game dev and was wondering if anyone could help me out. I'm planning to use UDK and would like to have deformable items in the world. So a projectile strikes a target, and a dent or ...
5
votes
1answer
185 views

What is a simple deformer in which vertices deform linearly with control points?

In my project I want to deform a complex mesh, using a simpler 'proxy' mesh. In effect, each vertex of the proxy/collision mesh will be a control point/bone, which should deform the vertices of the ...
5
votes
4answers
3k views

C/C++ code to generate texture coordinates for a curved surface

I have a triangular mesh of a surface curved in two directions, e.g. a sphere. It is therefore not possible to roll this surface flat (essentially specifying a mapping to U,V texture coordinates) ...
4
votes
1answer
739 views

Quads Vs Triangles

I'm curious to know which is better for games? Quads or Triangles? Wouldn't quads be better for rendering performances and smoothing out tessellation?
4
votes
4answers
1k views

Custom mesh format - yea or nay?

In the process of writing my game prototype, I have found the OBJ format to be insufficient for my needs - it does not support any sort of animation, it doesn't support triangle strips (I'm targeting ...
4
votes
2answers
602 views

Building triangle adjacency data

Given a list of triangle indices, how exactly does one go about converting that to a list of indices with adjacency for a geometry shader? Note that we're strictly talking about indices here - ...
4
votes
1answer
376 views

Are models on 3D warehouse free of copyright? [closed]

Are models on sketchup's 3D warehouse free to use for personal or commercial work? I haven't been able to find copyright information on the site.
4
votes
1answer
210 views

What uses are there for multiple UV maps on a model?

I'm trying to think of some reasons why there might be more than one UV map on a mesh. Usually I just unwrap the model, and the same UV map works for both the diffuse color texture, the bump map ...
4
votes
1answer
3k views

How can I see the height of an object within Blender?

I'm fairly new to Blender. I know there is the "Transform" section in the Object menu of the Properties tab, which contains Location/Rotation/Scale of a selected object. What I'd like to know is if ...
4
votes
1answer
931 views

Strange mesh import problem with Assimp and OpenGL

Using the assimp library for importing 3D data into an OpenGL application. I get some strange problems regarding indexing of the vertices: If I use the following code for importing vertex indices: ...
4
votes
2answers
190 views

How can I find the “end” vertices on an open-ended mesh?

I was looking at a video of a system that extrudes meshes along a curve, connecting them end to end but adjusting the vertices for a smooth connection. It does this with a mesh that as far as I know ...
4
votes
4answers
9k views

Move the location of the XYZ pivot point on a mesh in UDK

When working with any mesh, you get an XYZ point somewhere on it. If you just want to move the mesh in any direction, it doesn't matter where this point is located. However, I want to rotate a door. ...
4
votes
1answer
435 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
294 views

Game Asset Size Over Time

The size (in bytes) of games have been growing over time. There are probably many factors contributing to this: trailer/cut scene videos being bundled with the game, more and higher-quality audio, ...
3
votes
3answers
1k 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
1answer
258 views

Are there established conventions for naming “directions” (width,height) in 3D?

I want to create a 3D game world where the players can modify the environment. I would like to bring it to the point where a power-user could even create "game objects" inside the application using ...
3
votes
2answers
1k views

Creating a custom binary format for 3D meshes

I've seen people saying it's better and faster to use a custom binary format for your 3D models, based on your needs, instead of using exchange formats. But, I'd like to know how to create a basic ...
3
votes
1answer
2k views

how large should a map be in blender

I'm learning blender and am wondering what size(blender units) I should be making my characters and maps. should i consider 1 blender unit as 1 inch, foot, meter or does it not not matter?
3
votes
1answer
192 views

Why do some .obj files have no newlines?

I'm working on a game engine and just started with mesh loading. I started with the format .obj. I ran into this problem: The guide I'm following gave me a couple of .obj files to try and they all ...
3
votes
2answers
1k views

Displaying (3D) objects' name above them

The Elder Scrolls: Morrowind has a rather interesting way to display each focused objects' name. It's all a bit fuzzy in my memory right now, but the most important part I remember perfectly: the ...
3
votes
2answers
4k views

Where to attach global scripts in Unity?

As far as Iknow in Unity, every script must be attached to an object. But what is the case with global scripts? For example in a tetris-like game to which object should I attach the element spawner ...
3
votes
2answers
526 views

What is a decent polygon count for minimal spherical objects?

I am creating a model pack for a game and I am having a hard time deciding how many sides I should start with for the low poly props made from cylinders and spheres. Take an apple for example. I want ...
3
votes
1answer
250 views

Should I use different object types for different kind of 3D meshes?

well... I'm building the animation system of my game engine (the skeletal and skinned animation stuff), and I came to a point where I added so much functionality in the frame and node structures ...