The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
123 views

Efficient way of loading wavefront models in openGL game

In my game, a RTS game, the units are all wavefront obj. all their animation frames are each seperate wavefront obj file. ie. without any skeletal animation; fully rigid models. So when many units are ...
0
votes
0answers
50 views

LWJGL Importing .obj faces properly

I've created a simple OBJ reader. I am able to draw and render the object I created without using the texture or normal coordinates just fine. However, I'm trying to use all of the face portion in ...
1
vote
0answers
92 views

Using obj file in an XNA game [closed]

Sorry if this is a bit novice but I am far more into engineering than game development but I just want to make a small 3D game for fun with XNA (well actually MonoGame). The thing is that I don't have ...
7
votes
2answers
643 views

How does Unity3D lower an imported .obj vertex count?

I have a question regarding how Unity3D handles importing of .obj files. I'm importing this teapot: http://groups.csail.mit.edu/graphics/classes/6.837/F03/models/teapot.obj The number of vertices ...
0
votes
2answers
214 views

How to detect collision between a camera and a mesh?

I am wondering how you would be able to extract mesh properties (i.e. faces, vertices, and vertex normals) and use them to create a collidable object, one that a camera can't go through ? I am using ...
0
votes
0answers
66 views

Where can I find free simple 3D models? [duplicate]

I'm learning OpenGL. Unfortunately can't create 3D models, but I would like to write some really simple games, to improve my programming skills. I need some really basic .obj file, which has one bmp, ...
1
vote
0answers
69 views

Directx Texturing problem [closed]

I've recently started exploring Directx 11. I'm almost done the introduction so I started making my own *.obj parser and it works beautifully. I accounted for the right-hand coordinate system of 3ds ...
3
votes
1answer
165 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
votes
2answers
593 views

Need help drawing obj file! [closed]

I'm using GLFW and I want to draw a obj file. How are they drawn? I know how to draw 3D in OpenGL but when I open the obj file I see "v"s, "vn"s, "f"s, "vt"s, what are these? I don't know how to read ...
0
votes
2answers
761 views

Texture mapping issue in my Wavefront *.obj parser

I wrote a simple *.obj parser reading read vertices, texcoords and normals. But when I draw a model the texture isn't mapped correctly. I have already tried uv.y = 1.0f - uv.y to get inverted Y axis ...
2
votes
2answers
319 views

Raytracer texture mapping (to triangle mesh) leaving artifacts

So I am trying to get OBJ loading working in my raytracer. Loading OBJs works fine, but I am having some trouble with getting the texture mapping working. Here is an image of my result. It is ...
0
votes
1answer
202 views

Why is my obj file imported into pyglet showing a blank screen?

I am trying to figure out how to import .obj files generated using Blender into my Pyglet game. There is an importer object, example code, and an example .obj/.mtl file within Pyglet's contrib ...
2
votes
2answers
1k views

OBJ model loaded in LWJGL has a black area with no texture

I have a problem with loading an .obj file in LWJGL and its textures. The object is a tree(it's a paid model from TurboSquid, so I can't post it here,but here's the link if you want to see how it ...
0
votes
2answers
304 views

Wavefront mesh: determine which face a point belongs to?

I have a 3D mesh Wavefront .obj file. Is there any algorithm that takes an arbitrary point coordinates as input and determines which face of the mesh that point belongs to ?? The mesh is rendered on ...
1
vote
0answers
45 views

How i can sign and/or group a specific set of vertices in a 3D file container like OBJ ? - in Blender

I would like to export a 3D model with each part having a name or a label if you will. For example i would like to export a model of an human body and name each part in specifics vertex groups like: ...
0
votes
1answer
143 views

loading a sequence of obj in java

I have 90 obj for an animation and currently using LWJGL. How would I be able to load them in sequence for 3000 seconds (a frame every 33 milliseconds)?
0
votes
1answer
443 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 ...
-1
votes
1answer
333 views

std::vector::size with glDrawElements crashes?

( win32 / OpenGL 3.3 / GLSL 330 ) I decided after a long time of trying to do a graphical user interface using just opengl graphics to go back to a gui toolkit and so in the process have had to port ...
0
votes
2answers
289 views

How to get this wavefront .obj data onto the frustum?

I've finally figured out how to get the data from a .obj file and store the vertex positions x,y,z into a structure called Points with members x y z which are of type float. I want to know how to get ...
7
votes
3answers
6k views

How can I include vertex color information in .OBJ files?

The .obj files I export are missing data for vertex colors. Is there a way to include color information in the .obj file? If not, what are the alternatives?
1
vote
1answer
1k views

3DS Max 2012 OBJ file import missing polygons

I started learning OpenGL. I got to a point I want to import some "real" objects. After "Googling" I decided I will go with OBJ file for start, since it is simple to understand, and there are plenty ...
6
votes
1answer
7k views

Blender - exporting .obj with texture coords

I'm writing a game which uses obj files. I created an object in blender and I applied texture without UV coordinates and my question is: how to export this object to obj file, but with texture ...
1
vote
1answer
955 views

How to include fur in the exported obj file in Maya?

In Maya I use fur to create plants. In my game I want to render these plants with cel shading. I use Wavefront .obj as a file format in my game for the models, but it doesn't seem to include the fur. ...
0
votes
1answer
1k views

Understanding .obj file

I downloaded a 3d model of a car. By judging by the skins and images available model treats wheels and car body as separate nodes. I want to access its child nodes (wheels) to specify animation. But ...