Jump to content
Hash, Inc. Forums


A:M User
  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About SharkD

  • Rank
    New User

Profile Information

  • Name

Previous Fields

  • Hardware Platform
  • System Description
    AMD Sempron +3000 Windows XP SP3 1.5GB RAM
  1. I think I just discovered the problem! The CHANNELITEMs are actually themselves contained within MUSCLEITEMs. The MUSCLEITEMs are numbered, and some of them appear out of order within the file. I think all I need to do is extract them in the order that they're numbered instead of the order they were added to the file. [edit] Yup, that fixed it. The rotational values are still a mystery to me, but they're very small, so I think I can ignore them.
  2. That's exactly the kind of thing I was hoping for! Unfortunately, it doesn't go into the amount of detail that I require. For instance, under the CHANNELITEM section for the "time float" pair, it merely says "the other float is the value". It also doesn't mention the effect of the rotational coordinates/values. Yeah, I don't know what the problem is. I really don't want to spend $50 just to convert a portion of a single model. Because I can compare it to a rendering/animation of the finished product.
  3. I should have added the disclaimer that I don't actually have a copy of A:M. I'm looking at the MDL/PRJ file in a text editor. I've set up POVray so that it interpolates between the different keyframes using a mathematical function. I've also double-checked my results in Excel. The output is "close" to what it should be, but there are some oddities that lead me to believe I don't understand the MDL/PRJ file format completely, hence my questions. Quaternion is the default except for cameras i think. Vector and Euler are the other choices Is "Quaternion" method #2? Thanks! -Mike
  4. Hi! I'm trying to convert an A:M spline object to POV-Ray and have a few questions regarding the file format. First of all, some backgound information: The spline I'm trying to convert has 12 control points, starts at 0 seconds and ends at 100 seconds. The number of keyframes varies among each point from three to seven. E.g., not all points on the spline have the same number of keyframes. Since not all points have the same number of keyframes, I interpolated linearly between the *existing* keyframes in order to arrive at the missing ones. I am guessing that the translation coordinates contained within CHANNELITEMs get added to the spline model coordinates in reverse order. E.g., add the coordinates of the last CHANNELITEM to the first point of the spline model. I wasn't able to get the spline to work by applying the coordinates in the forward order. Also, I don't know what to do when keyframes in CHANNELITEMs have rotational angles. For instance, some of the keyframes are of type #23, like the following: 23 25:0 -3.16683 342.36 0.259643 342.36 0.259643 In addition, there are some type #21 for which I'm not sure what the differences are. I think the last two sets of coordinates are pitch and roll angles. To which coordinate axes, and in what order, do I apply the rotations? Finally, what are the different types of interpolation supported by A:M? All the keyframes indicate Interpolation type 2. What does this mean? I'm having a lot of problems with the conversion. Results aren't always what I expect. So I'd appreciate any detailed information you could provide me regarding the MDL and PRJ file formats. Thanks! -Mike
  • Create New...