none
Why flip YZ when exporting STL (KinectFusionExplorer sample) RRS feed

  • Question

  • In KinectFusionExplorer sample, I see this code (defaut flipYZ is true)

                        if (flipYZ)
                        {
                            vertex.Y = -vertex.Y;
                            vertex.Z = -vertex.Z;
                        }

    I don't get it why we need to flip YZ? 

    Wednesday, June 5, 2013 2:17 AM

Answers

  • To match the coordinate system for the export file coordinate system. Since Kinect Fusion doesn't use the same coordinate system, the direction of Y Z are facing the wrong way for the file. If you want to see what happens, change the value to false.
    • Marked as answer by littlecharo Friday, June 7, 2013 5:38 AM
    Wednesday, June 5, 2013 11:07 PM

All replies

  • To match the coordinate system for the export file coordinate system. Since Kinect Fusion doesn't use the same coordinate system, the direction of Y Z are facing the wrong way for the file. If you want to see what happens, change the value to false.
    • Marked as answer by littlecharo Friday, June 7, 2013 5:38 AM
    Wednesday, June 5, 2013 11:07 PM
  • Could you please tell me more detail about the Kinect Fusion coordinate system? A link should help pretty much. From msdn.microsoft.com/en-us/library/hh973078.aspx, the skeleton coordinate system is said to be with Y axis is up, though it might different from Kinect Fusion coordinate system.

    Thursday, June 6, 2013 1:11 AM