How to get specific vertex count

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • m3vbih
    3Dflower
    • Dec 2023
    • 4

    How to get specific vertex count

    Hi,

    Pardon my newbie question but I can't figure out how to get specific vertex count when do decimation.
    I display my models on website and I must keep my models below 1.000.000 vertexes. When was using other photogrammetry apps I would target around 700.000 vertex and it worked ok.

    In 3df I generate mesh model then choose to decimate and choose target 600.000
    But when I texture decimated model (I apply texture after decimation) and when i export that model in GBL format I see that exported model has 1.190.000 vertex.

    So how to tell 3df not to go above 700.000?
  • cam3d
    3Dflover
    • Sep 2017
    • 662

    #2
    Hi m3vbih -

    It sounds to me like the issue is as follows:

    - You make a (non-textured) mesh, you decimate this mesh to 600,000v

    - You then make a NEW (textured) mesh, so it doesn't really matter that you decimated the other one, a new mesh is created, with it's own properties.

    ----------------------

    Solution: Restrict the textured mesh max vertices in the advanced settings of the textured mesh generation wizard (ref image attached).

    Click image for larger version

Name:	Untitled-1.jpg
Views:	100
Size:	60.6 KB
ID:	9321

    Comment

    • m3vbih
      3Dflower
      • Dec 2023
      • 4

      #3
      Tnx, sound as this was problem.
      Will try this when I get home.

      Comment

      • m3vbih
        3Dflower
        • Dec 2023
        • 4

        #4
        I tried what you suggested but still I don't get exact number. Or maybe I do but something else I miss:

        Click image for larger version

Name:	Snimka zaslona 2023-12-04 190232.png
Views:	88
Size:	71.6 KB
ID:	9330

        but textured mesh says:
        Click image for larger version

Name:	final.png
Views:	88
Size:	48.5 KB
ID:	9331

        And 1.389.499 is number that is reported when I try to upload.
        Attached Files

        Comment

        • cam3d
          3Dflover
          • Sep 2017
          • 662

          #5
          The number in the brackets (799,373) is the vertex count. You can open the file in a program like MeshLab to confirm.

          NOTE: Apparently not for GLB :-(

          Originally posted by m3vbih

          but textured mesh says:
          Click image for larger version  Name:	final.png Views:	3 Size:	48.5 KB ID:	9331
          Last edited by cam3d; 2023-12-05, 09:50 PM.

          Comment

          • cam3d
            3Dflover
            • Sep 2017
            • 662

            #6
            Mmm maybe it's something to do with GLB as a format - I don't fully understand what's going on here. Andrea Alessi? Any ideas?

            Comment

            • m3vbih
              3Dflower
              • Dec 2023
              • 4

              #7
              Every 3rd party viewer of glb file reports number outside of brackets 1.389.499.

              Comment

              • Andrea Alessi
                3Dflow Staff
                • Oct 2013
                • 1305

                #8
                Hi, I'm unable to replicate the issue?

                It's vertices (unique) so it just might be that other software don't count unique vertices by default.

                Comment

                • cam3d
                  3Dflover
                  • Sep 2017
                  • 662

                  #9
                  Originally posted by Andrea Alessi
                  Hi, I'm unable to replicate the issue?

                  It's vertices (unique) so it just might be that other software don't count unique vertices by default.
                  Opening in MeshLab vertex count is different for GLB/Meshlab (same mesh exported from Zephyr in each format) - I'm thoroughly confused.

                  Comment

                  • noramila
                    3Dflower
                    • Aug 2023
                    • 8

                    #10
                    Generate mesh model, decimate aiming for 700,000 vertices, apply textures post-decimation, and verify GBL export to ensure vertex count stays below 700,000 in 3DF.
                    Thank you.

                    Comment

                    Working...