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

    360 Camera

    Scheduled Pinned Locked Moved Developers' Forum
    22 Posts 14 Posters 22.6k Views 14 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

      Does anyone have a script that can rotate the camera around an object for exporting a series of images?

      I wanted to see what type of results could be achieved with this little bit of javascript to create "animations" on a web page. The animations on the page are a series of still images.

      And actually, it could be used for a shade study animation being discussed here.

      Hi

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by

        Wouldn't be that tough to write, but I don't have one.

        Wanna do a community project?

        1 Reply Last reply Reply Quote 0
        • JClementsJ Offline
          JClements
          last edited by

          Maybe two options?

          Around an object/selection or Out from the center of an object/selection?

          John | Illustrator | Beaverton, Oregon

          1 Reply Last reply Reply Quote 0
          • G Offline
            gata
            last edited by

            http://www.smustard.com/script/CubicPanoOut?

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by

              @jclements said:

              Maybe two options?

              Around an object/selection or Out from the center of an object/selection?

              Toward the object.

              I was thinking... group everything you want to view and use the BoundingBox center for the camera target and center of rotation.

              If you look at the page, the script can have 1 - 7 camera levels (heights), and any number of positions around each circular level.

              Hi

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                @gata said:

                http://www.smustard.com/script/CubicPanoOut?

                Yes, I've already looked at it. What I want to do is a good candidate for a "been there, done that" script. πŸ˜„

                Hi

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by

                  @unknownuser said:

                  Wouldn't be that tough to write, but I don't have one.

                  Wanna do a community project?

                  Sounds like fun!

                  
                  # 3dnp.rb
                  #
                  require "sketchup.rb"
                  
                  

                  Ok, pick it up from there. πŸ˜‰ All kidding aside, this is a great idea Todd! It would be a great learning experience for anyone who would like to participate, or just follow along.

                  If there's enough interest, I suggest starting a new topic for the project.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • PixeroP Offline
                    Pixero
                    last edited by

                    Not sure I can contribute much, but I sure like to follow the development. πŸ˜„

                    1 Reply Last reply Reply Quote 0
                    • soloS Offline
                      solo
                      last edited by

                      I'm with Pixero on this one (I am totally script challenged)

                      But am interested to learn how a script comes together (said in A-team theme)

                      http://www.solos-art.com

                      If you see a toilet in your dreams do not use it.

                      1 Reply Last reply Reply Quote 0
                      • GaieusG Offline
                        Gaieus
                        last edited by

                        Jim,

                        Why not use the flightpath.rb? You can draw a circle around the object you want to take the animation of and create the camera positions on it by using the model extent tool. Afterwards you can export the animation as standalone images.


                        Nice effect with that javascript, too!
                        I have a panorama (pure photo though) rotated by a javascript here, too (it wasn't me who wrote the script of course - I just edited it to my needs).

                        Gai...

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          wikii
                          last edited by

                          I write one today. Try it,jim.


                          creat360view.rb

                          1 Reply Last reply Reply Quote 0
                          • soloS Offline
                            solo
                            last edited by

                            Those spinning tables made me dizzy!

                            http://www.solos-art.com

                            If you see a toilet in your dreams do not use it.

                            1 Reply Last reply Reply Quote 0
                            • tbdT Offline
                              tbd
                              last edited by

                              later edit: quick test using wikii script + my Xporter and another javascript

                              project space created on http://code.google.com/p/su2web/ - feel free to join

                              SketchUp Ruby Consultant | Podium 1.x developer
                              http://plugins.ro

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                Jim
                                last edited by

                                @unknownuser said:

                                later edit: quick test using wikii script + my Xporter and another javascript

                                project space created on http://code.google.com/p/su2web/ - feel free to join

                                Looks better already! How about a larger image with shadows?

                                Hi

                                1 Reply Last reply Reply Quote 0
                                • tbdT Offline
                                  tbd
                                  last edited by

                                  here is another try with a car (not that smooth as it has only 10 images - 205kb)

                                  SketchUp Ruby Consultant | Podium 1.x developer
                                  http://plugins.ro

                                  1 Reply Last reply Reply Quote 0
                                  • tbdT Offline
                                    tbd
                                    last edited by

                                    ... and shadow test (needs a limit so that shadows doesn't jump πŸ˜‰

                                    SketchUp Ruby Consultant | Podium 1.x developer
                                    http://plugins.ro

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sepo
                                      last edited by

                                      The car looks quite good. I supose the model is bigger as well. Cool.

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        Jim
                                        last edited by

                                        @jclements said:

                                        Maybe two options?

                                        Around an object/selection or Out from the center of an object/selection?

                                        That's another good idea! I can't think of any reason a panoramic animation wouldn't work using the same technique (basically, a digital flip-book.)

                                        Hi

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wehby
                                          last edited by

                                          The javascript ptviewer enables viewing both of Object VR and panoramic VR. Didier wrote a script back in Dec'06 that exports images around an object(vrobj_exporter.rb). With the right HTML template to give instructions to PTViewer.jar, the images created from TBD's Xporter, Didier's VObj exporter, or my cubicpanoout.rb.

                                          I have already created the template for use with cubicpanoout, it's just a matter of finding the time to alter the script to use ftools to copy ptviewer.jar and the template into the same folder as the images are exported. It looks like Google may beat me to it, since they already have a slick interface and everything (from Web Exporter).

                                          -wehby

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            ScottPara
                                            last edited by

                                            This would be a great script as it is something like I asked for but I wanted the camera to rotate in place 360 degrees, but I will take this one just as well. PLEASE develop this one.

                                            Scott

                                            Love the fact that some HATE my avatar.....

                                            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