News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu

CameraPosByPath

Started by Ron Hill, April 09, 2010, 07:01:43 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Ron Hill

I am trying to understand how to Run a camera, focused on an object, and around that object, based on a spline path. I want the camera to be looking up at the object at an angle. I have attached what I have done so far, based on a tutorial I found as well as documentation in the help file. My results have not been successful or predictable.
Ron Hill

Henry Hubich

#1
Quote from: Ron Hill on April 09, 2010, 07:01:43 AM
I am trying to understand how to Run a camera, focused on an object, and around that object, based on a spline path. I want the camera to be looking up at the object at an angle. I have attached what I have done so far, based on a tutorial I found as well as documentation in the help file. My results have not been successful or predictable.

The basics: Insert a Camera Object into the drawing; place it on the spline; point it at the object; select the Camera and enable "Attached" in its Properties page. Open the Windows menu and go to the "Camera" window (its exact name may vary); go to View|Camera|PropertiesCamera and enable "Perspective View."

Make both the Spline and Camera  Actors. Select the Camera actor and assign the command, "CameraPosbyPath," with the Spline as the main argument. Also assign, "CameraLookAt" to the Camera actor, with the coordinates of the target object as the arguments.

Henry H

Tim Stewart

Quote from: Ron Hill on April 09, 2010, 07:01:43 AM
I am trying to understand how to Run a camera, focused on an object, and around that object, based on a spline path. I want the camera to be looking up at the object at an angle. I have attached what I have done so far, based on a tutorial I found as well as documentation in the help file. My results have not been successful or predictable.

Hi Ron,

try this . . .

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

Ron Hill

Thanks to both Henry and Tim. I have looked at both suggestions and they have helped me get closer to the view I am looking for. Ideally I want it to look as though a person was walking around the object filming it at an upwards angle; like the object was a tall building. It appears that the animation in not only dependent on the camera commands in scenario scrip editor, but also the initial view the drawing is in before you start the animation?
Ron Hill

Henry Hubich

Quote from: Ron Hill on April 12, 2010, 11:00:44 AM
Thanks to both Henry and Tim. I have looked at both suggestions and they have helped me get closer to the view I am looking for. Ideally I want it to look as though a person was walking around the object filming it at an upwards angle; like the object was a tall building. It appears that the animation in not only dependent on the camera commands in scenario scrip editor, but also the initial view the drawing is in before you start the animation?

Dunno, Ron. I thought I understood how to do that, but I'm about ready to put my foot through the screen :-(

Henry H

Julian Thomas

Just experimenting/learning here too.

CameraPosByPath is a spline at ground level
CameraLookByPath is circle inside the solid, just above the arch
CameraUp stops your model from wobble & weeving
Julian

TC18 / 38.5 Platinum, AL5. XP, Core2 Duo E6750 OC'd 3.0Ghz, Render test: 3mins 3sec.

Henry Hubich

Quote from: Julian Thomas on April 12, 2010, 09:12:49 PM
Just experimenting/learning here too.

CameraPosByPath is a spline at ground level
CameraLookByPath is circle inside the solid, just above the arch
CameraUp stops your model from wobble & weeving

Which versions of TCad and Anilab are you using, Julian? I'm using Anilab 44_91 in TCad 16.2, and I cannot control both the target point and the UP direction for the camera. I've tried your method as well as half a dozen others, with no luck.

Henry H

Tim Stewart


Quote from: Ron Hill on April 12, 2010, 11:00:44 AM
It appears that the animation in not only dependent on the camera commands in scenario scrip editor, but also the initial view the drawing is in before you start the animation?

Hi Ron,

yes, you are correct.  Most important!

Always run with camera set to perspective view - whatever suits your needs - and try to get into the habit of undoing your scenario after each run, even if the the action returns to the initial point.  This last habit will prevent things getting confused, in my experience.

Although things can be, at first sight, rather frustrating, with practice and perseverance, you will soon find what works for you.

Regards Tim
Regards Tim

You can design without engineering, but you cannot engineer without design.
Windows 10 Pro (19043.1165) 64-bit, TurboCAD Designer 2017-2020 and Pro. Plat. 2018-2020 + LW (64-bit) + AnimationLab 6
Intel i5 2500@3.3GHz 8GB Ram NVIDIA Quadro K2200

Julian Thomas

Quote from: Henry Hubich on April 13, 2010, 11:01:21 AM
Which versions of TCad and Anilab are you using, Julian? I'm using Anilab 44_91 in TCad 16.2, and I cannot control both the target point and the UP direction for the camera. I've tried your method as well as half a dozen others, with no luck.

Henry H
Not sure where to find Anilab build/version, Henry. The installer is version 4.4, and I'm still on TC16.2 (54.0)
Julian

TC18 / 38.5 Platinum, AL5. XP, Core2 Duo E6750 OC'd 3.0Ghz, Render test: 3mins 3sec.

Henry Hubich

Quote from: Julian Thomas on April 13, 2010, 04:52:01 PM
Quote from: Henry Hubich on April 13, 2010, 11:01:21 AM
Which versions of TCad and Anilab are you using, Julian? I'm using Anilab 44_91 in TCad 16.2, and I cannot control both the target point and the UP direction for the camera. I've tried your method as well as half a dozen others, with no luck.

Henry H
Not sure where to find Anilab build/version, Henry. The installer is version 4.4, and I'm still on TC16.2 (54.0)


Thanks for looking, Julian, but I eventually got myself straightened out. Finally became aware that a "Mobile Camera" is a very special actor, and not the same thing as a Camera Object. I'd been fiddling with the latter, inserting one into the drawing and making it an Actor. Strange thing is that it almost works, but goes haywire when trying to tell it which way is Up.

...BTW, I'm pretty sure that Anilab for TCad v17 is not yet available.

Henry H

Don Cheke

Quote from: Henry Hubich on April 13, 2010, 06:50:45 PM

...BTW, I'm pretty sure that Anilab for TCad v17 is not yet available.

Henry H

I have Animation Lab running in V17.
Don Cheke
My Blog: One Man's Meanderings

Julian Thomas

#11
Quote from: Henry Hubich on April 13, 2010, 06:50:45 PM
...BTW, I'm pretty sure that Anilab for TCad v17 is not yet available.

hmmm...Kai reckons AL4.4 works with v17 **Edit** and as just confirmed by Don
Julian

TC18 / 38.5 Platinum, AL5. XP, Core2 Duo E6750 OC'd 3.0Ghz, Render test: 3mins 3sec.

Henry Hubich

Quote from: Julian Thomas on April 13, 2010, 07:59:24 PM
Quote from: Henry Hubich on April 13, 2010, 06:50:45 PM
...BTW, I'm pretty sure that Anilab for TCad v17 is not yet available.

hmmm...Kai reckons AL4.4 works with v17 **Edit** and as just confirmed by Don

...Sigh... Okay.

Henry H

Don Cheke

Quote from: Henry Hubich on April 13, 2010, 09:10:42 PM
Quote from: Julian Thomas on April 13, 2010, 07:59:24 PM
Quote from: Henry Hubich on April 13, 2010, 06:50:45 PM
...BTW, I'm pretty sure that Anilab for TCad v17 is not yet available.

hmmm...Kai reckons AL4.4 works with v17 **Edit** and as just confirmed by Don

...Sigh... Okay.

Henry H

See if it makes a difference if you try running it with the Themed UI as opposed to the Standard (v11) UI. If I am not mistaken, you still use the old UI. Correct?
Don Cheke
My Blog: One Man's Meanderings

Henry Hubich

Quote from: Don Cheke on April 13, 2010, 09:28:22 PM
Quote from: Henry Hubich on April 13, 2010, 09:10:42 PM
Quote from: Julian Thomas on April 13, 2010, 07:59:24 PM
Quote from: Henry Hubich on April 13, 2010, 06:50:45 PM
...BTW, I'm pretty sure that Anilab for TCad v17 is not yet available.

hmmm...Kai reckons AL4.4 works with v17 **Edit** and as just confirmed by Don

...Sigh... Okay.

Henry H

See if it makes a difference if you try running it with the Themed UI as opposed to the Standard (v11) UI. If I am not mistaken, you still use the old UI. Correct?

Correct. And Yes, it does make a difference: The Themed UI makes it possible to run Anilab 44 in v17. But I dislike that UI so intensely that I think I prefer to run Anilab in 16.2 with the new UI, reserving 16.2 for Anilab use exclusively.

Henry H