Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Catmull-Rom Help =)

Discussion in 'Scripting' started by Zero_Xue, Dec 4, 2012.

  1. Zero_Xue

    Zero_Xue

    Joined:
    Apr 18, 2012
    Posts:
    126
    Not sure if this goes in here,

    Am looking for any help regarding the catmull-rom algorthm, ive been looking at it for a while now and now ive actually got upto doing it am feeling very stupid >..<
     
  2. lordofduct

    lordofduct

    Joined:
    Oct 3, 2011
    Posts:
    8,514
    well searching "unity catmull rom" returned this as like the first result:
    http://wiki.unity3d.com/index.php?title=Interpolate

    It's a class that implements the catmull rom for you.

    If you want to understand the algorithm in and of itself, here's a mathematical defintion:
    http://www.cs.cmu.edu/~462/projects/assn2/assn2/catmullRom.pdf

    but you probably already have something like that because you implied you read the algorithm. So my question to you is, what about it are you having trouble with? With the question you've asked I really can only say "here's the completed job" or "here's the definition", no middle ground to work at as you don't offer up a general point in the middle you're looking to meet at.
     
  3. Zero_Xue

    Zero_Xue

    Joined:
    Apr 18, 2012
    Posts:
    126
    cheers lord for the reply but just mocked up something that works >..<

    just about to say this is a dead thread :p

    ~Popper