Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: An8 format  (Read 2643 times)

Monex

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • My homepage (not done)
An8 format
« on: May 27, 2008, 07: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" }
       
      }
    }
  }
Logged

Kubajzz

  • Flying Platypus
  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 548
  • Little doggie ate my avatar...
    • View Profile
Re: An8 format
« Reply #1 on: May 27, 2008, 07: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
Logged

Monex

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • My homepage (not done)
Re: An8 format
« Reply #2 on: May 27, 2008, 07:25:20 am »

Thanks, It help
Logged

Claude

  • Full Member
  • ***
  • Posts: 244
    • View Profile
Re: An8 format
« Reply #3 on: May 27, 2008, 03:26:47 pm »

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

Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1520
    • View Profile
Re: An8 format
« Reply #4 on: May 28, 2008, 04:35:53 pm »

The numbers in red are derivatives of the spline in the forward and backwards directions at that knot.
Logged

Monex

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • My homepage (not done)
Re: An8 format
« Reply #5 on: May 29, 2008, 05: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 
Logged