sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [REQ] Triangles to quad ruby

    Scheduled Pinned Locked Moved Plugins
    11 Posts 8 Posters 3.6k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • soloS Offline
      solo
      last edited by

      I came across this on the Thea forum, posted by Notareal, very informative and very relevant to creating proxys for subdividing with SDS.

      Check out this video.

      [flash=600,400:3vh05tjp]http://vimeo.com/moogaloop.swf?clip_id=2158706[/flash:3vh05tjp]

      Wondering if there would be a way to create a ruby that could take a model or a selection of faces and turn all polys into quads? This would really help me for one to create smooth lower poly meshes.

      http://www.solos-art.com

      If you see a toilet in your dreams do not use it.

      1 Reply Last reply Reply Quote 0
      • K Offline
        Khai
        last edited by

        +1 for this. it would be a really useful ruby to a lot of ppl.

        1 Reply Last reply Reply Quote 0
        • A Offline
          alpro
          last edited by

          You could try Blender, I know its not the same, maybe a little bit of a workflow killer but it seems like it should be pretty simple, import SU model into Blender, select verts, Alt+j to convert tris to quads, export out of Blender. Solo, do you have a trianglated mesh that I could try and play with, something not too simple or too complex? If someone cant write a ruby for tris to quads, maybe something like Whats UV ruby would work, where all the exporting and importing would be automated so it wouldnt be such a workflow killer.

          Mike

          1 Reply Last reply Reply Quote 0
          • fredo6F Offline
            fredo6
            last edited by

            @solo said:

            Wondering if there would be a way to create a ruby that could take a model or a selection of faces and turn all polys into quads? This would really help me for one to create smooth lower poly meshes.

            You should beware from the Quad appearance in 3D-modelling software. It does not mean at all that the geometry is composed by 'true' quads. As an example, the preview mode of Curviloft always shows Quads for the generated shape, whereas it is most often triangulated when generating the Sketchup geometry.

            Keep in mind that a 3D modelling software is simply an intermediary to generate images, not physical objects.

            Fredo

            1 Reply Last reply Reply Quote 0
            • soloS Offline
              solo
              last edited by

              Didier, I found it here: http://www.thearender.com/forum/viewtopic.php?f=22&t=4463
              Thea forums, and prosperous year to you too.

              Alpro, try this, it's a bust made with SU, you will see the polys are mostly triangles.

              I have left a request for Dale (Whaat) to reply on the SDS2 beta forums also.

              @Fredo, now you are confusing me, so what we see is not what's there?


              head with triangles.skp

              http://www.solos-art.com

              If you see a toilet in your dreams do not use it.

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                Hi Solo,

                A little OT but Solo, where did you get this video ? Very interesting.

                Happy new year 2011 β˜€

                Answering my own question: http://guerrillacg.org/

                DB

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  Other 3d applications that deal with quad faces allow for quads that are not co-planar. 3dsmax is one of them. In SU they have to be co-planar, which enforce an extra restriction to how useful quads are.

                  The quads in the other applications have the quads internally as triangles, as everything really is, but hides the fact from the user. In the same way that a face in SU really consists of triangles. (You can see the internal triangulation with my Probes plugin. http://forums.sketchucation.com/viewtopic.php?f=323&t=21472&p=180592#p180592) And it's why face count is not an accurate measurement of a model's complexity, but instead you should count all the triangles the model consists of. (my ModelInfo plugin does that: http://forums.sketchucation.com/viewtopic.php?f=323&t=33233&p=293079#p293079 )

                  Converting triangles to quads - what kind of mesh did you have in mind? This is something that can't be applied to any mesh, it would have to be some regularities.
                  But due to the nature of quads in SU vs other apps - what I'm thinking is that the ideal solution is not making quads in SU, but finding a method for plugins to treat triangulated meshes in a quad-like manner. For my UV mapping plugin I'm working on a method where I try to find regular triangulated meshes where I can treat two sets of triangles like a quadface. When I have sorted the mesh into these virtual quads I can much easier traverse and manipulate the mesh.

                  (I'm sleep deprived since last night - so please excuse my ramblings. 😳 )

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    alpro
                    last edited by

                    Well forget the Blender route. Exported obj out of SU, imported to Blender, selected verts and changed tris to quads, no problems. Well a little problem, it only converted about 85% to quads, see pics. However the real problem was importing back into SU, like thomthom said the quads have to be coplanar in SU so when I imported your quaded head, SU put a hidden line everywhere it wasn't coplanar thus making quads into tris again.

                    Mike


                    Blender import.JPG


                    Tris2quads.JPG


                    Tris2quads2.JPG

                    1 Reply Last reply Reply Quote 0
                    • jason_marantoJ Offline
                      jason_maranto
                      last edited by

                      You may find this useful:

                      http://alice.loria.fr/WIKI/index.php/Graphite/PGP

                      Best,
                      Jason.

                      I create video tutorial series about several 2D & 3D graphics programs.

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        Here http://forums.sketchucation.com/viewtopic.php?p=309120#p309120 is v1.0 of my new idea to make quads - Quadtilateralizer...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          @alpro said:

                          Well forget the Blender route. Exported obj out of SU, imported to Blender, selected verts and changed tris to quads, no problems. Well a little problem, it only converted about 85% to quads, see pics. However the real problem was importing back into SU, like thomthom said the quads have to be coplanar in SU so when I imported your quaded head, SU put a hidden line everywhere it wasn't coplanar thus making quads into tris again.

                          Mike

                          Technically, all quads in any 3d application consists of triangles. It's just a matter of how the 3d application presents it. Internally each quad will consist of two triangles. SketchUp makes no effort to provide any form of quads and instead exposes the triangles directly to the user and leaves the responsibility there.

                          Further more, just having a set of quads as you do in your screenshot provides no real benefits as the topology isn't regular. It's going all over the place with a mix of quads and tris at random. To have an efficient topology you need the quads to be laid out in a manner so they make nice loops around the characteristics of the shape. Then you can use tools that makes use of this regularity of the quad mesh to perform actions such as selecting rings and loops so you can quickly and predictably modify the geometry you want.

                          To put it simply, quads has no benefit over tris unless the quads are laid out with a good topology.

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement