TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
Remember to do a search before you ask a question!!!

Camera
Read 2529 times
March 14, 2013, 09:01:22 AM
I have a 3d object performing some animated movements.  I want to have a camera rotate around it, so it looks like my animated object is rotating.  I've read some about attaching a camera to a spline, making both the spline and camera actors, etc.. I guess my first question is.. How do I get my camera to look at the center point of my object.. And how do I get it to stay looking at the center point of my object while the camera is rotating around my spline?

Thx

Chris
TC 17 PRO
AL v5

Logged


March 14, 2013, 09:46:44 AM
#1
Your "actor" is the camera. Use the command CameraPosByPath to move the camera. You need to make the path an "actor" to use this command. Use the command CameraLookAt to make it look the location of your object. This command points the camera to a particular place, not at a particular object. You will probably need to use the command CameraUp to keep the camera upright. Be careful because AniLab's x,y,z axis are not necessarily the same as your drawing's x,y,x axis.

Logged
mike
TC user since v3. MacMini 5.1. 2.3 GHz. 16 Gig RAM.
TC 19 Pro 64 bit. Windows 7.


March 14, 2013, 09:54:33 AM
#2
Mike..

I noticed that.. My x, y & z status I put in AL isn't working.. I get an error message. How do I know what the AL coordinates are? Why aren't they the same as TC?

Logged


March 14, 2013, 10:05:14 AM
#3
I don't know why x,y,z is different in AniLab. The way you know what they are is trial and error. Do something simple to determine before you run a complex senario. What was the error message?

Logged
mike
TC user since v3. MacMini 5.1. 2.3 GHz. 16 Gig RAM.
TC 19 Pro 64 bit. Windows 7.


March 14, 2013, 10:08:40 AM
#4
A "VBScript" window comes up.  It says..

Error: Syntax error.
Command: '0 60 CameraLookAt 4.88-in 0.63-in 4.31-in'
Actor = 'Camera'
Step = 0

Logged


March 14, 2013, 10:18:12 AM
#5
Play with your units and formatting, it's pretty sensitive.

Logged
mike
TC user since v3. MacMini 5.1. 2.3 GHz. 16 Gig RAM.
TC 19 Pro 64 bit. Windows 7.


* March 14, 2013, 01:07:18 PM
#6
A "VBScript" window comes up.  It says..

Error: Syntax error.
Command: '0 60 CameraLookAt 4.88-in 0.63-in 4.31-in'
Actor = 'Camera'
Step = 0

I don't think you need to include the 'inches' reference, just the numbers.
For CameraUp (UP Vector), try "0 0 1", not the numbers shown in Camera Properties.

Logged
John R.

V17V21, 2015, 2016, 2017
Designer, Deluxe, Basic, Platinum
RedSDK enabled
Windows 10, 64-bit


March 14, 2013, 01:12:34 PM
#7
Hi again,

you could select a suitable object, even a non-visible one, make it an actor and use the Rotate Command to rotate around this object.

Essentially, this is a camera rotating around whatever you choose.  ;)

Regards Tim

Logged
You can design without engineering, but you cannot engineer without design.
Testing/using with Win 10 and various TurboCAD 64-bit versions.


* October 09, 2013, 09:03:40 PM
#8
Hi guys! I want to buy a 3d camera in cheap price, Please give suggestion How can I can buy a 3d camera....?

Logged