• 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 21 Oct 2014, 15:33

    I added the menu entry. It saves the scenes and shows in the console each scene's filename.
    I haven't found a way to allow undoing, so be careful.

    1 Reply Last reply Reply Quote 0
    • R Offline
      rami_lpm
      last edited by 21 Oct 2014, 15:53

      Adding the option to make the scenes shouldn't be such a problem. I'll get on it.
      I wasn't aware of Renderiza PanoScene.
      It's strange that the output from cubicpanoout doesn't work with my html. Its basically the same concept and output.
      (edit: on second thought no, it is not. I had to change the scenes order and rotation to make work easier with WebGL )

      1 Reply Last reply Reply Quote 0
      • S Offline
        srx
        last edited by 21 Oct 2014, 18:39

        It works! I checked with Thea render. All I had to do was to adjust the resolution to 2048x2048. Making WEB panorama in a few minutes (+ rendering time). Thank you for making this possible. 😍

        www.saurus.rs

        1 Reply Last reply Reply Quote 0
        • R Offline
          rami_lpm
          last edited by 21 Oct 2014, 20:06

          Good. I'll get a renderer and take a look.

          1 Reply Last reply Reply Quote 0
          • S Offline
            srx
            last edited by 22 Oct 2014, 08:00

            Here is my try.
            6 preview images rendered in Thea4SU, Presto engine, 1 minute each, 6 minutes all.
            All in all from model to web panorama in 10 minutes!

            I made a mistake of adding vignetting which is seen in panorama...Other then that very good result.

            Link Preview Image
            Page not found - Arhitektonski studio SAURUS

            favicon

            Arhitektonski studio SAURUS (www.saurus.rs)

            Thanks again. πŸ‘

            www.saurus.rs

            1 Reply Last reply Reply Quote 0
            • G Offline
              gashtan
              last edited by 25 Oct 2014, 17:42

              I have som problem with this plugin...need I install Three.js too? If I install plugin, ruby window write me an error

              Error Loading File RamTools_Panorama.rb
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; odd number list for Hash
              						@options = { title; "RamTools Panorama Output", r...
              						                   ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ';', expecting '}'
              						@options = { title; "RamTools Panorama Output", r...
              						                   ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ...e; "RamTools Panorama Output", renderer; "Canvas", askFolder...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ...a Output", renderer; "Canvas", askFolder; "No", fov; "55", p...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ...er; "Canvas", askFolder; "No", fov; "55", path; "Ask", compV...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ...", askFolder; "No", fov; "55", path; "Ask", compVal; "0.6", ...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ... "No", fov; "55", path; "Ask", compVal; "0.6", isDebug; fals...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ..., path; "Ask", compVal; "0.6", isDebug; false, tTag; true, i...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; Can't assign to false
              ...ompVal; "0.6", isDebug; false, tTag; true, imgRes; "2048", o...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ';', expecting '='
              ...; "0.6", isDebug; false, tTag; true, imgRes; "2048", ownTemp...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; Can't assign to true
              ...", isDebug; false, tTag; true, imgRes; "2048", ownTemplate; ...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ';', expecting '='
              ...ug; false, tTag; true, imgRes; "2048", ownTemplate; false, i...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ...e, tTag; true, imgRes; "2048", ownTemplate; false, invContro...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; Can't assign to false
              ...s; "2048", ownTemplate; false, invControls; "No", fnHtml; "t...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ';', expecting '='
              ...nTemplate; false, invControls; "No", fnHtml; "template2.html...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ...ate; false, invControls; "No", fnHtml; "template2.html", fnC...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ',', expecting kEND
              ...No", fnHtml; "template2.html", fnCss;"template2.css", fnJs; ...
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected ';', expecting kEND
              ..., fnCss;"template2.css", fnJs; "template2.js" }
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;137; syntax error, unexpected '}', expecting kEND
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;423; syntax error, unexpected ',', expecting '='
              ...name="pano", html_template_fn,css_filename, js_template_fn)
                                            ^
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;423; syntax error, unexpected ')', expecting '='
              C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb;703; syntax error, unexpected $end, expecting kEND
              file_loaded( __FILE__ )
                                     ^
              

              Is it compatibile with SU8 anyway? Thanks for your answer.

              1 Reply Last reply Reply Quote 0
              • R Offline
                rami_lpm
                last edited by 26 Oct 2014, 12:40

                @gashtan said:

                Is it compatibile with SU8 anyway?

                I think not, sorry. They changed the ruby version for sketchup 2014. I think it has to do with that. I'll see if I can fix it.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  driven
                  last edited by 26 Oct 2014, 21:29

                  hi,

                  very interesting...

                  I thought maybe you could ask to change perspective...

                        #test perspective, if parallel, ask to change now, or return
                        if !cam.perspective? then
                         result = UI.messagebox('Camera must be perspective, not parallel, change now?', MB_YESNO)
                           if result == IDYES
                             cam.perspective = true
                           else
                            return
                           end
                        end
                  

                  I'll have a closer look if i get a chance...

                  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
                  • R Offline
                    rami_lpm
                    last edited by 29 Oct 2014, 15:02

                    @driven said:

                    I thought maybe you could ask to change perspective...

                    I'm not sure. Most panoramas require a carefully placed camera.
                    If I switch automatically from a parallel camera, I don't know if the panorama will be useful. Remember that writing the images can take several minutes.
                    Thanks for the advice anyway.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      T774AM12RUS
                      last edited by 31 Oct 2014, 11:26

                      Hello
                      I have an error window on start:

                      Error Loading File RamTools_Panorama.rb
                      C:/Program Files/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb:424: syntax error, unexpected ',', expecting '='
                      ...name="pano", html_template_fn,css_filename, js_template_fn)
                      ^
                      C:/Program Files/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb:424: syntax error, unexpected ')', expecting '='
                      C:/Program Files/Google/Google SketchUp 8/Plugins/RamTools_Panorama.rb:703: syntax error, unexpected kEND, expecting $end
                      end #module pano
                      ^

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        rami_lpm
                        last edited by 31 Oct 2014, 14:48

                        Yes, that's because v0.3 didn't support SU8. The newest version(0.31) should work fine.

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          erikB
                          last edited by 31 Oct 2014, 16:52

                          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
                          • S Offline
                            srx
                            last edited by 1 Nov 2014, 10:43

                            @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
                            • E Offline
                              erikB
                              last edited by 3 Nov 2014, 13:31

                              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
                              • R Offline
                                Rich O Brien Moderator
                                last edited by 3 Nov 2014, 13:54

                                @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
                                • E Offline
                                  erikB
                                  last edited by 3 Nov 2014, 14:29

                                  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
                                  • R Offline
                                    Rich O Brien Moderator
                                    last edited by 3 Nov 2014, 15:34

                                    testing something

                                    {edit}killed test{edit}

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

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      rami_lpm
                                      last edited by 3 Nov 2014, 17:37

                                      @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 3 Nov 2014, 23:35

                                        @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
                                        • R Offline
                                          Rich O Brien Moderator
                                          last edited by 3 Nov 2014, 23:40

                                          weird, I fail to understand why?

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

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

                                          Advertisement