OBJ (or .OBJ) is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package.
Questions tagged [wavefront]
334 questions
0
votes
1 answer
Save large size arrays to file on android
I am creating android application with 3D OpenGL ES view which will consist from 3D models imported from wavefront obj files.
A typical Wavefront obj file will contain only triangulated objects and it might look like:
v 1.00000 1.00000 0
v 1.00000…

Taks
- 2,033
- 4
- 18
- 23
0
votes
1 answer
Exporting OBJ file from Blender, why are normals for each face vertex the same?
For example I created a sphere in blender, and exported the obj file. I was noticing some issues in my shader, because all the vertex normals for a face are the same. And can see it directly in the .obj file itself, such as portion below, see that…

CptanPanic
- 828
- 2
- 10
- 19
0
votes
0 answers
How to standardize scale for meshes
I am comparing 3 different obj files and all 3 have different ranges of vertices. How can I standardize them to all fit on the same coordinate system? For example, a unit in +x direction is +1 for some obj but +0.1 for other obj. Would this be…

joethemow
- 1,641
- 4
- 24
- 39
0
votes
1 answer
How to map metallic texture in .mtl file?
I have a model I must keep in .obj format. It is accompanied by 5 texture maps (Diffuse, Emissive, Normal, occlusion, and metal).
I want to reference these textures in the .mtl file but can't seem to find the syntax for that. As of right now, all I…

iby.helmy
- 190
- 8
0
votes
0 answers
How do I index positions with different normals
I can't seem to have a grasp on OpenGL VAOs and VBOs.
I am coding an OBJ Loader from scratch (BTW I am using LWJGL) and I can't seem to get the order of normals correctly. When I look at the OBJ File I notice that there are positions with different…
0
votes
1 answer
Cut-out effect using Image Mask not working for me
I'm not able to resolve this issue in multiple plant models I got from Turbosquid.
Specifically, the Petals of the flowers like the one pictured here. Petals appear as rectangles (as per original Geometry) even with Transparency set to a masking…

Akhilesh Joshi
- 13
- 3
0
votes
0 answers
How I make obj parser to parse for every vertex point a normal to that vertex?
I have a problem with my parser. I want to make it so that it can parse only one normal per one vertex. But I am struggling to do so because there are different variations of the .obj files.
For example, if I parse cube.obj, it has only 6 normals…

Zhukov Artem
- 331
- 1
- 2
- 12
0
votes
1 answer
I want to know how to set normals with OBJ loader
Comment part of the presentation code ///// It is an internal code, but I do not know how to set the normal. I created an .obj loader with reference to the reference site, but the lighting is strange as shown in the reference image. What is the…

samidare_chan
- 15
- 5
0
votes
1 answer
Autodesk Forge Reality Capture generated OBJ to 3D Web Viewer simple example sought
Include details about your goal
I am using Forge Reality Capture which returns me a URL to a zip file containing the OBJ of my model, and its auxiliary files.
I want to provide my users with an extremely simple viewer on a webpage that renders the…

mcgregor94086
- 1,467
- 3
- 11
- 22
0
votes
1 answer
How can I pass a URL of an OBJ file to G.Viewer using GET string syntax?
The problem
I have some OBJ and STL 3D model files accessible on the web. My problem is making the files easy for my users to view online. I have tried to copy some pages that have such a web-viewer, but they ask the users to draw and drop local…

mcgregor94086
- 1,467
- 3
- 11
- 22
0
votes
1 answer
PyOpenGL - How load obj file that has color defined in the mtl file
I have two files, drone2.obj and drone2.mtl. I believe the .mtl file uses RGB color codes for the color instead of using .jpg/.png textures. Here's what drone2.obj looks like when I load it with 3D Builder and PyOpenGL:
I've read several tutorials(…

Robin Alvarenga
- 321
- 2
- 14
0
votes
0 answers
Java OpenGL / LWJGL Voxel Textures
I'm working on a 3D rendering project following a YouTube tutorial series. I've gotten as far as rendering 3D textured models using OBJ file format.
3D render with model provided by the tutorial:
The issue is that when I make my own voxel-based…

Bobnickle_Jr
- 1
- 1
0
votes
0 answers
OBJ Wavefront file: issues due to face vertex order
I am facing some strange problem with a simple obj-file I created. The obj-file contains 8 vertices which represent the corners of a cuboid-like shape. For each of the vertices I calculate a vertex normal (which I need for rendering). The object…

Concode
- 1
- 2
0
votes
1 answer
Rendering Wavefront OBJ and associated material MTL using OpenGL
I have these files: sample.obj, sample.mtl and a folder sample containing image jpg. Can somebody give me an example code of opengl texture mapping using above input.

Conmadoi
- 19
- 1
- 2
0
votes
1 answer
How add wavefront file(.obj) to surface3d qml?
I wanna add a obj file(wavefront format) as a point(by a position) in surface3d in qml
but i dont know how i do it!
i found some solutions but they have some problems, for example i just want use qml , but they use c++ and QCustomItem .
i tried to…

H.M
- 425
- 2
- 16