Questions tagged [3d-meshes]

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.

Filter by
Sorted by
Tagged with
4
votes
2answers
4k 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 ...
4
votes
3answers
1k views

How does 3D mesh morphing work?

In the Sims 4, you can drag to reshape the face and body when you create a sim. You can see a similar system implemented in this Body Visualizer. How can I implement similar geometry morphing in my ...
4
votes
3answers
2k 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. ...
4
votes
4answers
2k 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
1answer
2k 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
263 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
382 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 ...
4
votes
2answers
3k views

How to cut a desired shape out of a mesh?

I want the player to be able to cut a hole through a wall, similar to what's shown in this video I know for the fact that it's really difficult to achieve, so I was wondering how I can cut a shape ...
4
votes
1answer
1k views

Stitching meshes together

I have a voxel engine that generates a mesh per chunk and now I want my meshes to be 1 mesh, but if I create them as a single mesh I kind of lose the benefit of chunking the data in the first place. ...
4
votes
2answers
5k 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 ...
4
votes
2answers
7k views

Handmade Terrain vs. Terrain Engine in Unity?

I'm planning a game right now, to be made in Unity, and I'm trying to decide how I'll approach the basic level construction. Essentially, my game takes place on an island in an infinite ocean, very ...
4
votes
1answer
2k views

Matching collider to character mesh size in different postures

What's the optimal method in Unity to match the size of a Capsule Collider to the actual size of the game object it is part of? To understand what I'm trying to do ...
4
votes
2answers
1k 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
3answers
3k views

What is the issue with my model rendering from .obj files?

Well I can clearly tell that what rendered is close to what I wanted, but there seems to be a few problems. The .obj files contained values like "f", "v", "vt". Image Of Problem: As you can see it ...
4
votes
4answers
15k 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
269 views

Mapping a 3D texture to a standard hollow-hull 3D model

I have 3D models which are typical hollow hulls. If such a model also had a 3D volumetric/voxel texture map then given a point P inside such a model, I'd like to be ...
4
votes
1answer
923 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 ...
4
votes
1answer
570 views

Procedural mesh generation from raytracer

I'm interested in applying the following technique: Define game objects using a object definition DSL similar to what you would use for a raytracer (e.g. POVRay) Use a specialised raytracer to sample ...
4
votes
0answers
172 views

Understanding unknown mesh data structure

I have a large number of old mesh files in a custom, undocumented binary format. I have managed to parse almost everything but am left with one group of structures, described below, that I don't ...
4
votes
1answer
391 views

Procedurally generated paths with intersections

The Problem I've been attempting to create some procedurally generated paths for a while now, but I've reached a problem when it comes to generating the intersections of the paths. The paths are ...
4
votes
0answers
179 views

How do I find the face of an object?

I'm working on a build mode but the thing of it is the player is able to deform meshes. Part of my build system includes having "snap" points thus I need to be able to find the face and recenter the ...
4
votes
0answers
676 views

How to convert an octree to a polygon mesh?

So if I have dynamic voxel terrain data stored in an octree representation what would be the best way to go about converting the octree to a polygon mesh which I can render with OpenGL? A lot of ...
3
votes
2answers
798 views

Angle between two planes

I have two triangles in 3d space which share 1 edge and I would like to determine if the angle between their normal vectors is "uphill" or "downhill". In other words, if you set one flat, would the ...
3
votes
1answer
366 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
1answer
584 views

How to make low poly ground look better

I'm working in Unity and have created some low poly meshes using blender. Currently, the meshes look good, but the ground seems very lacking. I am not sure how to make it feel natural or even look ...
3
votes
2answers
13k views

How to create Half hemisphere 3D model

I already have an hemisphere.obj 3D model. But I'm trying to build a half-hemisphere (quarter sphere) model. How can I do that? What is the easiest way to do that? ...
3
votes
1answer
3k 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
438 views

How do I import real world models into a game engine? [closed]

What are the hardware and software tools required to import physical worlds into a game engine? Can I use a HD camera to do that? What do the popular game engines support?
3
votes
1answer
2k views

How to UV map a procedural cylinder mesh? (Unity)

I have a script that generates a procedural cylinder. Each side is a quad that consists of two triangles. The two triangles share vertexes, so, a side with two triangles is defined by 4 points. The ...
3
votes
1answer
9k views

How to remove a component of an object in a script?

I want to remove a Sphere Mesh Renderer component from a certain gameobject. I want to do this in a script. How do I do it? I do not want to destroy the sphere itself, just the component
3
votes
1answer
872 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 ...
3
votes
1answer
647 views

