sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    REQ: ANother camera

    Scheduled Pinned Locked Moved Developers' Forum
    31 Posts 10 Posters 2.1k 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.
    • J Offline
      Jim
      last edited by

      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

        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
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          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
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            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

              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
              • jenujacobJ Offline
                jenujacob
                last edited by

                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

                  @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

                    @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

                      @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
                      • PixeroP Offline
                        Pixero
                        last edited by

                        @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
                        • jenujacobJ Offline
                          jenujacob
                          last edited by

                          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
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            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
                            • PixeroP Offline
                              Pixero
                              last edited by

                              @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
                              • Chris FullmerC Offline
                                Chris Fullmer
                                last edited by

                                @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
                                • PixeroP Offline
                                  Pixero
                                  last edited by

                                  @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
                                  • Chris FullmerC Offline
                                    Chris Fullmer
                                    last edited by

                                    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

                                      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
                                      • D Offline
                                        Dik Harrison
                                        last edited by

                                        Help, I guess I'm loosing it in my old age, but search as I may, I cannot find the Film & Stage plugin. All I come up with is the Film & Stage components, and links to Style Builder. πŸ˜•

                                        Have fun...

                                        Dik

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          Dik Harrison
                                          last edited by

                                          Thanks Mario, even though I knew it was for v.5, I just didn't think to look for it on the older version plugin page. Like I said, getting older every day...

                                          Have fun...

                                          Dik

                                          1 Reply Last reply Reply Quote 0
                                          • mariochaM Offline
                                            mariocha
                                            last edited by

                                            @dik harrison said:

                                            Thanks Mario, ..

                                            Welcome.
                                            If your'e famyliar with Podium, could you check if you get the same view framing problem as I have ?
                                            That is set a camera type then render, viewport size, and see if the rendered view has the same framing as in SU. (Mac or Win doesn't matter)

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

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

                                            Advertisement