sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    [Plugin] Projecting Floor Paintings

    Scheduled Pinned Locked Moved Plugins
    16 Posts 10 Posters 18.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.
    • plot-parisP Offline
      plot-paris
      last edited by

      Hello everyone,
      have been absent for quite some time now. just too much to do. but now I've got a problem, that might be solved by a nice little ruby script:

      Do you know these painters, drawing a painting on the floor in a pedestrian area? Some of these paintings use a fantastic trick, so that if you stand at one specific point you will see a hole in the ground or similar. They do it via perspective distortion.

      To create such a painting in SketchUp all I have to do is create the scene, then define one camera point in space. Then I have to draw lines from this camera point to all the visible vertexes and continue these line until they hit the ground floor. And finally all I have to do is connect these new intersection points on the ground.
      If I look thorugh the camera now, I will see a 3D object, that is actually painted on a flat floor.
      (by the way: there is a new "Film and Stage" plugin for SketchUp 8 )

      Projected_Views.jpg

      Unfortunately I need to do that for quite a few scenes. And I figured this might be something that can be done via Ruby (I know there is the Projection ruby. But it doesn't do projections from one single point, only parallel...)
      I need to do the project over the weekend. So time is short 😕

      Any help would be highly appreciated!

      1 Reply Last reply Reply Quote 0
      • mitcorbM Offline
        mitcorb
        last edited by

        Hi, plot-paris:
        Nice to see you back.
        I thought perhaps you could do a Forum wide search on "camera", but then I saw that there were only 307 pages on this search topic. However, what you describe does bring up thoughts of discussions within the last 6 months, it seems, on related topics.

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

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

          Try this Put into Plugins folder and restart Sketchup...
          projecteye2ground.rb

          Select raw geometry [i.e. including the edges to project] and type projecteye2ground into the Ruby Console, and the vertices are projected onto the ground plane from the eye, with cpoints and clines reproducing the distorted form...

          TIG

          1 Reply Last reply Reply Quote 0
          • mitcorbM Offline
            mitcorb
            last edited by

            In lieu of all that exhaustive searching, we have the resident problem solver to present the solution. Well done, TIG. 👍 👍

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

            1 Reply Last reply Reply Quote 0
            • plot-parisP Offline
              plot-paris
              last edited by

              wow, TIG! Did you just write that? thats almost perfect! wonderful! you just made my day!!!

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

                TIG, that's pretty slick.


                Eye2Ground.skp

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 Reply Last reply Reply Quote 0
                • E Offline
                  elthanos
                  last edited by

                  Very good TIG!!! Could it project on other objects too or only on ground floor?

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

                    Hey TIG, this is all great information,
                    is there a way of projecting on the ground and onto a vertical surface ? ie onto a street and onto a building across the street? So the "object is projected on the flat and vertical surfaces in the same drawing?
                    thanks..

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mikedd
                      last edited by

                      @plot-paris said:

                      Do you know these painters, drawing a painting on the floor in a pedestrian area? Some of these paintings use a fantastic trick, so that if you stand at one specific point you will see a hole in the ground or similar. They do it via perspective distortion.

                      Julian Beever is probably the most famous. http://www.julianbeever.net/index.php?option=com_content&view=article&id=1&Itemid=1

                      Here is a basic tutorial http://www.instructables.com/id/3D-Anamorphic-Street-Art/

                      With Photoshop http://www.instructables.com/id/Anamorphic-3-D-Images-with-Photoshop/

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        mikedd
                        last edited by

                        Heres mine: Nancy with a basketball, in scene 1 the ball looks normal. In scene 2 you can clearly see how the ball is flat and distorted by using the scale tool and how long the anamorphic images have to be to get the desired effect.


                        anamorphic1.png


                        anamorphic2.png


                        anamorphic.skp

                        1 Reply Last reply Reply Quote 0
                        • pilouP Offline
                          pilou
                          last edited by

                          😉

                          http://artbite.fr/local/cache-vignettes/L400xH547/artbite-a323-anamorphose_femme_au_miroir-231db.jpg

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

                          1 Reply Last reply Reply Quote 0
                          • robertWanR Offline
                            robertWan
                            last edited by

                            How to place the camera in the designated place (x, y, z)?
                            Google Translator

                            Robert

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

                              @robertwan said:

                              How to place the camera in the designated place (x, y, z)?

                              eye = [1000,1000,1000]
                              target = [0,0,0]
                              up = [0,0,1]
                              my_camera = Sketchup;;Camera.new(eye, target, up)
                              Sketchup.active_model.active_view.camera = my_camera
                              

                              Vary the eye and target as desired...

                              TIG

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

                                @RPNZ:
                                Try my Projections extension, I think it can do it 😉

                                Here: https://extensions.sketchup.com/extension/8f66e284-c0e3-45a9-be6e-e86911a3cf5e/projections-tools

                                DB

                                1 Reply Last reply Reply Quote 0
                                • robertWanR Offline
                                  robertWan
                                  last edited by

                                  @didier bur said:

                                  @RPNZ:
                                  Try my Projections extension

                                  I have SU8 and I see that I need 2016.

                                  @tig said:

                                  Vary the eye and target as desired...

                                  It works! Thank you.
                                  The shadows can be easily redrawn by hand.

                                  Robert

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

                                    25249-Guérande.jpg

                                    DB

                                    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