• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[Plugin] CameraKeyMaker 1.0 (Update 2011-04-09)

Scheduled Pinned Locked Moved Plugins
118 Posts 53 Posters 136.6k Views 53 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.
  • T Offline
    TIG Moderator
    last edited by 16 Jun 2011, 08:43

    @designchest said:

    Hi
    Just tried to install your plug in but I'm getting the error box - no file to load. Any ideas?
    Celina
    Please get a screen-capture of the error-message and post it that way we can then try to help solve the issue. I suspect from what you say here and other of your posts that you are not installing these plugins properly...
    Please reread the installation instructions that accompany almost all Plugins
    This thread covers many issues http://forums.sketchucation.com/viewtopic.php?f=323&t=35746
    Also as a MAC user please double check you are using the right Plugins folder and that any files that are supplied in a subfolder within a zip file are left inside an equivalent subfolder inside the Plugins folder - some poor [or badly optioned] unzip tools ignore the subfolders and don't extract properly. Also if you have inadvertently put any such files into Plugins that shouldn't be there please remove them before restarting Sketchup as these could we cause unexpected problems as all scripts directly within Plugins will auto-load...

    TIG

    1 Reply Last reply Reply Quote 0
    • D Offline
      DesignChest
      last edited by 16 Jun 2011, 09:27

      Thanks Tig

      I knew it must be something i was not doing. Will follow your instructs and fingers crossed I'll be on my way. I have had a bit of headway with some of the installs now.

      Trying to get my animations up to scratch for a client whom I am hoping to design a great film set for. So used to hand drafting that the world of sketchup is just opening up to me, so bear with me - a little green still.


      http://img823.imageshack.us/img823/2785/953499.png

      ]

      1 Reply Last reply Reply Quote 0
      • V Offline
        Viztecture
        last edited by 22 Jul 2011, 07:44

        Great plugin! Couple of questions tho,

        How do you control the speed of the animation after turning it into scenes. I say this because on the model I have, I get only one very slow speed regardless of how many transition frames I use, i have used numbers from 1 to 999 and I see no difference.

        Also does this actually work with Vray? If so does anyone know how?

        Cheers

        http://www.viztecture.mfbiz.com

        1 Reply Last reply Reply Quote 0
        • V Offline
          Viztecture
          last edited by 22 Jul 2011, 08:28

          Ok I used scene transitions.rb and it works a treat now. New problem now lol. The animation is not smooth, im still getting jumps as the camera slows towards the next scene. Its fine on the preview however... any suggestions?

          http://www.viztecture.mfbiz.com

          1 Reply Last reply Reply Quote 0
          • V Offline
            Viztecture
            last edited by 22 Jul 2011, 09:00

            Ok think I got it, in preferences, SU scene transitions need to be longer than the actual keymaker transitions, i.e max 100 secs. This seems to smooth over the animation and stops SU taking over. Im still confused why i have to workaround this, guess im doing something wrong

            *EDIT . actually that hasn't worked πŸ˜’

            http://www.viztecture.mfbiz.com

            1 Reply Last reply Reply Quote 0
            • J Offline
              jcohen71
              last edited by 22 Jul 2011, 20:23

              I tried to use CameraKeyMaker on a Mac running Sketchup 8, but ran in to the same problem others have mentioned: I cannot seem to find an equivilant key combination to Alt-Q used on Windows, and so I can't place any camera keys. (neither Opt-Q or Ctrl-Q work for me)

              If there's a simple fix for this I'd love to hear about it, otherwise I'll eagerly wait for the next version. This seems like a great tool that we could use on many projects.

              Best Regards,

              Joshua Cohen
              Fat Pencil Studio
              +1.503.465.4533
              info@fatpencilstudio.com

              1 Reply Last reply Reply Quote 0
              • D Offline
                driven
                last edited by 22 Jul 2011, 20:59

                @jcohen71 said:

                If there's a simple fix for this I'd love to hear about it,

                in camera_key_maker.rb
                I changed line 387 to read

                if key == 81 and $preview == false
                

                I then did a search and replace for the word Alt and replaced it with Shift,

                so Shift+ Q works on my mac...

                learn from the mistakes of others, you may not live long enough to make them all yourself...

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 23 Jul 2011, 16:26

                  I do not know this tool in any detail... but in passing... I see that there are $ global variables like '$preview' these are dangerous - especially if they have simplistic names [like 'preview'] as other authors might have used them [ill-advisedly] too, as globals works across all scripts in that session - better to use '@preview' as an instance variable, or '@@preview' as a class variable, to hold your data specifically for your own tool so such potential clashes are avoided... πŸ€“

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    macgile
                    last edited by 23 Jul 2011, 23:46

                    @tig said:

                    I do not know this tool in any detail... but in passing... I see that there are $ global variables like '$preview' these are dangerous - especially if they have simplistic names [like 'preview'] as other authors might have used them [ill-advisedly] too, as globals works across all scripts in that session - better to use '@preview' as an instance variable, or '@@preview' as a class variable, to hold your data specifically for your own tool so such potential clashes are avoided... πŸ€“

                    Yes TIG

                    when I developed this plugin I had only one months experience the ruby language and API sketchup.
                    certainly you will find other errors of this type in the source, but I perfecting every day.
                    in the next release several beginner mistakes are corrected but it will remain.

                    best regard πŸ˜„

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      vtrdo
                      last edited by 14 Sept 2011, 11:11

                      hi guys

                      i have here a bit strange behavior of the plug ..

                      I have set up simple fly-around with 10 camera Keys - previews look perfect , smooth and going exactly as we want... ... camera follows busier curve ...till this moment everything is nice and easy

                      problems are: ➑
                      1/after i press the ENTER even if i change the number for Frames between each key I always get 19 scenes .. is this correct?
                      2/ ❗ bigger one scenes which were produced change the Field of View and positions now it is in position is same as the key ...

                      What can i do to get result same as Preview ... or do i have to set up properly the Keys and forget what the preview is showing??

                      many thanks!!!!

                      1 Reply Last reply Reply Quote 0
                      • majidM Offline
                        majid
                        last edited by 27 Sept 2011, 13:17

                        😞 I can't run it at all!!!! any conflict with other plugs?
                        where I must seek it? plugin menu? tools menu?
                        how can I activate it's toolbar (ui) please?


                        edit: thanks ... wow this is wonderful, thank you, I was seeking it in false place. πŸ‘ πŸ‘
                        I just wondering how can I edit the path?

                        My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          theVonZipper
                          last edited by 24 Oct 2011, 19:37

                          Trying out CameraKeyMaker on a winXP. Doesn't behave like the video tutorial. (BTW, is there supposed to be audio with that video?)
                          Although Alt-Q does add a key frame, I cannot use the orbit tool to reposition the camera. The CameraKeyMaker feedback onscreen disappears & as far as I can tell the script ends.
                          What is available is a dotted sphere to mark position. I clicked on that & circled a cube. Hitting enter did send the key frames to scenes. But the scenes created this way do not orbit the cube.
                          Is there a new version available yet? (The version I am trying out does not iclude the 1.0 designation anywhere in its name or files).

                          If I could get it to work it would be a great feature.
                          Thanks,
                          -=Zip

                          1 Reply Last reply Reply Quote 0
                          • simon le bonS Offline
                            simon le bon
                            last edited by 7 Jan 2012, 23:22

                            Hi macgile,

                            I'm using/learning your tool since few days. After a hard start, I now begin to tame it pretty well. I understand now how I can manage the bezier camera path. It is a cool tool πŸ‘ πŸ˜„ and the exported animations are nicely fluid πŸ‘ πŸ‘
                            I begin to see some requests to ask for.
                            But the main thing I'm confronted in is a problem of angle of camera.

                            I just have finished a complex camera path with a complex model and have launched CameraMaker scenes maker. I realize something I hadn't noticed in my trainings: is that animation uses a fixed camera angle of 30Β° !! This is too short!
                            Standard angle in sketchup is 35Β° , I for my part have made the all camera path with a wider angle of 50Β°. Now my animation is to much cropped. πŸ˜’

                            I have tried to update the scenes one by one (the firsts of my 69 scenes!) with this 50Β° angle but it seems that some geometry don't display satisfactorily.

                            Do you think it is possible to do something ? or it is a big update of the code!

                            Cheers,
                            Simon.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 7 Jan 2012, 23:44

                              Perhaps the line
                              @camera = @view.camera
                              could be followed by
                              @camera.fov = 50.0
                              or whatever fov-angle you'd like ?

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • simon le bonS Offline
                                simon le bon
                                last edited by 8 Jan 2012, 08:31

                                Hi Tig, πŸ˜„

                                Thanks for the advice. I shall try this tomorrow.

                                    • simon
                                1 Reply Last reply Reply Quote 0
                                • simon le bonS Offline
                                  simon le bon
                                  last edited by 8 Jan 2012, 20:12

                                  Hi TIG,

                                  I've just tried what you were recommending

                                  @tig said:

                                  Perhaps the line
                                  @camera = @view.camera
                                  could be followed by
                                  @camera.fov = 50.0
                                  or whatever fov-angle you'd like ?

                                  Resulting to this change, the camera is set to 50Β° as soon as I activate CameraKeyMaker tool . But when my Alt+Q camera shots are done and I clic "Enter" to call the SET UP SCENES and "OK" , created scenes are still cropped back to camera 30Β°.
                                  I have made a search on "30°" into the ruby txt, but the specified string was not found. 😞

                                  Do you have any other idea?

                                  πŸ˜• simon

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 8 Jan 2012, 20:27

                                    The screen size [width/height etc] is set in code later on - perhaps this is cropping the image ?
                                    I don't use this tool so I am winging it here πŸ˜•

                                    view.camera.set(eye, target, up)
                                    if @save_image
                                            keys = {
                                             ;filename => @fileName,
                                             ;width => 320,
                                             ;height => 240,
                                             ;antialias => true,
                                             ;compression => 0.9,
                                            ;transparent => true }
                                            view.write_image keys
                                           end
                                    

                                    have you tried changing those ?
                                    Trying changing the width/height proportions...

                                    Also perhaps add view.camera.fov=50.0 before 'keys' ???
                                    Also ' newCamera' is set perhaps you need to set newCamera.fov=50.0 too ?

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • simon le bonS Offline
                                      simon le bon
                                      last edited by 8 Jan 2012, 21:23

                                      Hi TIG,

                                      "crop" is probably a wrong word I have used. I tell this way to express that the 30° telephoto produces like a zooming into the field. (oups my english 😳 )

                                      @tig said:

                                      try changing those
                                      Also perhaps add view.camera.fov=50.0 before 'keys' ???
                                      Also ' newCamera' is set perhaps you need to set newCamera.fov=50.0 too ?

                                      They both don't change the 30Β° scenes output

                                      first try:

                                      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/2012-01-08_220506.jpg

                                      second try:

                                      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/2012-01-08_215157.jpg

                                      I believe in the second one because:

                                           generate_scene = true
                                      
                                            if generate_scene
                                      

                                      is the place where I'm searching to change the camera opening field. Is the way I have add the line is good?

                                      πŸ˜• s

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        driven
                                        last edited by 8 Jan 2012, 22:12

                                        hi,

                                        Your output image dims ratio is 1.333, if the window isn't a same ratio it causes problems on mac's...

                                        or you could try running Martin's camera Stats, might show you what's happening.http://forums.sketchucation.com/viewtopic.php?t=27835

                                        john

                                        learn from the mistakes of others, you may not live long enough to make them all yourself...

                                        1 Reply Last reply Reply Quote 0
                                        • simon le bonS Offline
                                          simon le bon
                                          last edited by 8 Jan 2012, 22:46

                                          Hi John,

                                          Thank you for your cent.

                                          Y
                                          @unknownuser said:

                                          our output image dims ratio is 1.333, if the window isn't a same ratio it causes problems on mac's...

                                          I have tried a 16/9 format (ratio: 1.66 ) but I don't notice any different result ❓

                                           if @save_image
                                                  keys = {
                                                   ;filename => @fileName,
                                                   ;width => 1000,
                                                   ;height => 602,
                                          

                                          I have downloaded and used [Plugin] Camera Stats by MartinRinehart : it confirms my fields of view

                                          Cheers,
                                          simon

                                          PS: I just have sent a PM to macgile . wait and see. πŸ˜’

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

                                          Advertisement