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

SketchUp is not a NURBS modeler because...

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
28 Posts 11 Posters 8.9k Views
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.
  • P Offline
    pilou
    last edited by 25 Sept 2010, 08:05

    and the funny of the thing is at least in final on your screen Su or Rhino are bother "triangles" from the graphic card for be possible to visible render ๐Ÿ˜‰
    (in my simplistic definition) ๐Ÿ˜„

    Frenchy Pilou
    Is beautiful that please without concept!
    My Little site :)

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 25 Sept 2010, 09:19

      Interesting... just last night I was revisiting my BezierPatch plugin I experimented on about a year ago...

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

      1 Reply Last reply Reply Quote 0
      • M Offline
        mitcorb
        last edited by 25 Sept 2010, 14:23

        It seems that every ruby extension created for Sketchup is analogous to features native to other modeling apps. That is simply because the needs are the same in Sketchup.

        I take the slow, deliberate approach in my aimless wandering.

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 25 Sept 2010, 14:54

          @mitcorb said:

          It seems that every ruby extension created for Sketchup is analogous to features native to other modeling apps. That is simply because the needs are the same in Sketchup.

          hm...
          One do not always need NURBS. Some times you do, some times you don't.
          Nor do one always need every feature any other modelling application has.
          If it had - then we'd have a big bloating beast.

          But - SketchUp has a platform where you can make it fit your own specialised needs.

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

          1 Reply Last reply Reply Quote 0
          • M Offline
            mitcorb
            last edited by 25 Sept 2010, 17:01

            @ThomThom:
            Yes. You are right about the beast. As we know the SU developers wanted to keep the app compact.

            I take the slow, deliberate approach in my aimless wandering.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jeff hammond
              last edited by 25 Sept 2010, 17:03

              @unknownuser said:

              and the funny of the thing is at least in final on your screen Su or Rhino are bother "triangles" from the graphic card for be possible to visible render ๐Ÿ˜‰
              (in my simplistic definition) ๐Ÿ˜„

              yeah, in nurbs modelers we only see a representation of the surface via a render mesh and it's not accurate (well, it's 100% accurate if you take measurements from it or export to cnc production etc..). i think it's impossible to show a true nurbs surface on our current monitor technologies in the same way we can't truly see a circle on our screens.. (a bunch of square pixels can't display a true curve)

              here's a closeup view of a rhino surface.. the wires are what you have to pay attention to and trust them but the surfaces will often to appear segmented (well, because they are meshes just like in SU)

              click pic for larger

              the one thing i don't really like about rhino is their nurbs to mesh technique and i don't think they're nearly as clean as they could be.. i hear moi is much better at this.. hopefully, rhino v5 (which will also be the 1st official iRhino release) will change this.

              dotdotdot

              1 Reply Last reply Reply Quote 0
              • P Offline
                pilou
                last edited by 25 Sept 2010, 17:20

                yes in Moi you can regulate for have a "perfect fit" of the curve on the surfaces
                But it's only for the screen and that can slowdown all if you have a very big file!
                It's just for pleasure of the eyes ๐Ÿ˜‰
                But for normal file size that is very cool ๐Ÿ˜Ž

                Frenchy Pilou
                Is beautiful that please without concept!
                My Little site :)

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Pixero
                  last edited by 26 Sept 2010, 06:27

                  I've worked a lot with Nurbs in Maya and they are good for some things and polygons are better for some.
                  What is needed if ever someone makes a nurbs/spline patch ruby is that it keeps the editing capabilities all the time. Meaning it makes it possible to change the "subdivision" to polys even after editing and just crank it up when its time to render.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 26 Sept 2010, 10:29

                    @unknownuser said:

                    yeah, in nurbs modelers we only see a representation of the surface via a render mesh and it's not accurate (well, it's 100% accurate if you take measurements from it or export to cnc production etc..). i think it's impossible to show a true nurbs surface on our current monitor technologies in the same way we can't truly see a circle on our screens.. (a bunch of square pixels can't display a true curve)

                    mhm.. NURBS modellers will have to refine the mesh to the point where a edge segment is <= 1px

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

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 26 Sept 2010, 10:30

                      @pixero said:

                      I've worked a lot with Nurbs in Maya and they are good for some things and polygons are better for some.
                      What is needed if ever someone makes a nurbs/spline patch ruby is that it keeps the editing capabilities all the time. Meaning it makes it possible to change the "subdivision" to polys even after editing and just crank it up when its time to render.

                      Something like this:
                      Experimental Prototype

                      ๐Ÿ˜‰

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

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jason_maranto
                        last edited by 26 Sept 2010, 12:47

                        Wow... a picture really is worth a thousand words. I can't wait to try that plugin ๐Ÿ˜ฒ

                        Best,
                        Jason.

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

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pilou
                          last edited by 26 Sept 2010, 14:13

                          In these moments Scripts' conceptors are out burst! ๐Ÿ˜ฒ ๐Ÿ˜Ž
                          Users can't follow the flux ๐Ÿ’š

                          Frenchy Pilou
                          Is beautiful that please without concept!
                          My Little site :)

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            thomthom
                            last edited by 26 Sept 2010, 15:43

                            And the plus side of these patches are that they are easy to UV map. ๐Ÿ˜‰

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

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              dale
                              last edited by 26 Sept 2010, 15:58

                              UV mapping ๐Ÿ˜ฎ Please go on ๐Ÿ‘

                              Just monkeying around....like Monsanto

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 26 Sept 2010, 16:02

                                Patches generate regular geometry which is much easier to map as you know the full structure of the mesh.

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

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Pixero
                                  last edited by 26 Sept 2010, 16:57

                                  @thomthom said:

                                  Something like this:
                                  ๐Ÿ˜‰

                                  ๐Ÿ‘ ๐Ÿ˜„ Absolutly!

                                  Is it Nurbs or splines or what?

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 26 Sept 2010, 17:01

                                    Bezier patch.
                                    I was thinking that if you could assemble a Bezier surface of Quad and Tri patches you can shape most things.
                                    Currently it has the 16 control points, but I kind of want a simpler one, with just the corner control points with handles. But I guess there can be use for both...

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

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      fredo6
                                      last edited by 27 Sept 2010, 20:13

                                      3D Nurbs are possible in SU in theory, but requires to interface the script with a C library in order to get decent performance for preview and edition. That's of course possible, but a long work, especially for merging two nurbs surfaces.

                                      Indeed, it would help if the SU team would fix the bug which prevents surfaces to be drawn in any other color than gray or black (as you can see in Curviloft).

                                      Note that Nurbs would not always answer the problems of the real world when you wish to have given contours, with strict dimensions. Most 3D modelers use numerous techniques to manage this, not just Nurbs.

                                      I may one day do something with Nurbs, but I am also exploring alternate techniques that may give acceptable results in some frequent situations. For instance, I am playing with surface generation from contours (not necessary horizontal), as shown on the picture below. This is not based on Nurbs, but I think it will give a more realistic shape when modelling a terrain.

                                      Toposhaper.jpg

                                      Fredo


                                      Topo Gradient 2.skp

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        thomthom
                                        last edited by 27 Sept 2010, 20:25

                                        @unknownuser said:

                                        3D Nurbs are possible in SU in theory, but requires to interface the script with a C library in order to get decent performance for preview and edition.

                                        You mean deforming it live? Is the calculation that expensive? If it's just applying the transforming that consumes time I don't think moving to C will do much.

                                        For Vertex Tools I wrote the soft selection code in C. What I found took a lot of time was casting the Ruby values to C data types - so much in face that doing a prepass of converting the whole 3d point data set first before processing it gained a great amount of speed.

                                        I'm currently working on a Bezier Surface system where you add quad and tri patches together. At the moment it all in experimental stage - but as it matures I might port some of it to C if I find a lot of the calculation to be very consuming. Though often I find the bottleneck to be SU's methods of adding geometry.

                                        And I'm also trying to get to grips with B-Splines - I've never worked much with them. But when I read about Bezier curves I often see them mentioned - that they can be more intuitive to control?

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

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          pilou
                                          last edited by 27 Sept 2010, 20:48

                                          Maybe this can interest you ๐Ÿ˜‰

                                          http://www.tomdukich.com/bez%20ee%20ay%20logo.jpg

                                          Frenchy Pilou
                                          Is beautiful that please without concept!
                                          My Little site :)

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

                                          Advertisement