camera.rb plugin

The Twilight Render Team shares tips, ideas, helpful hints, and more on using Twilight Render
Locked
massimo
Posts: 383
Joined: Sat Nov 20, 2010 4:51 pm
OS: Win 7
SketchUp: 7.1 pro
Location: Italy

camera.rb plugin

Post by massimo » Wed Feb 15, 2012 8:20 am

Did not know this great old plugin. Togheter with many useful settings what I love is that if you set tilt=0 in the camera properties panel then you have straight verticals and you can pan, zoom etc. to adjust your view and Twilight will render it correctly!

Fletch
Posts: 12897
Joined: Fri Mar 20, 2009 2:41 pm
OS: PC 64bit
SketchUp: 2016-2023
Contact:

Re: camera.rb plugin

Post by Fletch » Thu Feb 16, 2012 1:35 am

:shock:
Thanks a lot Massimo!
I just tried it.
It appears to work brilliantly. :whoot:
We DO have panned 2 point perspectives in SketchUp after all. (EDIT: well, actually, it is not exactly the same. it is actually moving the camera up in the air, so if you are close to the floor, and use this tool, you will actually see more floor than you will in an actual panned 2pt perspective in SketchUp)

In the tool's dialog, when following the steps below, to force your vertical lines to be straight up and down, set camera tilt to zero (0) degrees. Then adjust the height of the camera by typing in the height.
Usage: Camera.rb

- set your view like you'd normally do.
- under "camera", choose "create camera". You'll see a pop-up. Choose a name for your cam ("camera 1", "camera 2", etc), then click OK.
- right-click in the viewport. A pop-up appears. Choose "Edit Camera", then change the settings to your liking. Click OK.
- Right-click in the viewport again. A pop-up will appear. Click "done".
EXAMPLE:
Image

massimo
Posts: 383
Joined: Sat Nov 20, 2010 4:51 pm
OS: Win 7
SketchUp: 7.1 pro
Location: Italy

Re: camera.rb plugin

Post by massimo » Thu Feb 16, 2012 8:19 am

well, actually, it is not exactly the same.
True and maybe 2point-perspective is more similar to a real shifting lens. But anyway a big help I think. :)

Fletch
Posts: 12897
Joined: Fri Mar 20, 2009 2:41 pm
OS: PC 64bit
SketchUp: 2016-2023
Contact:

Re: camera.rb plugin

Post by Fletch » Fri Feb 17, 2012 12:24 am

It's a good find, thanks Massimo. :^:

massimo
Posts: 383
Joined: Sat Nov 20, 2010 4:51 pm
OS: Win 7
SketchUp: 7.1 pro
Location: Italy

Re: camera.rb plugin

Post by massimo » Fri Feb 17, 2012 7:32 am

Well, found a way to replicate the camera.rb's tilt=0 feature with native SU tools: set a view in "perspective" mode-->switch to "two-point perspective" and move nothing-->switch back to "perspective" then you can pan, zoom etc. keeping the verticals straight and the render will be correct. Doh!

Locked

Who is online

Users browsing this forum: No registered users and 18 guests