Anim8or Community

General Category => General Anim8or Forum => Topic started by: Monex on May 27, 2008, 03:02:02 am

Title: An8 format
Post by: Monex on May 27, 2008, 03:02:02 am
Hey
I'm trying to make a small program, but I have a little problem understand the numbers I marked:

(scene)
objectelement { "eobject02" "fisk"
    loc { (-409.33 10.499 83.389) }
    scale { 0.50000 }
    controller { "position"
      track {
        pointkey { 0 (-417.2 286.09 83.389) >>>(2.6247 -91.865 0)
          (-2.6247 91.865 0)<<< "S" }
        pointkey { 12 (-409.33 10.499 83.389) >>>(2.1811 -76.339 0)
          (-0.44362 15.526 0)<<< "S" }
       
      }
    }
  }
Title: Re: An8 format
Post by: Kubajzz on May 27, 2008, 03:06:47 am
I have no idea what the numbers mean, but here's link to .an8 format specification, I hope it helps...

http://www.anim8or.com/resources/an8_format.txt (http://www.anim8or.com/resources/an8_format.txt)
Title: Re: An8 format
Post by: Monex on May 27, 2008, 03:25:20 am
Thanks, It help
Title: Re: An8 format
Post by: Claude on May 27, 2008, 11:26:47 am
The spec is not up to date.The string is now used.

C:corner S:smooth T:step or threshold
Another point is added if T:step or threshold is used.

If you need the info,I think a cubic interpolation
curve is used.


Claude

Title: Re: An8 format
Post by: Steve on May 28, 2008, 12:35:53 pm
The numbers in red are derivatives of the spline in the forward and backwards directions at that knot.
Title: Re: An8 format
Post by: Monex on May 29, 2008, 01:11:58 pm
Thank for all the answers, I have found what my real problem was, my program wrote some numbers as 4,5 which should been 4.5. So I got fixed and the program is working :D