[Plugin] WebGL Cubic Panorama (update 2016-05-06)
-
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
-
@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. -
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
^ -
Yes, that's because v0.3 didn't support SU8. The newest version(0.31) should work fine.
-
srx,
would you mind posting a step by step description how you used this plugin and su4thea to create your rendered panos ?
erikB -
@erikb said:
srx,
would you mind posting a step by step description how you used this plugin and su4thea to create your rendered panos ?
erikBNothing 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. -
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 -
@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
-
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 -
testing something
{edit}killed test{edit}
-
@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.
-
-
weird, I fail to understand why?
-
No zoom on the Panorama ?
-
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.
-
zoom is possible with the mouse wheel.
very nice plugin. I always wanted to have a pure SU- pano. That's it!
-
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 -
hey, you're welcome. I wrote this because I needed an easier CubicPanoOut.
-
Thanks for the fantastic plugin! Is it possible to restrict the pano extents to create partial panoramas (i.e. not 360 degrees)?
-
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.
Advertisement