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

[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.
  • P Offline
    plot-paris
    last edited by 5 Apr 2011, 10:56

    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
    • M Offline
      mitcorb
      last edited by 5 Apr 2011, 13:01

      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
      • T Offline
        TIG Moderator
        last edited by 5 Apr 2011, 16:11

        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
        • M Offline
          mitcorb
          last edited by 5 Apr 2011, 18:33

          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
          • P Offline
            plot-paris
            last edited by 5 Apr 2011, 21:28

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

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 6 Apr 2011, 02:17

              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 21 Jan 2013, 16:14

                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 5 Nov 2013, 20:34

                  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 10 Nov 2013, 02:06

                    @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 11 Nov 2013, 01:01

                      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 11 Nov 2013, 01:33

                        ๐Ÿ˜‰

                        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 12 Jan 2020, 01:03

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

                          Robert

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 12 Jan 2020, 13:45

                            @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 12 Jan 2020, 17:59

                              @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 12 Jan 2020, 18:58

                                @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 21 Jan 2020, 19:51

                                  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