Thursday, April 1, 2010

How to program curves in Delphi

I'm trying to write some codes on how to load/save acv curves. I have the acv format from the sdk manual but it's not working. Would a kind soul be able to help me?

Thanks.

PO
How to program curves in Delphi
Well, if you have the file format, there are several possibilities:

- you are not writing the files correctly according to the

specification

- the specification is wrong

- the specification is right but has left out something important



Probably the most likely assumption is that the first of these is at

fault. Look at the file in a binary editor/binary dump and interpret

it by hand, comparing against the specification to see if you can find

a problem. Check the count values especially. Analyse a pre-existing

ACV file in the same way; if this doesn't seem right, you are probably

misinterpreting the specification.



Also make sure you understand how cubic spline curves work.



Aandi Inston

No comments:

Post a Comment