Create edges in Blender

I've worked with 3DS Max in Uni and am trying to learn Blender. My problem is I know a lot of simple techniques from 3DS max that I'm having trouble translating into Blender. So my question is: ...
3
votes
2answers
2k views

Creating a basic character skeleton from code

I'd like to have a procedural system that uses a string of data to create a 3d creature. The way I've thought to do this is to use the code to generate a simple creature skeleton (I'll get to the skin ...
3
votes
2answers
2k views

algorithm to “explode” mesh

i have a simple triangle mesh which i want to explode. so i am looking for an algorithm that makes every triangle to move outwards from the centerpoint. is there already something premade like this? ...
3
votes
2answers
3k views

3D meshes for WPF (XAML)?

I'm trying to make a WPF-3D game. WPF uses XAML. I'm trying to find free 3D assets from the internet. :-) What format of 3D models I should be looking for, direct XAML or 3D Studio format or what? I ...
3
votes
1answer
3k views

How to make (or where to get) a half-sphere mesh that textures properly?

I'm making a game in Unity that involves lots of spheres. Said spheres will have lighting applied to them, but will also be viewed from only one camera angle. Right now, the full spheres look ...
3
votes
2answers
2k views

Calculate the slope of a 3D triangle?

I have lots of triangles in 3D space. How do I determine the slope/angle of these triangles with respect to a fixed ground plane? I need pseudo code examples at the very least.
3
votes
1answer
2k views

Rendering multiple squares fast?

so I'm doing my first steps with openGL development on android and I'm kinda stuck at some serious performance issues... What I'm trying to do is render a whole grid of single colored squares on to ...
3
votes
1answer
151 views

Procedural mesh comes out black in any shader

I wrote a script that Creates a mesh procedurally ...
3
votes
1answer
48 views

When to use multiple parts for a mesh, and when to build detail in?

I am always running into the decision whether or not to make a mesh one connected mesh or to add small details as just separate parts to the model. Is there a best practices for this? Does it matter ...
3
votes
1answer
512 views

How to calculate where specular highlights converge with an anisotropic shader?

If you look at a rendering with an anisotropic shader applied you will notice that there are special spots on the 3D surface/mesh where the lights seems to converge, a point where a given vector ...
3
votes
1answer
2k views

How can I divide a 3D mesh into small pieces?

I'm considering a manufacturing game. A player should assemble parts of an object in given time. The object will be a 3D mesh model. I want to automatically split the 3D mesh into many small pieces to ...
3
votes
2answers
2k views

Finding holes in mesh

I have a mesh that has holes. I found a paper, An Automatic Hole-Filling Algorithm for Polygon Meshes It details an algorithm that uses a k-d tree for finding holes (from a manifold triangle mesh). ...
3
votes
2answers
2k views

Static Meshes vs 3D models

What is the difference between static meshes and regular 3D models. I am very new to game development, and I am using UDK (Unreal Development Kit).
3
votes
3answers
15k views

In Unity, how do I dynamically manipulate parts of a mesh?

I'm trying to achieve mesh manipulation of any mesh based on user input (mostly sliders). Here's an example of what I want. I am not sure whether to call this "morphing", as I am trying to change one ...
3
votes
1answer
143 views

Armature rest matrix - why does this exist?

I'm not sure I have a clear idea on what purpose the rest matrix/bindpose is supposed to serve in skeleton animation. If it is supposed to transform a bone into the rest pose and the mesh itself is ...
3
votes
2answers
6k views

What's the proper way to set up a texture atlas in Unity 3D?

I am using Unity3d (free) to make a game with user-defined content (i.e., load in a map, it'll build the level for you). Everything is working as expected, except for the rendering. Note the ...
3
votes
1answer
428 views

How to approach skinning a snake made of cubes and is it right method for snake 3d game

I'm making a 3d snake game clone for studies and prettly much got everything to work, I have a 3d ground object surrounded by walls, and a snake head piece (cube). when you start the game 2 additional ...
3
votes
1answer
904 views

Models with more than one mesh in JMonkeyEngine

I’m a new jmonkey engine developer and I’m beginning to import models. I tried to import simple models and no problems appeared, but when I export some obj models having more than one mesh in the ...
3
votes
1answer
2k views

Loading and drawing materials using Lib3ds

Hey all, i'm currently using Lib3ds to load models into my C++/OpenGL project. So far, i've been follow the model loading tutorial found here. The tutorial gives a good example of how to draw the ...

1
2
3 4 5
8