Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: An8 format  (Read 8021 times)

Monex

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

Monex

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

Thanks, It help
Logged

Claude

  • Sr. Member
  • ****
  • Posts: 285
    • View Profile
Re: An8 format
« Reply #3 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

Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: An8 format
« Reply #4 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.
Logged

Monex

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