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

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

Scheduled Pinned Locked Moved Plugins
71 Posts 18 Posters 14.9k 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.
  • R Offline
    rami_lpm
    last edited by 5 Apr 2016, 12:53

    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 19 Apr 2016, 16:00

      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
      • R Offline
        rami_lpm
        last edited by 19 Apr 2016, 18:02

        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
        • F Offline
          faust07
          last edited by 19 Apr 2016, 18:25

          Thank you for your quick response. The clipping problem is already mitigated by the possibility of external rendering of scenes. Reducing the number of files is only for the ease of use for normal users, clients or patients ... ๐Ÿ˜‰

          1 Reply Last reply Reply Quote 0
          • R Offline
            rami_lpm
            last edited by 19 Apr 2016, 19:07

            No problem.
            Hey, it turns out you can inline almost everything into a single html file. See this two articles. I'll see what I can do with this.
            Offline Application
            Inliner

            1 Reply Last reply Reply Quote 0
            • F Offline
              faust07
              last edited by 19 Apr 2016, 19:47

              That sounds great! I have looked into it ... I once - over 20 years ago - programmed a little and am now primarily user. So I understand very little and can only be amazed by your progress.

              1 Reply Last reply Reply Quote 0
              • R Offline
                rami_lpm
                last edited by 6 May 2016, 19:47

                I just updated the plugin.
                It should be able to wrap every panorama inside one rather big html file.

                Also, I realized that I myself started learning to code 20 years ago. Now I feel old. =P

                1 Reply Last reply Reply Quote 0
                • O Offline
                  Oxer
                  last edited by 8 May 2016, 13:57

                  Thanks for the plugin!!
                  I use Thea Render and works fine replacing the images generated for the plugin with images generated for Thea Render, only one question, when I select Custom Template, the titles to select the different filetype don't appear in the pop-up windows, see the image.

                  Titles missing.jpg

                  MAC 0S X 10.11.4 & SU2016

                  "The result is the end what is important is the process" by Oxer
                  [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rami_lpm
                    last edited by 9 May 2016, 19:12

                    Thank you for the feedback.
                    That's a strange behavior. 'custom template' requests three template files: html, css and js in that order.
                    Can you try pasting this line in the ruby console and telling me if it shows the title?

                    UI.openpanel("can you read this?", "~/","yes")
                    
                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      Oxer
                      last edited by 10 May 2016, 11:37

                      The title doesn't appear, see the image.

                      Title window.jpg

                      "The result is the end what is important is the process" by Oxer
                      [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        Oxer
                        last edited by 10 May 2016, 11:44

                        It's rare, but the window title to Choose Output Folder appears when click in Make panorama icon.

                        Choose Output Folder.jpg

                        (I have translate the plugin to Spanish language)

                        "The result is the end what is important is the process" by Oxer
                        [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rami_lpm
                          last edited by 10 May 2016, 12:18

                          So strange.
                          Makes no sense that UI.openpanel has this bug and UI.savepanel doesn't.
                          I guess it's a problem with ruby and OS X. I'll see if there is a way around it.

                          Thanks for letting me know.

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            faust07
                            last edited by 17 May 2016, 17:59

                            Late answer after my vacation. To pack a panorama in one HTML file, works very well. Great job. ๐Ÿ‘ Here's an example. I found no way to assign a file name from the pull-down menu. It always wants open an existing file.


                            unzip - includes panoramic html-file


                            test scene

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rami_lpm
                              last edited by 17 May 2016, 20:00

                              Thanks.
                              Nice scene!
                              Yes, filenames are a little restricted because I wrote the plugin mostly for the web.
                              What filenames would you like to change?

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                faust07
                                last edited by 18 May 2016, 14:55

                                After some consideration the predefined names are fine. A small inconsistency is at the upper side of the cube, when I use the default SketchUp sky. This is not shown in the panoramas in the color of the sky but in the background color.

                                1 Reply Last reply Reply Quote 0
                                • brettsichellodesignB Offline
                                  brettsichellodesign
                                  last edited by 22 Nov 2016, 18:14

                                  I am getting some problems with this plugin in SU 2017. The images don't appear to be stitching together properly.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    rami_lpm
                                    last edited by 22 Nov 2016, 18:43

                                    I haven't tested it in SU 2017 yet. I'll see what I can do.
                                    Thanks for the heads up.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rami_lpm
                                      last edited by 24 Nov 2016, 22:51

                                      Ok, I've tested it, it appears that the exported images have a black border (bottom and right).
                                      Can anyone else confirm this?
                                      I'll try and fix it.

                                      1 Reply Last reply Reply Quote 0
                                      • srxS Offline
                                        srx
                                        last edited by 25 Nov 2016, 07:54

                                        Yes. The edges of the box are visible.

                                        www.saurus.rs

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rami_lpm
                                          last edited by 25 Nov 2016, 22:06

                                          I've found a workaround, if you set the resolution to 1020 or 2036, the edges are gone.

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

                                          Advertisement