SU Podium Forum
Register  |   |   |  Calendar  |  Latest Topics
 
 
 


Reply
  Author   Comment   Page 1 of 3      1   2   3   Next
sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #1 


inspired by at3D's post here i figured out how to do cubic panoramas out of sketchup.

Version 1.1 took out some redundant/erroneus text, typos
Version 1.0 inital version

preliminary steps:

1) you need the CubicPanoOut.rb plugin that can be found here at Smustard.com for free.

2) you need a software to stitch together the 6 renderings we will create in the next steps. i had a view at a couple of them and think that for a start GoCubic (freeware) is the choice. get it here

3) you will need image manipulation software (such as photoshop), guess you have it, i'll only cover PS here.

rendering the images:

4) set the FOV to 90°

5) select your camera position, the process is easier to understand if you make sure that in a rectangular room your camera faces exactly one of the four faces, but actually it doesn't matter in which direction you look.

6) call the cubicpanoout plugin. set the resolution to whatever you like. if you like to pretest your position, choose something like 768px. create scene tabs has to be 'on'. i set top image correction 'off', just because i actually don't know what it does and i don't like automatic correction that i don't understand. and it worked anyway. hit the button, chose a folder, CubicPanoOut will now create 6 new scenes and export 6 images which you might want to use to test if your projections fit seamlessly.

--- if you'd like to pretest your panorama skip to step 10  ---

7) render your
6 panorama scenes, one after another. don't use 'render all' since it messes up something with the FOV or camera position. don't know exactly what it messes up but it does. use a resolution like 1024x768 for now, JPG output.

image preparation:
note: i made a couple of photoshop actions to automate steps 8) to 10), download them here

8) open the images in Photoshop (i got cs2, just in case yours looks a bit different). go to Image->Canvas Size. select the 'center' position button. enter the same value to the 'width' field as you see in the 'height' field (so: make it a square, 768px x 768px in our case).

9) doubleclick the background-layer to unlock it. hit ctrl-t to enable transformation mode. and scale the content by 150% proportionally.
(note: i have no idea why you have to do this, i just eventually found out).

10) save the image as jpg. the name has to end in a number which represents the position of the image in the cubic projection for GoCubic:
  1. Front
  2. Right
  3. Back
  4. Left
  5. Top (facing front)
  6. Bottom (facing front)
Note: The GoCubic's Instructions are erroneous at this point!

Exampla: panorama3.jpg for the backface projection. and put them all in the same folder.

creating the panorama:

11) open GoCubic. detailed usage (compression etc.) of GoCubic is explained on the site where you got it from. make sure that under 'Make Pano' 'cylindrical' is marked. click 'Make Pano'->'Make Pano Movie' and browse to the first (front-) projection image and double-click it. next select where to save your Cubic Quicktime Panorama.

12) open it in quicktime or view it in GoCubic. from my point of view it seems to look a bit better in quicktime.

sbx

heres a panorama i made today to figure this out:

http://dl-client.getdropbox.com/u/91992/sbxpano.mov

edit: attention. i updated the panorama. it weighs 6megs now.

zoom in with shift, zoom out with ctrl (on pc, haven't tried on mac yet).

__________________
real artists ship.
sepo

Avatar / Picture

Registered:
Posts: 4,371
Reply with quote  #2 

This looks good. Thank you. Would rendering true orthogonal projection be useful for pano?

sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #3 
Quote:
Would rendering true orthogonal projection be useful for pano?


i dont think so, actually. you need a FOV of 90° vertical and horizontal afaik. fixing render all would be really useful though. and custom (1:1 ratio) resolutions (e.g. 768x768). but i'd love orthogonal projection anyway.

__________________
real artists ship.
sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #4 
just finished the actions for photoshop (cs2).

just download, unzip and drag into your actions palette.

you can either use them image-per-image or batch them by using file->automate->batch.

one is with a little reminder on how to name the images, the second is for processing large numbers of images without user interaction (attention, this will blindly overwrite your file, so you might want to this on a copy...).

sbx

http://dl-client.getdropbox.com/u/91992/sbx_panoactions.zip


__________________
real artists ship.
sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #5 
Another interesting tutorial i just found. Not specifically for Podium but for the post-processing part. Including how to embed flash navigation and Hotspots (to create tours). Untested.

hit me! (fixed)

__________________
real artists ship.
sepo

Avatar / Picture

Registered:
Posts: 4,371
Reply with quote  #6 

Thanks for the heads up. I get 404.

sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #7 
i fixed the link by rerouting it via tinyurl.

__________________
real artists ship.
sepo

Avatar / Picture

Registered:
Posts: 4,371
Reply with quote  #8 

Looks promissing...need to give it a whirl.

sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #9 
Just made out a bug (in CubicPanoOut):

After using CubicPanoOut.rb your camera may give you other (unexpected) perspectives than expected when rendering, compared to what you see in the viewport.

As a workaround open the Ruby Console and issue "Sketchup.active_model.active_view.camera.image_width=0", without quotes.

This resets a fixed relation between horizontal and vertical FOV, which seems not to be unset properly by CubicPanoOut.rb.

sbx


__________________
real artists ship.
loneranger2k3

Registered:
Posts: 25
Reply with quote  #10 
hello all,

i am a big fan of what is going on here and it seem to be a very active way to show off a space to a client, or other fellow employees. i am have a problem getting the ruby script to work, what am i doing wrong? from what i understand i am suppost to save the ruby on my desktop and then cut and past it in the programs/google/sketchup#/plugins    folder. i closed sketchup and then reopened it, and there is nothing differant. any help?
sepo

Avatar / Picture

Registered:
Posts: 4,371
Reply with quote  #11 

Donno about cut and paste ...just simply copy the file into plugins folder.

sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #12 
doesn't cubicpanoout show up in the "camera" menu?

__________________
real artists ship.
loneranger2k3

Registered:
Posts: 25
Reply with quote  #13 
sbx,
thanks for the heads up, i kept looking in the plugins pull down bar and nothing was showing up. hopefully i can get this to work the rest of the way.
thanks for the help.
sbx

Avatar / Picture

panoramaster
Registered:
Posts: 268
Reply with quote  #14 
new panorama: test for a small appartment for students housing. quick one, no PP.

click!

edit: higher quality version online. see here

__________________
real artists ship.
bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,247
Reply with quote  #15 
Great stuff. With higher quality this will be excellent!
__________________

That which does not kill us makes us stronger
-Friedrich Nietzsche

Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.