SU Podium Forum
Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
sbx

Avatar / Picture

panoramaster
Registered:
Posts: 262
Reply with quote  #1 
Have you ever wondered how to set up your camera by focal length instead of FOV, for instance to mount your model in an image which you know you have shot at 35mm!?

1.) Open the Ruby Console

2.) Issue "Sketchup.active_model.active_view.camera.focal_length=35mm" (for 35mm, without quotes, obviously)




__________________
real artists ship.
TBD

Avatar / Picture

Registered:
Posts: 1,178
Reply with quote  #2 
... or if you read the help you will find that by typing 35mm in VCB you can achieve the same
sbx

Avatar / Picture

panoramaster
Registered:
Posts: 262
Reply with quote  #3 
honestly? hehe. almost as good as olishea's post yesterday ...

__________________
real artists ship.
bing1370

Avatar / Picture

Registered:
Posts: 100
Reply with quote  #4 

this is nice, how about if you want to remove the 35mm how can you do it, same in ruby console?


__________________
Nothing is impossible when it comes to structure....

Philippines
bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,937
Reply with quote  #5 
It is a lot easier and more interactive to do it in the VCB.
__________________

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

Ross_K

Registered:
Posts: 278
Reply with quote  #6 

umm stupid question but what's VCB?


__________________
RK

http://www.rk-studios.ca
sepo

Avatar / Picture

Registered:
Posts: 4,326
Reply with quote  #7 

Old name for measurements (box),

Ross_K

Registered:
Posts: 278
Reply with quote  #8 

But I can't type anything in it.. its not active... assuming you are reffering to the box in the bottom right corner...


__________________
RK

http://www.rk-studios.ca
sepo

Avatar / Picture

Registered:
Posts: 4,326
Reply with quote  #9 

If you click on the zoom icon the measurement will change name to field of view with number. You can than type over.

bigstick

Avatar / Picture

Moderator
Registered:
Posts: 10,937
Reply with quote  #10 
Sorry, it stands for Visual Control Box. Sid has already given what is probably a better explanation above
__________________

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

Ross_K

Registered:
Posts: 278
Reply with quote  #11 

oh i see... i thought this is something different from the good old field of view, but i guess this is just another way of setting it.


__________________
RK

http://www.rk-studios.ca
michaliszissiou

Avatar / Picture

Art Master
Registered:
Posts: 1,560
Reply with quote  #12 
Just press z, shift z, alt z. Choose what view you like. This is what you'll do using a nice real zoom lens camera. This should be enough for you.
If you like more precision, then, SU camera is not like a physical lens. This tries to do something architects want. Forget precision then. Mentalray or blender internal renders have a precise camera simulation and great DOF. Some other renderers maybe. SU lens is a distorted one. Unfortunately.
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.