sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    What happens when....

    Scheduled Pinned Locked Moved Corner Bar
    71 Posts 14 Posters 1.7k Views 14 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.
    • Rich O BrienR Offline
      Rich O Brien Moderator
      last edited by

      There you go bringing fact to the table when the questions posted are devoid of fact.

      The question's point is to make you place a color value at a point and then extrapolate all remaining colours from that point to create a shape [object]. Do you get a sphere, cube, cylinder etc?

      I like Andy's thinking that colour is linear in a 3D space.

      @Alan
      Thanks for that, especially the poles flipping. Reminds me of a Hawkings documentary describing when Andromeda starts to collide with out galaxy. A lights how lasting millions of years with a disappointing end 😞

      Download the free D'oh Book for SketchUp πŸ“–

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

        Without a moon there would still be some tides [as opposed to rotation lag affects in the liquid part of the crust [the sea]] because the sun's remaining influence. They'd be a lot less affect, but it'd still be noticeable - at the moment the sun+moon combo causes higher or lower total tides when they are on the same or opposite sides of the earth and combine their affect or counteract one another.
        However, this issue of tides is completely outweighed by other matters arising...

        The sudden disappearance of the moon would undoubtedly be catastrophic.
        The continental plates would shift and ease as the usual tidal pressures on the mantle changed - immediate earthquakes and volcanoes...
        The sudden loss of a significant part of the mass from the combined earth-moon system would cause an immediate orbit change - by changing our angular momentum, affecting the day length and year length, and most likely moving us out of the 'Goldilocks zone' into a less clement zone where we'd freeze [or possibly boil]...
        The issue of the earth's 'precedence' wobble is perhaps more uncertain - but the earth's wobble would certainly become unpredictable, and what was left of our seasons that it creates would become untenable. Although a the volcanoes erupted, the crust split open, and a new ice-age started etc, the same matter of your wheat/rice/maize/potato crops failing might pale into insignificance for a few days, until you died...

        All in all, if the moon were suddenly to disappear then we'd all be completely buggered - albeit briefly until we were all dead ! πŸ˜•

        TIG

        1 Reply Last reply Reply Quote 0
        • BoxB Offline
          Box
          last edited by

          Now Tig you are straying into the realms of fantasy, we all know that nuclear waste from Earth stored on the Moon's far side exploded in a catastrophic accident on 13 September 1999, knocking the Moon out of orbit and sending it and the 311 inhabitants of Moonbase Alpha hurtling uncontrollably into space, and there haven't been any problem like you describe in the last 13 years or so.

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            When I was a kid I saw that series (like it pretty much although our standards of CG have been risen since then).

            Gai...

            1 Reply Last reply Reply Quote 0
            • andybotA Offline
              andybot
              last edited by

              Rich, Here's what I was picturing about 3D color
              http://youtu.be/x0-qoXOCOow

              and you must be thinking of Munsell color system

              http://charlottesvillearchitecturalrendering.com/

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

                @unknownuser said:

                There you go bringing fact to the table when the questions posted are devoid of fact.
                The question's point is to make you place a color value at a point and then extrapolate all remaining colours from that point to create a shape [object]. Do you get a sphere, cube, cylinder etc?
                But as I said you can place an object of any color at any 3d point and invent a referencing system to suit that.
                The stacked form can also be anything you like - you invent the rules...

                A stacked cube of 1x1x1 sub-cubes that's 255x255x255 in all, with its bottom left corner at [0,0,0] can represent all of the RGB colors in steps of 1 unit [the integer limit to RGB colors anyway].
                The cube at [0,0,0] is black.
                The cube at [255,255,255] is white
                The cube at [128,128,128] is mid-gray.
                Thus the 'diagonal' line of cubes from [0,0,0] to [255,255,255] is monochrome shades of gray from black to white.
                The pure 'colored' cubes at at the extreme corners and vary towards black th nearer they are to the origin.
                The attached example SKP shows this - I've used only 10x10x10 with ~x25.5 steps to avoid a stupidly sized SKP ! It's still 1000 cubes and 1000 materials !
                This is the code to do the coloring [it adds some alpha transparency for clarity]

                def colorcubes() 
                  model=Sketchup.active_model
                  model.start_operation('colorcubes', true)
                  ss=model.selection
                  ss.each{|e|
                    next unless e.class==Sketchup;;ComponentInstance
                	xyz=e.bounds.min.to_a
                	r=(xyz.x*25.5).to_i
                	g=(xyz.y*25.5).to_i
                	b=(xyz.z*25.5).to_i
                    e.material=[r,g,b]
                	e.material.alpha=0.5
                  }
                  model.commit_operation
                end
                

                πŸ€“cc.PNGcc.skp

                TIG

                1 Reply Last reply Reply Quote 0
                • Rich O BrienR Offline
                  Rich O Brien Moderator
                  last edited by

                  😲

                  Extreme. Like the troubleshoot scene πŸ‘

                  Download the free D'oh Book for SketchUp πŸ“–

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

                    The Troubleshooting Style is useful for finding what you've done wrong with making geometry etc - without messing with the camera etc ! I meant to delete it ! πŸ˜’

                    What do you think of the 3d color idea... πŸ˜•

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • Rich O BrienR Offline
                      Rich O Brien Moderator
                      last edited by

                      Excellent....intriguing....bespoke....Pilouesque

                      Download the free D'oh Book for SketchUp πŸ“–

                      1 Reply Last reply Reply Quote 0
                      • gillesG Offline
                        gilles
                        last edited by

                        I have drawn 1000 instances of a cube,selected them, opened the ruby console, pasted your code and pressed enter: it returned Nil.
                        what am I doing wrong?

                        " c'est curieux chez les marins ce besoin de faire des phrases "

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

                          The cubes must be instances of a component, which should be 1"x1"x1" - any placed beyond 10" from the origin will be 'white'.
                          The color of each material increments in steps of '~10'.
                          You can't copy/paste the code as it's multi-line [maybe on some MACs ?].
                          If you want to try it put the whole code into a file colorcubes.rb in Plugins restart SUp, and type colorcubes in the Ruby Console to process any preselected cubes...
                          To see the effect more quickly omit any cubes inside.
                          BUT having the 1000 cubes does allow you to use a section cut to see the affects... Note how the combos of RGB at the three max corners for the axes, then make cyan/yellow/magenta at the other three 'common corners' - with black/white for absolute min/max corners cc-section.PNGcc-section2.PNGcc-backside.PNG

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • gillesG Offline
                            gilles
                            last edited by

                            Works fine thank you.

                            " c'est curieux chez les marins ce besoin de faire des phrases "

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

                            Advertisement