0
votes
1answer
96 views

Looking for a full featured C/C++ UV Mesh Unwrapper [closed]

My first question! Is there an open source C++/C piece of code easy to integrate to solve the UV Unwrapping of arbitrary meshes out there ? I would like to use it to build a light mapper or similar ...
0
votes
0answers
94 views

OpenGL Drawing textured model (OBJ) black texture

I'm using OpenGL, Glew, GLFW and Glut to create a simple game. I've been following some tutorials and I have now a good model importer with textures (from ogldev.atspace.co.uk) but I'm having an ...
0
votes
1answer
316 views

Problems with 3D Array for Voxel Data

I'm trying to implement a voxel engine in C++ using OpenGL, and I've been working on the rendering of the world. In order to render, I have a 3D array of uint16's that hold that id of the block at the ...
1
vote
1answer
243 views

How to generate texture coordinates for a rectangle?

I've got a function which generates geometry data for a rectangle. So far I've got the vertex, indices and the normals nailed, but I have no idea how to generate the texture coordinates - so far I've ...
3
votes
1answer
182 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 ...
1
vote
0answers
81 views

3D Model Loading in DirectX 11 [duplicate]

At the moment I am trying to implement fbx model loading in my DirectX 11 code. This is old code I had create for use with DirectX 9 and I'm simply trying to bring it back up to date. Since I first ...
1
vote
2answers
169 views

Finding Surface of Inner Volume mesh

I am working on the generation of Hexahedral mesh generation using octree based discretization. I have a volume mesh (Hexahedral), using isomorphism I need to project the outermost surface vertices of ...
2
votes
1answer
351 views

Perlin Noise for game terrain; math error (unexpected breaks in terrain (3D grid))

So, I'm learning how to generate terrain using Perlin Noise, and I came across this code: http://stackoverflow.com/questions/4753055/perlin-noise-generation-for-terrain/4753123#4753123 PerlinNoise.h ...
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
3answers
1k views

DirectX 9 - model rendering from .obj files issues

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: ...
4
votes
1answer
896 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: ...
0
votes
1answer
470 views

Problem rendering a Wavefront mesh, nothing displays(VBO)

I'm having a problem with displaying my wavefront obj file using VBO's My fps counter slows down like there is something being drawn but I cannot see anything. Is it a problem with my loader? Or maybe ...
4
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) ...
3
votes
1answer
247 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 ...
1
vote
1answer
128 views

Can i tell if a Vertex Tree is a solid shape?

if a Vertex looks like this: struct vertex { vec3 point; vertex [] connected; }; Can I tell if this makes a solid shape with no holes? (e.g a sphere or a cube, NOT a sphere with a side ...
0
votes
2answers
2k views

C++ SDL, Opengl 3D Game

I have been learning C++ for long time (but only learning game development for eight days) and I have made a simple game using 2D textures. I was thinking of starting on 3D game development. I wanted ...
2
votes
1answer
543 views

Does md2 support skeletal meshes?

I'm creating an FPS game. I'm writing my own game engine. So far all the backend stuff is going great. I'd like to support md2 as the native file format for 3D Objects, but I also want to use skeletal ...
2
votes
2answers
2k views

How would I use GLM for Bullet Physics?

Right now im working on my c++ game, and im having alot of trouble using GLM and Bullet Physics to create my world correctly. The main problem is that when i export my physics with Blenderv2.57, and ...
1
vote
1answer
892 views

Data Organization in Custom 3D Mesh File Format

After careful consideration to use middleware, I have decided on creating my own 3d file format format to export meshes from 3D authoring application (Softimage) into my game. I will need to export ...