Skip to main content

Questions tagged [obj]

For questions related to processing OBJ mesh file format.

Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

I'm working on an obj parser its mostly complete but ive run into a problem. I can access all the indices that are in the file but i cant figure out how to use all of them. i can use the vertex ...
whateverthisis's user avatar
0 votes
2 answers
121 views

Godot 4.1 Assume we've got a simple, 100x100 cells grid-based generated mesh that will serve as the game's level: This mesh is exported as either .obj or .glb and imported in Godot. The player (...
Noideas's user avatar
  • 19
0 votes
1 answer
74 views

I do have a problem with loading my vertexes. When I debug my code. I find out the vertexes are loaded. But when i use render doc, I found out the vertexes are not loaded. Only the first line of my ...
mueoc mueoc's user avatar
0 votes
1 answer
104 views

I have a cool 3D model I want to use, but for this program I'm working with, I need it in array form, with each point's coordinates and color value. I've already voxelized the model using this tool, ...
Dinuka Herath's user avatar
0 votes
1 answer
421 views

I wrote a simple Wavefront parser in C++ that loads v, vn, vt and ...
Alexey Starinsky's user avatar
0 votes
1 answer
156 views

I have OBJ files that I'm loading into my scene at runtime. They all have positions offset from zero. These positions appear to be inherent to the .obj file as they were set in the 3D modelling ...
A__'s user avatar
  • 163
1 vote
0 answers
54 views

I'm creating my own flight simulator game from scratch, using Swift and Metal, for learning purposes, and I'm wondering how I can move certain parts of my aircraft model. My model is a free OBJ file ...
Tino's user avatar
  • 11
0 votes
1 answer
89 views

i am losing my mind. I am trying to create an obj parser has a way to learn opengl but i have ran into a brick wall. with DMGregory help i got the textures to work i think but know the mesh just looks ...
cuttingboard's user avatar
0 votes
1 answer
339 views

I have modeled two pinball flippers in Houdini. I exported them as OBJ files and imported them into Unity 2021.3. They look correct in the asset view: They also look correct when I open them with the ...
Matt's user avatar
  • 405
0 votes
0 answers
284 views

I am writing a small "game" in vulkan, in which a car can move in an environment that is not flat, like a desert with valleys. I am able to translate my car and follow it with the camera on ...
Luca Venturini's user avatar
0 votes
1 answer
188 views

My goal is to figure out if a point exists within a 3D polygon. To do this here is what I am doing: Load obj mesh ...
joethemow's user avatar
  • 101
0 votes
1 answer
126 views

I have written an obj parsing function and the result of his parsing can be drawn correctly. But if the uv is not generated by default by the modelling software, he will have problems with the uv. I ...
BoomBac's user avatar
1 vote
1 answer
499 views

I've been trying to find the right workflow to solve my problem for over a month now. Any tip/insight would be greatly appreciated. Scenario: I create a voxel mesh in MagicaVoxel and then, instead of ...
Justin's user avatar
  • 11
0 votes
0 answers
308 views

I am trying to convert the vertex positions in my obj file to a new coordinate system. I understand I need to multiply each vertex with the transformation matrix, however I am trying to figure out the ...
joethemow's user avatar
  • 101
0 votes
0 answers
145 views

Edit I've rewritten the loader to duplicate data if only one element (v, vt, vn) is different. I get a much better result, but it is still incorrect. The seams on the mesh match what they should look ...
TheIceCubeDude's user avatar
0 votes
2 answers
1k views

Here is a Pastebin of my OBJ file created using Solidworks 3D https://pastebin.com/6MgQBF8J I don't understand how the number of vertices (645) can be larger than the number of normals (306) I ...
Mich's user avatar
  • 131
0 votes
1 answer
1k views

I've been trying to import my full-color obj files to unity for a while now, but I can't get them to be in color. All of the colors show up in Meshlab, but not in Unity. All of the youtube videos I ...
Logan S. Colon's user avatar
1 vote
0 answers
138 views

I'm working on writing my own parser/renderer for the obj file type, and right now I have it working so that I can draw the model correctly and use the ...
Calvin Godfrey's user avatar
0 votes
1 answer
191 views

I'm just loading a simple textured cube but it always has missing bits or warped textures. This is for directx 11 rendering by the way. Updated with more information. I think my problem is with ...
Hayden Morris's user avatar
0 votes
0 answers
96 views

I made my own obj loader,i tried other's obj loader,but nothing works. Here's my obj loader: ...
ombra osura's user avatar
0 votes
2 answers
325 views

I'm trying to load a 3D model in OpenGL ES, and I managed to find a project on "sourceForge" that can do this job. When I downloaded it and played the app, it took 50 second to load a small object (...
Osama's user avatar
  • 11
2 votes
2 answers
4k views

So I'm currently working in MagicaVoxel and I have 2 objects in my world. When I export it as .obj it exports as seperate 2 obj models with 2 seperate textures and materials. Is there any way that I ...
Joey's user avatar
  • 33
0 votes
1 answer
276 views

I'm currently trying to export some 3D data and load it into Blender, but I've encountered some problems at the time of processing the meshes. They all have keyframes (nothing too complex, just ...
Ricardo's user avatar
  • 153
1 vote
1 answer
81 views

I'm writing a class that reads an obj file, indexes each mesh and creates a VAO and GameObject of the appropriate type. I've stumbled on a design issue. Objects of the same name (Tree_A001, Tree_A002) ...
Figwig's user avatar
  • 196
1 vote
1 answer
1k views

Blender saves the files with the structure of All the vertices All the normals All the UV The game to which I want to import the model, only accepts the following order in structure 1 vertex 1 normal ...
Evil prohack3.0's user avatar
0 votes
2 answers
1k views

I have a simple sphere exported from 3DS Max in .obj format. I noticed that I have more UVs than vertices. I parsed the file with a simple program I wrote and then I put the various vertices and UVs ...
Paul's user avatar
  • 165
0 votes
3 answers
1k views

I am trying to create an AABB but I need to know how to store min/max from a mesh. Here is my code(I got it from thin matrix) : ...
Macky ben Jonah's user avatar
0 votes
1 answer
1k views

I'm currently trying to implement my own OBJ Loader for use with FreeGLUT with C++. This is my current OBJ Loader: #include "OBJLoader.h" #include #include #include #include ...
codelyoko373's user avatar
4 votes
1 answer
4k views

I have a simple scenario. I have a simple scene, and in it I'm drawing a grid and a model, with some axis for orientation. I noticed when I rotate the model about it's local Y axis, if I rotate the ...
Short's user avatar
  • 141
2 votes
2 answers
3k views

I am working on a game that requires meshes that only have edges and vertices but no faces. In blender, you can make a mesh with only edges and vertices, but if you export it to FBX or OBJ, once it is ...
Croolsby's user avatar
  • 231
0 votes
0 answers
202 views

I am making a 3D game in OpenGL from scratch. In this game I have a ship with stuff inside it. How can I attach the stuff to the ship in the CAD program and maintain that hierarchy in my own game? ...
Alex's user avatar
  • 155
-2 votes
2 answers
4k views

If I have the obj file like below, what would be my indices. How do I find the indices? What would be the order of the indices also.(the triangles) ...
Terry's user avatar
  • 21
1 vote
1 answer
1k views

I want to import .obj file from a server on run time in unity3D, read lot of questions/answers but not able to find a suitable solution. Using WWW in unity I am able to get .png file and store it in ...
m_kiani's user avatar
  • 11
0 votes
1 answer
55 views

I have two separate objects in a Blender file (say a cube and a sphere). Unity import this file (OBJ type) as a single gameObject which is not want I want. I want cube and sphere to be two separate ...
Kamran Bigdely's user avatar
0 votes
1 answer
2k views

I'm looking for a faster solution that will allow me to load objects faster with OpenGL and currently when trying to load, parse and pass the data on my main thread it takes a while... Would multi-...
0xen's user avatar
  • 463
1 vote
1 answer
2k views

I am working on a small game engine and having some troubles when figuring out how to properly map more complex textures to their meshes. I am loading models using the .OBJ format and as far as I can ...
Rilgon's user avatar
  • 43
1 vote
0 answers
82 views

I am having a Three OBJ file , Cone , Sphere and Cube. How can i find the dimension of these objects , so that i can use it in ...
scsdcds's user avatar
  • 11
0 votes
1 answer
713 views

I am trying to draw a 3D model from an .obj file, and have met big trouble. I think my model draws with wrong faces, but I can't understand why. Original model: This is my code for reading the model: ...
Aleh Lipka's user avatar
-1 votes
1 answer
662 views

Specifically, I have a faces specified 'f v1/vt1 ... etc '. I understand that there are 3 vertices specified with respective texture coordinates, but how do those 3 textures end up being rendered onto ...
chris's user avatar
  • 101
0 votes
1 answer
160 views

I'm currently trying to import objects to my game. My problem is that I'm able to load objects from online-sites but it doesn't work for my own objects. It gives me an error: Debug assertion failes. ...
kessler bebe's user avatar
1 vote
1 answer
2k views

So i made a obj loader in c++.I used blender to export my files. I tried to draw 2 squares(one perpendicular to the other) and when im looking at them from above some weird black triangles apear, ...
Robert Puscasu's user avatar
1 vote
1 answer
561 views

I'm having trouble getting the texture coordinates of the cmo to match how the mesh was unwrapped in blender. I am using the directxmesh to convert the obj to a cmo and the directxtk to load the cmo. ...
r m's user avatar
  • 11
3 votes
3 answers
17k views

I was using IBOs to render meshes (for example a cube) from wave-front files (.obj), without texture coordinates or normals, in OpenGL. Following this, I attempted to implemented texturing. The mesh ...
pm79080's user avatar
  • 33
3 votes
1 answer
2k views

I attempting to texture 3D models (a cube for example) using ibo’s, with OpenGL in Java. Currently, my textures are distorted. I believe this is because only a single texture coordinate is being ...
Jack's user avatar
  • 33
0 votes
0 answers
254 views

I've got a program that prints OBJ files in the format ...
stranger's user avatar
  • 101
2 votes
1 answer
2k views

I'm implementing a model class which loads OBJ and MTL files, and ran into an issue or question with face materials. Consider the following example: It's a cube with 5 sides Gray and 1 side Green. <...
Ray's user avatar
  • 633
0 votes
1 answer
218 views

Hi all! I have a one problem. I trying to create 2D cave generation system in C# with XNA game studio, but then I running program I getting "System.StackOverflowException". As you can see in this ...
Alex's user avatar
  • 3
1 vote
1 answer
920 views

I am experiencing some oddities when loading meshes in Assimp. Some models render perfectly, while others are complete jumbles of triangles. Some Example Images: Teapot Correct - Teapot Actual ...
Sparky's user avatar
  • 90
1 vote
1 answer
3k views

I'm trying to load .obj files in my little game. I decided to use assimp as tool to import those models. But it seems that assimp does not import them correctly. I looked for a simple cube mesh ...
Rene Lass's user avatar
0 votes
1 answer
263 views

I'm wirting my first OpenGL Application for Android at the moment and now I get stuck on the ObjectLoader for obj files. I have some qestions to this file format and I can't an answer on the internet ...
Cilenco's user avatar
  • 113