sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    In Development: Subdivide and Smooth

    Scheduled Pinned Locked Moved Developers' Forum
    262 Posts 65 Posters 40.8k Views 65 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.
    • erikBE Offline
      erikB
      last edited by

      Whaat,
      Looks like an amazing ruby your writting !! 😍
      The connection, suggested by Tomasz, between handeling a low poly model en a 'high poly' output model whereby you can change the low poly and the high poly follows seems like a winner (if it is possible), specially since sketchup doesn't handel high poly very well.
      Looking forward tot its progress.
      erikB

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

        I am not going to pretend I understand the first thing about how ruby's work or how these scripts are executed however I have a need for a script like this but in reverse.

        I do much modeling for un-named game developers and very often need to model three separate models for every concept due to L.O.D (level of detail)
        Take for instance a car used in a game like Need for speed, you need a high poly extreme detail for close ups and garage work, medium detail for passing traffic and low detail for distant vehicles. So for every car made the same vehicle is made in low, medium and high quality.

        What I would like is a script that could take the high poly extreme detail model and reduce the detail and make it smaller in poly's. It would be fantastic to be able to use percentages like 25% poly reduction or 50% reduction.

        If anything like this exists in ruby please direct me to it, if not is this possible, I know Maxscript has something similar to this but that does not help me as I model in SU.

        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
          kwistenbiebel
          last edited by

          Indeed, what Solo suggests sounds like a possibility to implement in the same ruby:
          The ability to either increase or decrease the polycount.

          I can imagine it could work by filling in a % in a VCB box.
          For instance, for polygon crunch set it to -25%, while for a subdivision set it to +25%...

          Don't know if that's possible, but it sure would be one hell of a ruby to have.

          1 Reply Last reply Reply Quote 0
          • jujuJ Offline
            juju
            last edited by

            100% = poly level detail.
            40% = poly decrease of 60%.
            140% = poly increase of 40%.

            Something like that would seem logical to a Vulcan.

            Save the Earth, it's the only planet with chocolate.

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

              Indeed Mr. Spock...that's more logical 😉

              1 Reply Last reply Reply Quote 0
              • W Offline
                Whaat
                last edited by

                @solo said:

                What I would like is a script that could take the high poly extreme detail model and reduce the detail and make it smaller in poly's. It would be fantastic to be able to use percentages like 25% poly reduction or 50% reduction.

                I don't understand this workflow. How do you create your high-poly models in the first place? If you are creating them with software other than SU, it only makes sense to use the same software to reduce the poly-count prior to bringing the model into SU. I am sure Max and Blender can both do this.

                To me, the logical workflow would be to model everything in SU as low-poly. Now you have your low-poly model. Next add one level of subdivision. Now you have your medium detail model. Add one more level of subdivision and you have your high-poly model.

                Of course, the option to reduce poly-count would be useful as well, but it seems rare that someone would want to reduce the polys of a model that was originally made in SU.

                Maybe you could give a more detailed example of your workflow that would require such as feature.

                SketchUp Plugins for Professionals

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

                  Maybe this would help:

                  Link Preview Image
                  LOD Models - Valve Developer Community

                  favicon

                  (developer.valvesoftware.com)

                  http://www.solos-art.com

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

                  1 Reply Last reply Reply Quote 0
                  • jeff hammondJ Offline
                    jeff hammond
                    last edited by

                    whaat up..

                    i'm very much interested in the script and waiting anxiously for it to go public..

                    can it work on sections of a drawing instead of the entire shape? in the example i'm posting, i'd like to see if the ridge can be knocked down using your script while the rest remains intact.. i've exploded and erased much of the drawing so if you need more of the geometry in there, let me know..
                    thanks
                    jeff


                    forwhaat.jpg


                    forwhaat.skp

                    dotdotdot

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      Whaat
                      last edited by

                      @unknownuser said:

                      can it work on sections of a drawing instead of the entire shape? in the example i'm posting, i'd like to see if the ridge can be knocked down using your script while the rest remains intact.. i've exploded and erased much of the drawing so if you need more of the geometry in there, let me know..
                      thanks
                      jeff

                      Hi Jeff,

                      The script will not be able to do what you suggest. The problem with your model is that the geometry is very messy at the interface where the ridge is. If you feed garbage geometry into the plugin it will give you garbage in return. However, the script WILL allow you to create a model like you have shown from scratch in about 30 seconds simply by subdividing a low poly version of your model. AND, the geometry that it gives you will be clean (which is good if you intend to import it into another app for instance...)

                      SketchUp Plugins for Professionals

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

                        @whaat said:

                        However, the script WILL allow you to create a model like you have shown from scratch in about 30 seconds simply by subdividing a low poly version of your model. AND, the geometry that it gives you will be clean (which is good if you intend to import it into another app for instance...)

                        The question remains though, how the hell we can model the simple geometry in sketchup in the first place 😉

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          Whaat
                          last edited by

                          @kwistenbiebel said:

                          The question remains though, how the hell we can model the simple geometry in sketchup in the first place 😉

                          😆 😆

                          SketchUp Plugins for Professionals

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            remus
                            last edited by

                            can the plugin do selected geometry as well as whole models?

                            http://remusrendering.wordpress.com/

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              @kwistenbiebel said:

                              @whaat said:

                              However, the script WILL allow you to create a model like you have shown from scratch in about 30 seconds simply by subdividing a low poly version of your model. AND, the geometry that it gives you will be clean (which is good if you intend to import it into another app for instance...)

                              The question remains though, how the hell we can model the simple geometry in sketchup in the first place 😉

                              for me, that can sometimes be a big problem.. the example i posted above is one clean piece of geometry (true radii in both directions) which intersects with three separate soap skins.. the skins are the only way (well, by far the fastest and cleanest way) i'm able to fill in certain holes...

                              i'll post another example which has the hole left open.. this is a much simpler version than what i've posted earlier but i honestly can't figure a way to fill this cleanly or simply.. it involves two different radii which terminate at different angles up top.. this is a very real situation that i face in my work and i do have methods to deal with them but trust me, they're neither quick or easy..

                              i'd love for someone to show me the way on this.. especially the 30 sec clean method that whaat is talking about..

                              thanks for any input,
                              jeff


                              hmmm.jpg


                              hmmm.skp

                              dotdotdot

                              1 Reply Last reply Reply Quote 0
                              • boofredlayB Offline
                                boofredlay
                                last edited by

                                @whaat said:

                                I don't understand this workflow. How do you create your high-poly models in the first place? If you are creating them with software other than SU, it only makes sense to use the same software to reduce the poly-count prior to bringing the model into SU. I am sure Max and Blender can both do this.

                                To me, the logical workflow would be to model everything in SU as low-poly. Now you have your low-poly model. Next add one level of subdivision. Now you have your medium detail model. Add one more level of subdivision and you have your high-poly model.

                                Of course, the option to reduce poly-count would be useful as well, but it seems rare that someone would want to reduce the polys of a model that was originally made in SU.

                                Maybe you could give a more detailed example of your workflow that would require such as feature.

                                For me, and the reason I posted This Thread, I would like to be able to reduce the polygon count for something I created with Soap Skin or even the sandbox tools. As I don't use any other modeling program (well I use Revit but for a whole different thing) I would like to see this ability.

                                Maybe it would be as simple as adding a + or - value when running the script. If that makes sense.

                                Thanks again for this and I await it being public, even if it won't work both ways 😄

                                http://www.coroflot.com/boofredlay

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  Whaat
                                  last edited by

                                  @unknownuser said:

                                  i'd love for someone to show me the way on this.. especially the 30 sec clean method that whaat is talking about..

                                  thanks for any input,
                                  jeff

                                  Hey Jeff,

                                  It looks like the type of work that you are doing requires a fair bit of precision with respect to exact radii and tangents, etc.

                                  This plugin is not designed for precision. It is more useful for conceptual or organic stuff. I think you might find the plugin useful for quickly playing around with concepts. You can model your surface in very low-poly without using soap-skin and then use the plugin to smooth it out.

                                  This is the method I am referring to. I modeled the surface in very little time (ok.. a bit longer than 30 seconds... 😉 ). You can see how the surface flows seamlessly after applying the plugin.

                                  However,


                                  ramp.jpg

                                  SketchUp Plugins for Professionals

                                  1 Reply Last reply Reply Quote 0
                                  • jeff hammondJ Offline
                                    jeff hammond
                                    last edited by

                                    wow, you got That from That.. great..

                                    most of the stuff i do is wooden structure but i also do some concrete work.. i try to use each medium to its advantage which in turn leads to different style designs.. your plugin will be excellent for the concrete stuff where organic shapes are much more manageable...

                                    do you have an e.t.a. by any chance?

                                    thanks

                                    fwiw, i was able to fix that bad spot in the first picture i posted here.. i managed to ditch 2 of the three soap skins and the rest of the model is moving along nicely now..


                                    bowl_fix.jpg

                                    dotdotdot

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

                                      Hi Whaat,

                                      As you asked in the Indigo forum, I upload the 'naked running man' SU model that was made in 'Make Human' so you can test it with your S'nd S project.

                                      (The complete scene was way too big to upload).

                                      Cheers,
                                      Kwistenbiebel


                                      loper2.zip

                                      1 Reply Last reply Reply Quote 0
                                      • MarianM Offline
                                        Marian
                                        last edited by

                                        I can see this plugin being very useful to me helping with my car and ship modelling.
                                        Is this going to be a free plugin or commercial?

                                        http://marian87.deviantart.com/

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          notareal
                                          last edited by

                                          @fletch said:

                                          wowwwww Whaat... you are incredible! 😲

                                          can it reduce the polygon count of a hi-poly mesh (work in reverse) too?

                                          I think this would be good feature too, if do not consider it too difficult to implement.

                                          Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                          1 Reply Last reply Reply Quote 0
                                          • N Offline
                                            notareal
                                            last edited by

                                            @whaat said:

                                            I don't understand this workflow. How do you create your high-poly models in the first place? If you are creating them with software other than SU, it only makes sense to use the same software to reduce the poly-count prior to bringing the model into SU. I am sure Max and Blender can both do this.

                                            Some free models, for example 3d scanned ones, do have really high poly-count. I can imagine using some of those in SU, but after some scale down.

                                            Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 13
                                            • 14
                                            • 2 / 14
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement