Skip to content

Pointcloud: Normals are lost when flipping axis and freezing transformation #1621

@ChristopherRemde

Description

@ChristopherRemde

First of all, many thanks for your work on Meshlab! It's an amazing tool I couldn't live without!

I recently played around with pointclouds that have normals. I need to flip the pointclouds X-axis to adapt it to Unitys coordinate system.
While the flipping itself works as expected, the normals are then lost when freezing the matrix. This is true for Meshlab and PyMeshlab. In PyMeshlab, it can be seen that the normals arrays are still intact after freezing, but they show 'NaN' values, instead of a valid floating point number.

Steps to reproduce:

  • Open any pointcloud with normals in Meshlab (Or open one without normals and then use 'Filters > Point Set > Compute Normals for point sets')
  • Open 'Filters > Normals, Curvatures and Orientation > Transform: Flip and or Swap axis'
  • Choose any axis to flip and enable 'Freeze Matrix' in this dialog directly
  • Or: Deactivate 'Freeze Matrix' in this dialog. Then Flip the pointcloud, and apply 'Freeze Matrix' afterwards
  • Normals are now gone

Tested in Meshlab 2023 and 2025

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions