FAQ Database Discussion Community


Direct X 11 Problems

parsing,model,loading,directx-11,.obj
So I am making a game engine in DX11 and this is a strange problem I have been having for a while. http://gfycat.com/MerryLikableGreyhounddog I thought it was the back facing normals but that doesn't make a difference. I tried the culling modes. No luck The thing to look at in...

Trouble loading simple mesh into OpenGL

c++,visual-studio-2010,opengl,blender,.obj
I need to import a 3D object mesh into my OpenGL code on Visual Studio 2010. I'm relateively new to OpenGL so I've been learning from the following tutorial (Number 7): http://www.opengl-tutorial.org/beginners-tutorials/tutorial-7-model-loading/ Now, the tutorial uses a simple code rather than a library to import ".obj" files Those who've used...

Export 3D object including texture to .obj

3d,export,.obj,cinema-4d
Hey I have an object I want to use in my iPhone application. Currently I do that by exporting the 3D object to .obj (Wavefront) format but it does not export the texture. I read I would have to use the "bake texture" function inside Cinema4D (in the object manager)...

My .obj model is white even though I attached an .mtl file to it

three.js,.obj,dds-format
I'm working on three.js and I'm trying to import a .obj file with its corresponding mtl file. The textures the mtl file was referencing were .bmp so I tweaked the mtl file to point to all .dds files and converted all my assests to dds. Problem is that its just...

Blender Exporting OBJ - material is not exported

textures,blender,.obj
I am new to blender so I don't know how it works properly. Here is my story, I worked on a model and added material to it using the cycles render method. Then I exported the project with these settings To confirm that everything is right, I imported this model...

How do I get coordinates from .obj-file in python?

python,matplotlib,blender,.obj
I have this task to convert a 3D-object from a .obj-file (using Blender) into a 2D-picture using matplotlib in python. Converting from 3D to 2D is done using matrices, so thats ok, but I dont know how to get the coordinates from the file. When I print the file's content,...

How can I render .mtl for object on iPhone 5 using ThreeJS?

javascript,ios,three.js,webgl,.obj
I am trying to load .obj files through ThreeJS and have it be cross compatible. I am using the OBJMTLLoader method. The object loads and renders fine for Firefox, Chrome, and IE on Windows; see falloutfan.com/eyebot for reference. On iPhone 5, I am able to see the object, but it...

What could be wrong with my obj-parser?

java,opengl,.obj
Given the following rendered objects (dragon with completely white texture) and stall with a basic texture. What might be the error? Are my indices wrong? Are some vertices or faces wrong? : What could possibly be wrong in my obj-renderer class? I followed a tutorial and unfortunately my model does...