>: CG Forums on 3dtotal - The best forums for CG artists :.
threedy forums home
 


top-table-gradient
Go Back   3DTotal Forums > Help, Advice and Chat > General software and hardware help
bottom-table-gradient

Reply
 
Thread Tools Display Modes
Old 01-04-2003, 11:40 AM   #1
and3x
Registered User
 
Join Date: Apr 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
animating a free cam along a looped path

Hi, im totally new to this forum (cg forums in general for that matter). I am a cg-student living in sweden and i was hoping someone could help me out with a slight problem i have come across.

I am trying to animate a free camera along a path with pathconstraint in max 4. The camera follows the path just fine with follow and some amount of banking enabled. The problem occurs when the camera reaches a vertical "loop" in the path. When the camera is at 1/4 of the loop it flips about 180 degrees and then flips back at 3/4. It is as if it refuses to go "upside down".


Could someone please point me (and the camera) in the right direction.

take care // and3x

Last edited by and3x; 01-04-2003 at 12:14 PM..
and3x is offline   Reply With Quote
Old 01-04-2003, 12:24 PM   #2
Tim_Cutho
Purple Ninja
 
Tim_Cutho's Avatar
 
Join Date: Oct 2002
Location: Australia
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
you could try turning on (or off) the follow and bank settings in the path constraint, other than that I'm not really sure
__________________
:: Tim Cutho ::
www.Tim3D.tk
» Making cubes in avatars cool since October '02 «
Tim_Cutho is offline   Reply With Quote
Old 01-04-2003, 01:25 PM   #3
and3x
Registered User
 
Join Date: Apr 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the reply, but i have tried that, and i need follow to be enabled in order to get the camera to run along the "tangent" (?) of the path. Otherwise the camera will face straight forward during the whole loop.

Any other ideas anyone?

Thanks in advance! // and3x
and3x is offline   Reply With Quote
Old 01-04-2003, 02:07 PM   #4
dean
Registered User
 
Join Date: Oct 2002
Location: London
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dean
Unhappy Mmmmmm!

I remember seeing a tutorial about animated tanks that covers the whole follow path problem. Unfortunately I'm not sure where it was. I will see if I can find the link for you.

Can anyone else point us to that tutorial? Look at the 3Dtotal site in Max tutorials, I'm almost sure it's listed in the animation section towards the bottom of the page.
dean is offline   Reply With Quote
Old 01-04-2003, 03:24 PM   #5
blesson2k
Registered User
 
Join Date: Feb 2003
Location: India
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
It must be flipping over at both those vertex points along the path. try setting the vertex to smooth. I think that point's tangents are flipped over? did u try creating the path again?
But before that, set those two points to bezier and pull out the handles, and u'll know what I meant. u should see them turned the other way round. Just make them straight again by adjusting the bezier handles.

Last edited by blesson2k; 01-04-2003 at 04:35 PM..
blesson2k is offline   Reply With Quote
Old 01-04-2003, 04:38 PM   #6
and3x
Registered User
 
Join Date: Apr 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
It does not seem to be the tangents, i just tried to draw another loop for testing purposes and i got the same result there aswell.



Here are two pictures that might explain things further. One is on frame 36 and is showing you the camera as i would like it to follow the path, and the other is on frame 37 where the camera suddenly has flipped over.

regards // and3x
Attached Images
 

Last edited by and3x; 01-04-2003 at 04:43 PM..
and3x is offline   Reply With Quote
Old 01-04-2003, 06:14 PM   #7
blesson2k
Registered User
 
Join Date: Feb 2003
Location: India
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
enable the option Allow Upsidedown
blesson2k is offline   Reply With Quote
Old 01-04-2003, 06:36 PM   #8
and3x
Registered User
 
Join Date: Apr 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Now, it seems that i was a little bit too exaggerated in the tex i wrote earlier (see below). It still flips.


I cant believe this is happening!!! It works alright, but i could have sworn that i really had tested checking that option a couple of hours ago, since it really seems to be the obvious solution, just by the name of that option!

Last edited by and3x; 01-04-2003 at 06:54 PM..
and3x is offline   Reply With Quote
Old 12-04-2003, 04:32 PM   #9
Ghori
Registered User
 
Join Date: Apr 2003
Location: Dubai
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

I don't know if this might work...

...have you tried animating a dummy object instead of a camera, then link the two...
__________________
www.ghoridesign.com
Ghori is offline   Reply With Quote
Old 13-04-2003, 07:17 PM   #10
blesson2k
Registered User
 
Join Date: Feb 2003
Location: India
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
If it still flips there must be something wrong. Delete the old path and create a new one and see if it works. But before that, create a simple scene and make a circular path and try animating the camera as before and see if it still flips. Sorry I didnt reply earlier as I didnt check this thread thinking ur problem was fixed.
blesson2k is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:50 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
all images displayed on this site are copyright the original artists and may not be reproduced, copied or published elsewhere without their express permission