Nokse22 / Exhibit

3D model viewer for the GNOME desktop powered by f3d
https://flathub.org/apps/io.github.nokse22.Exhibit
GNU General Public License v3.0
87 stars 10 forks source link

OBJs don't seem to load #6

Open NoTuxNoBux opened 5 months ago

NoTuxNoBux commented 5 months ago

First off: thanks for this convenient application, I need to preview 3D models every so often and since Blender doesn't want to automatically import when double-clicking a file, having a simple viewer such as this is very convenient.

I've been testing a few models with this, and the majority work just fine. However, I can't seem to load any OBJ file, whether it has material files or not. For example, here is my company's logo as small OBJ with MTL:

Logo_MrWatts.zip

Loading it just shows an empty window with no errors in the console:

afbeelding

I also have GLB, DAE and FBX variants and these all work fine.

Nokse22 commented 5 months ago

Thank you, I will test it as soon as possible.

Nokse22 commented 5 months ago

I have tried the .obj you provided and I can open it just fine. If the light intensity is very high it could appear all white.

NoTuxNoBux commented 5 months ago

That is strange, shouldn't I at least see the grid in the back if that is the case, though? Is there perhaps some kind of debug logging I can enable to pinpoint this further?

With the material provided it should be a light-grey-ish color (in Blender):

afbeelding

I also tried starting it on my Intel iGPU as well as my NVIDIA dGPU, but both yield the same results, as do (all) other OBJ models.

RedAuburn commented 4 months ago

also working for me, @NoTuxNoBux can you still reproduce it?

NoTuxNoBux commented 4 months ago

Yes, I can still reproduce it.

Nokse22 commented 4 months ago

@NoTuxNoBux do you have the same issue with the official f3d application (Exhibit is based on), if you can't test it no problem.

https://flathub.org/apps/io.github.f3d_app.f3d

NoTuxNoBux commented 4 months ago

@Nokse22 Thanks for the response, and happy to test. Seems to work in F3D for me (Flatpak version):

afbeelding

Nokse22 commented 4 months ago

Thank you

YoannError404 commented 1 month ago

Same problem (nvidia x11 and wayland)

Here is the log i get:

ERROR: In vtkOBJImporter.cxx, line 516 vtkOBJPolyDataProcessor (0x5d29d3d6c240): Error reading 'v' at line 7

Nokse22 commented 1 month ago

@YoannError404 Does your file open in F3D?

YoannError404 commented 1 month ago

Yes

Mibea commented 2 weeks ago

i had the same issues. Seems that in the object tab you need to select load type geometry instead of scene. afbeelding

afbeelding

YoannError404 commented 2 weeks ago

Yes, but if i do that i don't see the textures