• Login
sketchucation logo sketchucation
  • Login
🔌 Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

REQ: ANother camera

Scheduled Pinned Locked Moved Developers' Forum
31 Posts 10 Posters 1.9k Views 10 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.
  • N Offline
    nomeradona
    last edited by 18 Sept 2008, 02:03

    would it be possible to have a ruby that create a new camera other than the default sketchup camera. and then in animation you can even let the camera to follow a path...

    by having a new camera you can even control and identify its actual location.

    visit my blog: http://www.nomeradona.blogspot.com

    1 Reply Last reply Reply Quote 0
    • C Offline
      Chris Fullmer
      last edited by 18 Sept 2008, 17:08

      There is the film and stage plugin that you can download from google here:

      well, I can't find a link right now. Sorry. Anyone else got it out there?

      Anyhow, that will let you create an actual camera objcet that has some caera properties associated with it. Like aspect ratio, roll, pan, tilt, etc. So that is a great tool for controling cameras physically. Unfortunately there is no way to animate their camera though. At least nothing that is actually useful.

      Chris

      Lately you've been tan, suspicious for the winter.
      All my Plugins I've written

      1 Reply Last reply Reply Quote 0
      • N Offline
        nomeradona
        last edited by 19 Sept 2008, 02:23

        a request is a camera with its own proxy, that you can view in the default SU camera. but if you hit another camera button then, it will override the SU camera instead, and now you are using the view of that new camera.

        thanks chris. with that i will look at that one.

        but do you think i will able know the exact distance of my camera to the object then?

        visit my blog: http://www.nomeradona.blogspot.com

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 19 Sept 2008, 02:30

          You can create as many cameras as you like, but I'm not sure why one would want to? You can only use one at a time. You can move the default camera around using Ruby, just as you can move any entity.

          
          camera = Sketchup.active_model.active_view.camera
          camera2 = Sketchup;;Camera.new
          eye = Geom;;Point3d.new(120, 120, 120)
          target = Geom;;Point3d.new
          up = Z_AXIS
          camera2.set eye, target, up
          Sketchup.active_model.active_view.camera = camera2
          
          

          Hi

          1 Reply Last reply Reply Quote 0
          • N Offline
            nomeradona
            last edited by 19 Sept 2008, 02:51

            thanks jim for highlighting that. sorry im so noob with those coding.. how shall i use the code that you have attached?

            why a lot of things which i would think vetr useful. if i know the distance of the camera with the objects, playing DOF with vray will be easy.

            • we will open a wide array of possibility in animation
            • if i can pick the the camera physically like normal group object, i can place it to any view that i want rather than scrolling, panning which are really taking a lot of time especially when you ahve a lot of geometry. i think the workflow is will be much easier.

            On the other hand i have not really look at film and stage plugin. i thought this was just a collection of components.

            visit my blog: http://www.nomeradona.blogspot.com

            1 Reply Last reply Reply Quote 0
            • C Offline
              Chris Fullmer
              last edited by 19 Sept 2008, 06:12

              There is the component collection fro film and stage, and there is also a plugin. Which I can't find right now. Let me dig around and I'll see if I can find a link in thenext 5 or 10 minutes.

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chris Fullmer
                last edited by 19 Sept 2008, 06:22

                ok, the plugin was never released for version 6 due to some bug (that actually existed in version 5, but no one noticed or cared). So here is a link to the version 5 plugins page. Scroll down and look for the film and stage plugin. It should work just fine, or pretty good at least.

                Error 404 (Not Found)!!1

                favicon

                (sketchup.google.com)

                Hope that helps,

                Chris

                Lately you've been tan, suspicious for the winter.
                All my Plugins I've written

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 19 Sept 2008, 09:16

                  Ok, I think I understand now. You would like a camera Component so you can manipulate it. So you insert a new Camera, move it, rotate it, etc. Then you could right-click and select an option "Use this Camera", or query the camera for it's position, distance to target, field of view. Is this correct?

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jenujacob
                    last edited by 19 Sept 2008, 10:23

                    that would be really handy... kinda like the 3dsmax cameras.... though i cant immediately think of any use here since SU doesnt support object animation....

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      nomeradona
                      last edited by 19 Sept 2008, 13:08

                      @jim said:

                      Ok, I think I understand now. You would like a camera Component so you can manipulate it. So you insert a new Camera, move it, rotate it, etc. Then you could right-click and select an option "Use this Camera", or query the camera for it's position, distance to target, field of view. Is this correct?

                      exactly jim... and even put it in tight space. i think when you have walls behind too, you ca n save a lot of time. coz sometimes, getting an angle near a face is so difficult where you can just suddenly behind this wall. and scrolling back again, then diffuculties happen again.

                      visit my blog: http://www.nomeradona.blogspot.com

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        nomeradona
                        last edited by 19 Sept 2008, 13:12

                        @chris fullmer said:

                        ok, the plugin was never released for version 6 due to some bug (that actually existed in version 5, but no one noticed or cared). So here is a link to the version 5 plugins page. Scroll down and look for the film and stage plugin. It should work just fine, or pretty good at least.

                        Error 404 (Not Found)!!1

                        favicon

                        (sketchup.google.com)

                        Hope that helps,

                        Chris

                        thanks chris... will try it.

                        visit my blog: http://www.nomeradona.blogspot.com

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          nomeradona
                          last edited by 19 Sept 2008, 13:13

                          @jenujacob said:

                          that would be really handy... kinda like the 3dsmax cameras.... though i cant immediately think of any use here since SU doesnt support object animation....

                          jenu... no one will know since su is keep on developing.

                          visit my blog: http://www.nomeradona.blogspot.com

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            Pixero
                            last edited by 19 Sept 2008, 14:28

                            @jim said:

                            Ok, I think I understand now. You would like a camera Component so you can manipulate it. So you insert a new Camera, move it, rotate it, etc. Then you could right-click and select an option "Use this Camera", or query the camera for it's position, distance to target, field of view. Is this correct?

                            I'd really like that too. And possibly a way of moving and rotating camera in the direction it is pointing. Like dollying etc.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jenujacob
                              last edited by 19 Sept 2008, 15:48

                              pixero,
                              we can already dolly in SU by holding down ctrl and orbiting.
                              and like nomer said.. sometimes getting wide angle shots by moving too close to the wall is a pain! so i would totally love to get virtual-cam components!

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                Chris Fullmer
                                last edited by 19 Sept 2008, 16:42

                                Pretty much all of these functionalities are handled in the film and stage plugin (except the ability to animate the camera, because that is not possible because of how SU works currently). Once you install it, there is new menu options under the Camera menu. It even gives you the distance to the object. Please everyone go install it and play with it, then come back to this thread to talk about how to improve it. Its an incredible script if you want more physical camera control.

                                The bugs in it are somewhere in how it handles. It is supposed to work so that while you are looking through the camera there are modifier keys you can hold to pan, tilt zoom, change FOV and stuff. I think some of those don't work. But you can still move the camera object like any other SU component. Rotate it, tilt it, etc manually. Seriously, its a great plugin.

                                Chris

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Pixero
                                  last edited by 19 Sept 2008, 17:22

                                  @jenujacob said:

                                  pixero,
                                  we can already dolly in SU by holding down ctrl and orbiting.
                                  and like nomer said.. sometimes getting wide angle shots by moving too close to the wall is a pain! so i would totally love to get virtual-cam components!

                                  I meant when looking at the camera in third person view.

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    Chris Fullmer
                                    last edited by 19 Sept 2008, 17:32

                                    @pixero said:

                                    I meant when looking at the camera in third person view.

                                    Film and stage plugin lets you do this already.

                                    I'm going to be a broken record until we all go download it and play with it.

                                    Lately you've been tan, suspicious for the winter.
                                    All my Plugins I've written

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Pixero
                                      last edited by 20 Sept 2008, 05:03

                                      @chris fullmer said:

                                      Film and stage plugin lets you do this already.

                                      I'm going to be a broken record until we all go download it and play with it.

                                      How? I have it installed and have had it for quite some time and yes, you can see the camera in third person view but AFAIK you cant move it along its local coordinate system.
                                      Meaning moving by dragging it along the cameras, not the world coordinate system.
                                      I hope I make myself clear.

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Chris Fullmer
                                        last edited by 20 Sept 2008, 07:30

                                        Hmm, I must be misunderstanding all the functionality that is desired then.

                                        It is supposed to have pan and tilt and dolly all built in to it. By holding shift and ctrl and CMD you can do different things. I am pretty sure they are buggy though. Truck and pedestal seem to be difficult to convce them to work. But that would have to be done while looking through it. So if you wanted a way to do that from 3rd person, than I guess that you are correct that it does not work like that. Maybe version 7 will add more camera support?

                                        Chris

                                        Lately you've been tan, suspicious for the winter.
                                        All my Plugins I've written

                                        1 Reply Last reply Reply Quote 0
                                        • mariochaM Offline
                                          mariocha
                                          last edited by 26 Sept 2008, 15:41

                                          Well, once camera type is set, select "Create Camera", Pan/Dolly appears in the lower left corner, so click & hold on the screen to see how they work. Hold shift to change to Truck/Pedestal. While doing so, you are looking throught the camera.
                                          Ctrl-click on screen to edit the camera, Tilt, and, IMPORTANT, select Done when satisfied.
                                          Does that help?

                                          %(#008000)[Mario C.
                                          Every rule has exceptions, but some.]

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

                                          Advertisement