.chan Files... import/esport and issues.

   3765   3   0
User Avatar
Member
509 posts
Joined: July 2005
Offline
HI,

this topic want to be a “is this behavior have any reasons?” thread… not a bug post.. or anything like that… but it made mysef kicking the keyboard for couple of hours and when i found what was happening i just stopped for a while.. and starteed thinking if there were any special reason for that.

Example step by step in spoken language:

First example.

assuming your timeline is 25fps 100 total frames.

- create a box.
- add a transform SOP
- add a keyframe value 0 frame 1
- add a keyframe value 5 frame 10
- shift-LMB on the transform animated values (scope channels)
- zoom out the channel view (for example to see frames from -40 to 120)
- animate->export channels (ASCII)
- “home” the channel viewport (to see frames 1 to 100)
- animate->import channels.

see result.



Second example

assuming your timeline is 25fps 100 total frames.

- create a box.
- add a transform SOP
- add a keyframe value 0 frame 1
- add a keyframe value 5 frame 10
- shift-LMB on the transform animated values (scope channels)
- “home” the channel viewport (to see frames 1 to 100)
- animate->export channels (ASCII)
- zoom out the channel view (for example to see frames from -40 to 120)
- animate->import channels.

see result.



my point is … why the import/export of channels doesnt just cares about the actual fcurve/keyframes?? aint (from help) the .chan file a list of FRAMES (one per line) and values?…

What i'd expect from the above behavior.. would at least be an option in the channel editor that enable/disable the “adapt on viewport” when import/export.. or something like that


cheers.
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
User Avatar
Member
509 posts
Joined: July 2005
Offline
… nobody saw anything strange ??

hm…

i'm on 8.474… maybe i should upgrade…
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
User Avatar
Member
8081 posts
Joined: July 2005
Offline
I think I would agree with you that the behaviour is strange. Definitely could be improved. For one thing, it would be better if it save out keyframed data instead of raw values. For now, I think using the chread/chwrite commands are probably best.
User Avatar
Member
509 posts
Joined: July 2005
Offline
thanks for your feedback … hopefully it wasnt me then…

anyway.. best way to “solve” that is by “homeing” the viewport every time before loading/saving chan files.. that just cause everything to be correct.


but before getting that solution i've had two hours of damn headache eheheh.


cheers.
JcN
VisualCortexLab Ltd :: www.visualcortexlab.com
  • Quick Links