Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Meaning of negative vertex coordinate in Wavefront obj file

I have a Wavefront obj file which seems to be parsed mostly fine but there's one detail I'm unclear on. I have a line like: 'v 0.3062 0.5400 0' Which works fine (Note that the third coordinate is ...
Illian's user avatar
  • 46
0 votes
0 answers
32 views

Texture co-ordinates not being read from .obj file

I have created a obj file using python and included vertices(v), texture coordinates(vt), triangle normals(vn), and triangles(f) in that order. The mesh loads correctly in all the software I have ...
Chris Pitcher's user avatar
-1 votes
1 answer
55 views

OpenGL glDrawElements issues when split into several draw calls

I'm trying to split my buffers into several "ranges"/submeshes, with different materials applied per submesh (my object is an imported .obj file, with a group of faces sharing a material). ...
Andriy Sultanov's user avatar
0 votes
0 answers
74 views

Parse obj file and weld UV Verts

I have some issues with obj files exported from a software. For some reason the uv on export is split into individual faces and I need to weld the faces back together if the verts overlap. As a ...
Victor's user avatar
  • 13
0 votes
1 answer
86 views

How are faces modeled in Wavefront OBJ format?

I'm trying to write a toy OBJ loader. It seems faces can be more than triangles, and I was wondering how could object loaders simplify it in the minimum number of triangles. Although square and ...
er1t's user avatar
  • 73
-2 votes
1 answer
197 views

perform **batch** coverting gltf to textured obj format with texture map

perform batch coverting gltf to textured obj format with texture map. I can use meshlab App to covert gltf to textured obj format with texture map. how to perform batch coverting gltf to textured obj ...
ziwenjie's user avatar
0 votes
0 answers
57 views

Failed to Load and Render wavefront 3D Object with Colors

After extracting data from the Wavefront OBJ (.obj and .mlt files), I divided my object into submeshes based on each material. In the process, I extracted various buffers such as VBO and IBO ... while ...
Blingo Missawi's user avatar
-1 votes
1 answer
72 views

Problem when importing model from object file or drawing model

When I import model from object file and render it, some polygons disappers. Importer code: void load_m(string filename) { string line; char c; int i, j, k; double x, y, z; double ...
Proger's user avatar
  • 1
0 votes
1 answer
184 views

Vertex positions not being imported correctly / drawn correctly in OpenGL [closed]

I was recently trying to import a mesh in my OpenGL application when I ran across a problem. The mesh imports successfully, however when being rendered it appears completely disfigured. It looks to me ...
Archie Mourad's user avatar
0 votes
0 answers
587 views

Get vertex list and face list in maya

I am new to maya scripting. I have a .fbx being loaded and for each shape node I need to convert such shape into a .obj file. Now I've found a way to exctract the vertex coordinates by doing something ...
user8469759's user avatar
  • 2,694
0 votes
0 answers
61 views

Error with passing string using ifstream?

Im trying to use a program in order to load an obj file and display it. When running the program, I am getting the else statement to print, as it cannot open the file, any ideas as to why? Here is the ...
nickn17's user avatar
0 votes
0 answers
85 views

Loading OBJ model data using regexes?

I'm trying to write a class for loading a *.obj model, but I ran into a problem. I'm fetching vertex data and vertex indexes from a *.obj file. For this I use regular expressions. With prefix v: Regex:...
lostsky25's user avatar
0 votes
0 answers
45 views

Errors loading Blender Wavefront Model

Hopefully someone can help me. I am trying to load a model I made in Blender into my JOGL program. I was able to manual models working and set up my window but there is something wrong with parsing ...
Martin Freeman's user avatar
0 votes
1 answer
178 views

Wavefront Alerting when no data sent

I have wavefront alerts set up with the following alert condition: ts(mytimeseries)<20000 Recently the datasource stopped sending data to wavefront but I did not receive an alert. I cannot figure ...
Sarah 's user avatar
  • 37
0 votes
0 answers
343 views

How to Transform Mesh Data From GLTF to OBJ Format

I need to transform the vertex and index data of a mesh from a GLTF file into that of an OBJ file for the purposes of applying V-HACD. I notice they aren't too dissimilar by comparing the mesh data of ...
Heraclitus Devotee's user avatar
0 votes
0 answers
618 views

Mesh rendering issue with BGFX

Dislaimer : this is a learning project, I'm trying to learn both c++ and 3d rendering with opengl :) I've setup a project with BGFX and GLFW, managed to initalize both and render basic shapes to the ...
JulienElM's user avatar
1 vote
1 answer
431 views

How to set group name when exporting pyvista mesh to wavefront obj

I am generating some cylinder meshes from some csv data and adding them to a PyVista plotter, using this I then export them to an '.obj' file using the export_obj method. The problem is I want to ...
White Wizard's user avatar
0 votes
1 answer
241 views

Why doesn't my wavefront obj file parser order vertices properly?

Parsing normals and vertices renders only the front side properly. This is just vertices, code for normals works the same way: for(i = 0; i < vertexsize; i += 3){ verticesind[i] = verticesout[...
RadoslavL's user avatar
0 votes
0 answers
61 views

Why does parsing the model produce a bus error?

I wanted to load custom models in my OpenGL engine, so I created a load function and when I try to parse the result, the program crashes and produces a bus error. I might've made a typo, so I wanted ...
RadoslavL's user avatar
0 votes
1 answer
1k views

combine several .obj files using python

I want to combine several .obj files using python. My data structure takes the following form.. for example here I put 3 values for each, namely, vertices-v, vertex normal-vn and faces-f; File1.obj v -...
Mass17's user avatar
  • 1,605
0 votes
1 answer
94 views

Trying to read the lines starting with "f" (indices) in a Wavefront obj file causes the other output to be broken

When I try to read the other lines in the file, commenting out the lines, that check for the "f" lines, everything works as expected, but as soon as I uncomment them, every single value is ...
RadoslavL's user avatar
1 vote
1 answer
48 views

C file parser is unable to save proper values

I am trying to load an Wavefront .obj file, but when I run my code it just outputs what seems to be random values. Where in my code did I make a mistake? This is the code from obj.h: #include<stdio....
RadoslavL's user avatar
1 vote
0 answers
332 views

Adding multiple textures to 3d model in android app

I have been trying to render 3d models with OpenGL ES 2.0 using this library here. I tried to render this model using it's .obj file and everything seems to work fine without textures and rendered ...
Abu bakar's user avatar
  • 851
0 votes
1 answer
134 views

Problems with obj not moving properly in OpenGl

In this way, outputting one obj file each works well. But if I try to represent these two objs revolving around the center sun at the same time, I get an error. It looks like it's working well at ...
Keastmin's user avatar
0 votes
0 answers
43 views

Error when outputting the earth obj in OpenGl

I want to print out the earth obj, but it keeps printing strangely like a picture. The vertexes are printed in an empty form in the middle. _mesh = new Mesh("obj\\13902_Earth_v1_l3.obj", &...
Keastmin's user avatar
0 votes
1 answer
138 views

Wavefront Alert for AWS RDS Freeable Memory

I have multiple RDS instances that is monitored in Wavefront with AWS RDS integration dashboard. Question: What WQL query should I use to create an Alert that will trigger when the aws.rds....
Abraham Johnson's user avatar
0 votes
1 answer
1k views

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 ....
CptanPanic's user avatar
1 vote
0 answers
392 views

Pass a high amount of textures to shader in OpenGL

I am using OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.5. I load objects from an .obj file with matching textures, 51 textures to be exact. To be able to match various textures to ...
Snakehater's user avatar
0 votes
0 answers
77 views

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 ...
joethemow's user avatar
  • 1,753
0 votes
1 answer
1k views

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 ...
iby.helmy's user avatar
  • 190
0 votes
0 answers
47 views

How do I index positions with different normals [duplicate]

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 ...
Ethan Gamat's user avatar
1 vote
2 answers
2k views

Fast way to format and save a numpy array of x, y, z coordinates to a text file

I need to write a large number of vertices to a text file in a specific format (.obj wavefront). So I was testing out approaches. import numpy as np def write_test(vertices, file_path, overwrite=True)...
Optimus's user avatar
  • 2,766
0 votes
1 answer
56 views

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 ...
Akhilesh Joshi's user avatar
0 votes
0 answers
313 views

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 ...
Zhukov Artem's user avatar
0 votes
1 answer
556 views

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 ...
user avatar
1 vote
1 answer
581 views

How to use pixel shader to render material from a Wavefront Obj file?

Some 3d meshes that get exported to Wavefront.obj format usually come with a .mtl file that has additional data to the texture it uses and its materials, when exported from Blender they always come ...
Rafael Ferreira's user avatar
3 votes
0 answers
673 views

Assimp C++ - Faceted / Distorted artefacts: FBX import / export - far from origin

Assimp version 5.0.1 I've recently started using assimp to import an fbx file, do some modifications to each vertex of the meshes, then export back out to either fbx/obj. I've noticed that after ...
AlmostSober's user avatar
2 votes
1 answer
1k views

Extracting face vertex indices from a Wavefront .obj file

I'm trying to extract faces and then get the respective vertex indices from the .obj file as follows. I can now print the vertex indices separately using the strtok() function, but I can't seem to ...
iwrestledthebeartwice's user avatar
1 vote
0 answers
1k views

I have successfully created obj, mtl and texture image file but not able to generate 3D image using them

I have successfully created .obj, .mtl and .png texture file for 3D face reconstruction using this repository. In this obj file, I have v, vt, and f, and I have successfully plotted the obj file, but ...
Asadullah Naeem's user avatar
0 votes
1 answer
198 views

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 ...
mcgregor94086's user avatar
0 votes
1 answer
166 views

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, ...
mcgregor94086's user avatar
3 votes
1 answer
7k views

How do I draw an OBJ file in OpenGL using tinyobjloader?

I am trying to draw this free airwing model from Starfox 64 in OpenGL. I converted the .fbx file to .obj in Blender and am using tinyobjloader to load it (all requirements for my university subject). ...
Tom's user avatar
  • 386
1 vote
1 answer
958 views

OpenGL is not culling faces properly when drawing OBJ model

I'm trying to render a Teapot model from an OBJ file. I'm using the Fixed Function rendering pipeline, and I cannot change to the Programmable Pipeline. I would like to have some basic lighting and ...
devCorner's user avatar
  • 193
1 vote
1 answer
3k views

Parsing OBJ file having multiple objects

On reading through the OBJ file format, I realized that there are several other attributes like Sub-objects (-o), Groups (-g) etc. I am having trouble understanding how to parse these other parameters ...
VIREN RAMCHANDANI's user avatar
0 votes
1 answer
2k views

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 ...
Robin Alvarenga's user avatar
0 votes
0 answers
236 views

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 ...
Bobnickle_Jr's user avatar
0 votes
0 answers
1k views

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 ...
Concode's user avatar
2 votes
0 answers
547 views

Transparent png (alpha channel) support in obj's mtl file

I am scratching my head about this thing: I have simple model of LEGO tile 2x2 brick in OBJ file format in red color that has applied transparent image of yellow arrow to its top surface. It is ...
qraqatit's user avatar
  • 502
1 vote
1 answer
542 views

Texture mapping on voxel model in Open GL

I'm following a video series about Open GL on YouTube using LWJGL, so far I've managed to render 3d models and texture them properly using the obj format. I want to use voxel-based models for my game ...
Thibault Abry's user avatar
1 vote
1 answer
84 views

OBJ file in surface3d

I have new problem couldnt find any solution in Google ... im using a qml file and it contain a surface3d , when i show it with a obj file that was in qt examples (oilrig) it could show correct ...
H.M's user avatar
  • 459

1
2 3 4 5
7