sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] WebGL Cubic Panorama (update 2016-05-06)

    Scheduled Pinned Locked Moved Plugins
    71 Posts 18 Posters 15.0k Views 18 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.
    • erikBE Offline
      erikB
      last edited by

      srx,
      would you mind posting a step by step description how you used this plugin and su4thea to create your rendered panos ?
      erikB

      1 Reply Last reply Reply Quote 0
      • srxS Offline
        srx
        last edited by

        @erikb said:

        srx,
        would you mind posting a step by step description how you used this plugin and su4thea to create your rendered panos ?
        erikB

        Nothing serious...
        1 Make WEBGL panorama with plugin. It will create images named pano001, pano002 etc in the folder panorama. Check if it works.
        2 Use "Save current camera scenes" option of the plugin to create SketchUp scenes.
        3 Render those scenes with SU4Thea(do not use Vigneting) and save each rendered scene over the matching pano001,... from the step 1
        That's all.

        www.saurus.rs

        1 Reply Last reply Reply Quote 0
        • erikBE Offline
          erikB
          last edited by

          srx,
          Sorry to bother you again, but what I could not figure out is still unclear. Where is the option to "save current camera scenes" of the plugin ?
          PS.
          erikB
          Win 7 64

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator
            last edited by

            @erikb said:

            Where is the option to "save current camera scenes" of the plugin ?

            In SU place the camera where you would like the panorama to be generated from.

            Create a scene

            Now under Plugins > Panorama > Save Current Camera Scenes

            This will generate the cubic scenes from that scene. The scenes name will be prefixed and suffixed with p[scene_name]_# eg Scene 1 will have 6 new scenes added called Scene 1_1, Scene 1_2 etc.....

            Use these scenes in Thea

            Download the free D'oh Book for SketchUp ๐Ÿ“–

            1 Reply Last reply Reply Quote 0
            • erikBE Offline
              erikB
              last edited by

              thank you,
              Just found it myself. Lesson 1: "read" the comments from the maker. I was only working with the icons toolbar and could not understand why I couldn't find it. ๐Ÿ˜ณ
              anyway thanks Rich

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Offline
                Rich O Brien Moderator
                last edited by

                testing something

                {edit}killed test{edit}

                Download the free D'oh Book for SketchUp ๐Ÿ“–

                1 Reply Last reply Reply Quote 0
                • rami_lpmR Offline
                  rami_lpm
                  last edited by

                  @erikb said:

                  I was only working with the icons toolbar

                  Hey. Sorry, I didn't make a button for that because I still haven't found a way to undo it, and so many scenes can disorganize your model very quickly. (you can always delete them manually, but I find it awkward)

                  Rich, that is awesome, I didn't know you could insert stuff like that in phpBB.

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

                    @Rich
                    your test breaks the page in Safari...

                    I had to disable images to post...

                    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
                    • Rich O BrienR Offline
                      Rich O Brien Moderator
                      last edited by

                      weird, I fail to understand why?

                      Download the free D'oh Book for SketchUp ๐Ÿ“–

                      1 Reply Last reply Reply Quote 0
                      • pilouP Offline
                        pilou
                        last edited by

                        No zoom on the Panorama ?

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

                        1 Reply Last reply Reply Quote 0
                        • rami_lpmR Offline
                          rami_lpm
                          last edited by

                          I think I can make it zoom. I'm not a java whiz but I'll give it a try.

                          Edit: ok, it should work now.

                          1 Reply Last reply Reply Quote 0
                          • jo-keJ Offline
                            jo-ke
                            last edited by

                            zoom is possible with the mouse wheel.

                            very nice plugin. I always wanted to have a pure SU- pano. That's it!

                            http://www.zz7.de

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

                              Rami,
                              Nice work on the script. It contains a lot of the features that I had hoped the next version of CubicPanoOut would contain.
                              Regards,
                              wehby

                              1 Reply Last reply Reply Quote 0
                              • rami_lpmR Offline
                                rami_lpm
                                last edited by

                                hey, you're welcome. I wrote this because I needed an easier CubicPanoOut.

                                1 Reply Last reply Reply Quote 0
                                • F Offline
                                  framed
                                  last edited by

                                  Thanks for the fantastic plugin! Is it possible to restrict the pano extents to create partial panoramas (i.e. not 360 degrees)?

                                  1 Reply Last reply Reply Quote 0
                                  • rami_lpmR Offline
                                    rami_lpm
                                    last edited by

                                    yes, but you'll have to modify a bit of code.

                                    open the file pano0.js with notepad, should be on the same folder as the panoramic images.
                                    (the name may be different, but the same as the .html file that shows the panorama)

                                    add this under line 100 ( the one that goes lat=00;lon=00 )

                                    leftLimit=lon-90;rightLimit=lon+90;bottomLimit=lat-80;topLimit=lat+80;
                                    

                                    you can modify this angles to the values you need.

                                    then add this under line 107 ( function update(){ )

                                    if ( lon < leftLimit ) { lon = leftLimit };if ( lon > rightLimit ) { lon = rightLimit };if ( lat < bottomLimit ) { lat = bottomLimit };if ( lat > topLimit ) { lat = topLimit };
                                    

                                    and that should do it.
                                    I'll make this easier when I get the time.
                                    I'm here if you have any questions.

                                    thanks for using my plugin.

                                    1 Reply Last reply Reply Quote 0
                                    • F Offline
                                      framed
                                      last edited by

                                      Thanks for your quick response. Using the extra lines of code you provided worked, kind of. You can still pan beyond the limit then it snaps back. This is a bit ugly. What would be better is if the pano hits a wall at the limit, can't go any further, and doesn't render anything beyond the limit. Is this possible?

                                      Also, I note that when using the Canvas renderer, there is warping of the images (straight lines get drawn squiggly) and there are vertical lines at the image joins. Can this be fixed? WebGL doesn't have these issues so I'm just using that instead.

                                      1 Reply Last reply Reply Quote 0
                                      • rami_lpmR Offline
                                        rami_lpm
                                        last edited by

                                        That's strange, it should stop, not pan beyond the limit.
                                        It's not possible to stop rendering after the limit because of the way the plugin is built.
                                        What's your browser and version?
                                        Can you send me the files so I can test it?
                                        Thanks.

                                        1 Reply Last reply Reply Quote 0
                                        • F Offline
                                          faust07
                                          last edited by

                                          Works great even with pictures from scenes of external renderers. Issuing panoramas directly from SketchUp results for large models to the known clipping problem, especially from the pedestrian perspective in the bottom area. And especially when shadows are enabled.
                                          A short question: Is it feasible to reduce the many generated files to one html Start file and another file containing everything else (especially with several panoramas)?

                                          1 Reply Last reply Reply Quote 0
                                          • rami_lpmR Offline
                                            rami_lpm
                                            last edited by

                                            I work in metric and rarely encountered the clipping problem.
                                            Can you try scaling up the model before taking the panorama? (a pain, I know, but the only solution I can think of)
                                            Sadly, no. I can't reduce the number of files. Each file is required and I don't know a way of packing them all together.
                                            Maybe you can try generating the images with CubicPanoOut and stitching them with GoCubic. This outputs a single quicktime file for each panorama.
                                            That is what I used to do before writing this plugin (so I could stop relying on quicktime).
                                            CubicPanoOut
                                            GoCubic

                                            Anyway, I'll try and find a 'one file' solution.

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

                                            Advertisement