Questions tagged [wavefront]

OBJ (or .OBJ) is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package.

334 questions
2
votes
1 answer

Rendering a mesh in OpenGL as a series of subgroups?

I'm completing a wavefront object parser and I want to use it to construct generic mesh objects. My engine uses OpenGL 4 and shaders to draw everything in my engine. My question is about how to ensure best rendering efficiency for rendering a…
fishfood
  • 4,092
  • 4
  • 28
  • 35
1
vote
1 answer

PyOpengl and PyQt performance

I write an Wavefront OBJ loader and it works, but FPS drop to ~3 after 500 polygons, 1000 polygons equal to ~10sec delay, and 2000+ polygons equal to freeze and crash. my C++/Qt application load 1 Million polygons around ~15-20 FPS, I'm suspicious…
sysop
  • 800
  • 2
  • 9
  • 18
1
vote
1 answer

Cinema 4D .obj files do not import correctly

I have a parser written in ActionScript for importing .obj files. I then render them in Molehill, which is awesome. So far, I can import what I think are standard .obj files with vertices in the x, y, z order or the z, x, y order. However, any…
jpwrunyan
  • 530
  • 5
  • 22
1
vote
0 answers

Adding wavefront obj files to an existing obj

I currently have a mesh represented in obj format that represents terrain, I would like to add additional models (also in obj format) to this root mesh at specific positions. Ideally I'd like to work within C# without any game engine platforms,…
JamieB
  • 923
  • 9
  • 30
1
vote
1 answer

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 associate a group name with each mesh inside the obj…
White Wizard
  • 608
  • 3
  • 19
1
vote
1 answer

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…
RadoslavL
  • 56
  • 6
1
vote
0 answers

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 successfully. Although I can't find a way to make…
Abu bakar
  • 751
  • 1
  • 4
  • 16
1
vote
2 answers

Actuator Class not found after 2.5.12 spring boot upgrade

After upgrading to 2.5.12 from 2.3 I am getting the following exception: java.lang.IllegalArgumentException: Could not find class [org.springframework.boot.actuate.autoconfigure.health.HealthIndicatorAutoConfiguration] I tried including the…
1
vote
0 answers

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 various triangles and surfaces, I am adding texture…
Snakehater
  • 145
  • 1
  • 9
1
vote
2 answers

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): """loop through each vertex, format and…
Optimus
  • 2,716
  • 4
  • 29
  • 49
1
vote
0 answers

Combine single wavefront .obj objects into a clip sequence

Given many .obj files that represent the 3D pose estimation for each frame of a clip, how to combine the .obj files to form an animation? After performing 3D Pose Estimation on a single human's dance movements, I exported every frame as a .obj file.…
Bendemann
  • 735
  • 11
  • 31
1
vote
1 answer

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 with Ambient, Diffuse, Specular, and Emissive RGB…
1
vote
0 answers

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 it doesn't work when it comes to using all these…
Asadullah Naeem
  • 347
  • 2
  • 11
1
vote
1 answer

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 materials applied to the scene as well, so my…
devCorner
  • 193
  • 4
  • 15
1
vote
1 answer

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 (if necessary). Should I load the vertices and…