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

Face camera ANY DIRECTION

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
11 Posts 6 Posters 929 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.
  • J Offline
    jmilton01
    last edited by 13 Feb 2012, 17:34

    I know nothing about ruby script. However, I hope to change that soon. I was wondering if there is a way to write a plugin that can make a component face the camera no matter its orientation. For example, I can make "Susan" face me as long as I rotate my view left and right (x,y axis). The moment I rotate the view above her, she no longer is facing me. Does anyone have any suggestions as to how to approach this?

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 13 Feb 2012, 17:41

      Something like this?


      FaceMeTwice.skp

      Gai...

      1 Reply Last reply Reply Quote 0
      • J Offline
        jmilton01
        last edited by 13 Feb 2012, 17:48

        YES!

        1 Reply Last reply Reply Quote 0
        • J Offline
          jmilton01
          last edited by 13 Feb 2012, 17:49

          How was this accomplished?

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gaieus
            last edited by 13 Feb 2012, 17:51

            One component is nested into another one. One has its blue axis (rotating axis) horizontally while the parent component has it vertically. No need to write a plugin for this.

            Gai...

            1 Reply Last reply Reply Quote 0
            • J Offline
              jmilton01
              last edited by 13 Feb 2012, 17:52

              I went this direction earlier this morning. Obviously, I was doing it wrong. Thank you, for your help.

              1 Reply Last reply Reply Quote 0
              • G Offline
                Gaieus
                last edited by 13 Feb 2012, 17:56

                This was the workflow:

                1. Made a component just as usually, to face the camera.
                2. Rotated it so that its blue axis was now horizontal
                3. Drew a line at one of its edge temporarily, selected both and made a component again to face the camera - but I left its blue axis go up now.
                  (Deleted the extra line later).

                Gai...

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gilles
                  last edited by 14 Feb 2012, 07:23

                  Very smart! πŸ‘

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

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DG_kghm
                    last edited by 7 Aug 2012, 14:45

                    Does this workflow still achieve the desired result? I'm trying to create a flat plane that will always have its flat edge face the camera, so that it is basically invisible, yet still casts a shadow. I tried to achieve my shadow casting using this (http://www.sketchucation.com/forums/viewtopic.php?f=15&t=45769) workflow, but was unsuccessful rendering it in Vray, so I'm back here.

                    When I nest the face-me components, only the face-me properties of the parent component are active, unless I open that component for editing, then the nested one starts facing-me. Am I doing something wrong?

                    Thanks folks!

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 7 Aug 2012, 15:26

                      @gaieus said:

                      Something like this?

                      Very nice solution! πŸ‘

                      Now place some eyes on that face and watch them follow your every move! puts on tin foil hat

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

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cotty
                        last edited by 7 Aug 2012, 15:57

                        I wonder what will happen with the use of a third dimension... 😲
                        Nice little DUH?!

                        my SketchUp gallery

                        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