This looks like a simple paragraph alignment problem. Usually, with a project like this, you put the text in a pre-comp that is the size of the maximum text height and width for your project with the text centered and the paragraph alignment set to centered. You then nest this composition in the main comp and collapse transformations. Your lights and camera are in the main comp. Then, when the text is changed in the pre-comp you adjust the size and position of the text in the pre-comp to fill the space in as pleasing a way as you can.
This can also be done by simply using the centered paragraph style in the main comp, but it is easier to keep designs consistent if you use the pre-comp method. Note these two screenshots and carefully examine the character palette in both. You'll see that I changed the height scale and font size in the second screen shot to maintain the same size and alignment in the main comp.
Here's a project file for you to look at. (CS6)
Hello, thanks or reply! Actually I do have a pre-comp. However, some of my friends would like to add the logo with pretty big height, or really wide logo. So wanted to enable this ineresting feature for them. (Btw. I used a lot of layers to achieve 3D effect, I mean, I did not use 3D-Ray-raced). So there is really no way, how to aply the Slider control on the camera for all the keyframes? I think there is, but it requires to have some skills in the expresions, but I do not know anything about this myself. :)
Please help me, to figure out the right expressions :(
If you have different sized objects in your scene then they are going to look different in the render. The easiest solution is to put those objects in a pre-comp then size them to fit the space of the pre-comp. You cannot have different the word "My Text" be the same size as the word "My" but you can scale either to fit into a pre-comp so they fill the same space. That's all there is to it.
If that's not what you want to do then please try and explain your problem in more detail. From what you said in the first post you want the object (your extruded text) not to change position when you change the object. I have explained how to do that. I don't know what you are wanting to tie the expression to.
Oh, I forgot to tell, I already fixed the problem with pre-comp. Actually in my further projects, or ideas I would like to apply this particular technique, which would be necessary. I will take the camera from this project and explain in properl, what I want to achieve. Let's say I have created a camera trajectory using few keyframes (more than 2). What I want, is to apply a code, or expression to camera, or to slider and then link it to each other. Basically, whatever the steps are, the camera position should be changed using 3 sliders (x,y,z) with no effect in its camera trajectory.
The result, what I want to have, will be demonstrated manually with no sliders. Here is an example:
In the "Cam position #1" can be seen a camera with a specific position and a trajectory, whic is controlled by a keyframes. What I did, is that I just selected all the keyframes and the using the mouse, and then clicked on the camera (in the PREVIEW, not the small icon of camera, where are all the keyframes) dragged it to the right. To be more specific, I clicked on the red arrow to drag it. However, the trajectory will be the same:
Also, in the camera, there are keyframes in the position and in the point of the interest, so I hope there will be some solution.
This is a general idea and the solution of it, will help me in other project. I really need it. I would be really happy for the help! Thanks :-)
Well, I have to hurry up with a project. I do not know, if I should wait more or create new topic with my last comment...
You are way over thinking your problem and potentially headed down a path that will cause more problems that it will solve.
If you have a camera path that is already animated and you want to change the position of the camera path as a whole the easiest way to do that would be to create a null and then parent the camera to the null. Move the null and all of the camera movements you have set up will follow. No expressions are needed. This is the easiest way to change every aspect of a motion path, rotate the entire path, scale the path, or move the path on any axis.
If you really want to use 3 position sliders to move existing keyframes to a new value adding value + expressions values will allow you to do this. Just add an three expression control sliders to the camera layer (or any layer like the null you are using as a parent) select the name of the slider in the ECW and press enter and rename it. Something like this will be the result.
Notice that I also have rotation and scale controls in this setup. Now that you have 3 sliders you can separate the position property of the null into individual values enable expressions in each property and type in value +, then use the pickwhip to drag from the X value to your slider named xPosition (in my example) and repeat for each operation. The value + will add the value of the slider to the current value of the position keyframes. The expression will look like this for X:
value + effect("x position")("Slider")
If you want to use sliders I would use a null, add expression controls to the null for position, scale, and rotation, keep the camera position property unified and then use your expression control sliders on the null to modify your existing path. I would not suggest doing this directly on camera position with separated X, Y and Z values because this will change the shape of your camera path and would be more difficult to control. You'll probably also want to create a camera POInull and use this preset to tie the camera's point of interest to the null.
Here's an animation preset you can apply to a null that will give complete control to the motion path of any animated layer you make the child of this null. Search Animation Preset in the After Effects Search Help field if you do not know how to use them, create them, and save them.
As a final gimme, here's a CS6 project using this animation preset to control a null's position that used to change an animated camera path.
Thanks a lot, Rick! Just last one thing, if I want to move the position of the camera path and the point of the interest as a whole at the same time, what is the easiest way to fix it? With null object as well as using those sliders. Because when I am moving the camera path, the point of interest stays on the same point. Thanks! :)
I really do not need anything else, just to fix the Point of Interest issue. :)
Did you look at the CS6 project I provided? You can tie the point of interest to a null using an expression. You will find that in the project.
Yeah, I did it that day, but I managed to link it right now :). Great! I've just linked all x.y.z positions of interest to camera null. Works fine! Thank you for this BIG help!