REQ: ANother camera
-
would it be possible to have a ruby that create a new camera other than the default sketchup camera. and then in animation you can even let the camera to follow a path...
by having a new camera you can even control and identify its actual location.
-
There is the film and stage plugin that you can download from google here:
well, I can't find a link right now. Sorry. Anyone else got it out there?
Anyhow, that will let you create an actual camera objcet that has some caera properties associated with it. Like aspect ratio, roll, pan, tilt, etc. So that is a great tool for controling cameras physically. Unfortunately there is no way to animate their camera though. At least nothing that is actually useful.
Chris
-
a request is a camera with its own proxy, that you can view in the default SU camera. but if you hit another camera button then, it will override the SU camera instead, and now you are using the view of that new camera.
thanks chris. with that i will look at that one.
but do you think i will able know the exact distance of my camera to the object then?
-
You can create as many cameras as you like, but I'm not sure why one would want to? You can only use one at a time. You can move the default camera around using Ruby, just as you can move any entity.
camera = Sketchup.active_model.active_view.camera camera2 = Sketchup;;Camera.new eye = Geom;;Point3d.new(120, 120, 120) target = Geom;;Point3d.new up = Z_AXIS camera2.set eye, target, up Sketchup.active_model.active_view.camera = camera2
-
thanks jim for highlighting that. sorry im so noob with those coding.. how shall i use the code that you have attached?
why a lot of things which i would think vetr useful. if i know the distance of the camera with the objects, playing DOF with vray will be easy.
- we will open a wide array of possibility in animation
- if i can pick the the camera physically like normal group object, i can place it to any view that i want rather than scrolling, panning which are really taking a lot of time especially when you ahve a lot of geometry. i think the workflow is will be much easier.
On the other hand i have not really look at film and stage plugin. i thought this was just a collection of components.
-
There is the component collection fro film and stage, and there is also a plugin. Which I can't find right now. Let me dig around and I'll see if I can find a link in thenext 5 or 10 minutes.
Chris
-
ok, the plugin was never released for version 6 due to some bug (that actually existed in version 5, but no one noticed or cared). So here is a link to the version 5 plugins page. Scroll down and look for the film and stage plugin. It should work just fine, or pretty good at least.
http://sketchup.google.com/download/previousplugins.html
Hope that helps,
Chris
-
Ok, I think I understand now. You would like a camera Component so you can manipulate it. So you insert a new Camera, move it, rotate it, etc. Then you could right-click and select an option "Use this Camera", or query the camera for it's position, distance to target, field of view. Is this correct?
-
that would be really handy... kinda like the 3dsmax cameras.... though i cant immediately think of any use here since SU doesnt support object animation....
-
@jim said:
Ok, I think I understand now. You would like a camera Component so you can manipulate it. So you insert a new Camera, move it, rotate it, etc. Then you could right-click and select an option "Use this Camera", or query the camera for it's position, distance to target, field of view. Is this correct?
exactly jim... and even put it in tight space. i think when you have walls behind too, you ca n save a lot of time. coz sometimes, getting an angle near a face is so difficult where you can just suddenly behind this wall. and scrolling back again, then diffuculties happen again.
-
@chris fullmer said:
ok, the plugin was never released for version 6 due to some bug (that actually existed in version 5, but no one noticed or cared). So here is a link to the version 5 plugins page. Scroll down and look for the film and stage plugin. It should work just fine, or pretty good at least.
http://sketchup.google.com/download/previousplugins.html
Hope that helps,
Chris
thanks chris... will try it.
-
@jenujacob said:
that would be really handy... kinda like the 3dsmax cameras.... though i cant immediately think of any use here since SU doesnt support object animation....
jenu... no one will know since su is keep on developing.
-
@jim said:
Ok, I think I understand now. You would like a camera Component so you can manipulate it. So you insert a new Camera, move it, rotate it, etc. Then you could right-click and select an option "Use this Camera", or query the camera for it's position, distance to target, field of view. Is this correct?
I'd really like that too. And possibly a way of moving and rotating camera in the direction it is pointing. Like dollying etc.
-
pixero,
we can already dolly in SU by holding down ctrl and orbiting.
and like nomer said.. sometimes getting wide angle shots by moving too close to the wall is a pain! so i would totally love to get virtual-cam components! -
Pretty much all of these functionalities are handled in the film and stage plugin (except the ability to animate the camera, because that is not possible because of how SU works currently). Once you install it, there is new menu options under the Camera menu. It even gives you the distance to the object. Please everyone go install it and play with it, then come back to this thread to talk about how to improve it. Its an incredible script if you want more physical camera control.
The bugs in it are somewhere in how it handles. It is supposed to work so that while you are looking through the camera there are modifier keys you can hold to pan, tilt zoom, change FOV and stuff. I think some of those don't work. But you can still move the camera object like any other SU component. Rotate it, tilt it, etc manually. Seriously, its a great plugin.
Chris
-
@jenujacob said:
pixero,
we can already dolly in SU by holding down ctrl and orbiting.
and like nomer said.. sometimes getting wide angle shots by moving too close to the wall is a pain! so i would totally love to get virtual-cam components!I meant when looking at the camera in third person view.
-
@pixero said:
I meant when looking at the camera in third person view.
Film and stage plugin lets you do this already.
I'm going to be a broken record until we all go download it and play with it.
-
@chris fullmer said:
Film and stage plugin lets you do this already.
I'm going to be a broken record until we all go download it and play with it.
How? I have it installed and have had it for quite some time and yes, you can see the camera in third person view but AFAIK you cant move it along its local coordinate system.
Meaning moving by dragging it along the cameras, not the world coordinate system.
I hope I make myself clear. -
Hmm, I must be misunderstanding all the functionality that is desired then.
It is supposed to have pan and tilt and dolly all built in to it. By holding shift and ctrl and CMD you can do different things. I am pretty sure they are buggy though. Truck and pedestal seem to be difficult to convce them to work. But that would have to be done while looking through it. So if you wanted a way to do that from 3rd person, than I guess that you are correct that it does not work like that. Maybe version 7 will add more camera support?
Chris
-
Well, once camera type is set, select "Create Camera", Pan/Dolly appears in the lower left corner, so click & hold on the screen to see how they work. Hold shift to change to Truck/Pedestal. While doing so, you are looking throught the camera.
Ctrl-click on screen to edit the camera, Tilt, and, IMPORTANT, select Done when satisfied.
Does that help?
Advertisement