f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Alembic file not displaying with default config

Open Meakk opened this issue 7 months ago • 2 comments

Describe the bug When opening the attached file with an installed version of F3D 3.1, the mesh is not visible.

To Reproduce Steps to reproduce the behavior:

  1. Open the file: export.zip
  2. Mesh is not visible
  3. Press S twice to disable scalar coloring
  4. Mesh is visible

Expected behavior The mesh should be visible, even with scalar coloring

System Information:

  • OS: Windows
  • GPU and GPU driver: RTX 3070

F3D Information Paste the content of f3d --version or f3d-console.exe --version on Windows:

F3D 3.1.0

F3D - A fast and minimalist 3D viewer
Version: 3.1.0.
Build date: 2025-04-16 10:26:31.
Build system: Windows 64-bits.
Compiler: MSVC 19.43.34808.0.
Module ImGui: ON.
Module OpenEXR: ON.
Module Raytracing: OFF.
VTK version: 9.4.2-1794-g691f4a3c11 (date: 20250329).
Copyright (C) 2019-2021 Kitware SAS.
Copyright (C) 2021-2025 Michael Migliore, Mathieu Westphal.
License BSD-3-Clause.

Meakk avatar May 14 '25 08:05 Meakk

The arrays are clearly incorrect: range 1e+299 1e-299, then shader fails to execute, which is why its empty.

We should definitely catch that the arrays are invalid and react accordingly.

Its nothing specif to alembic, imo it can happen with any incorrectly formatted data that we read "successfully".

mwestphal avatar May 16 '25 17:05 mwestphal

You're right. My exporter leave the normals unset.

Meakk avatar May 16 '25 19:05 Meakk