How should I manage data in an 2D vector based animation program?

Posted by shadow on Stack Overflow See other posts from Stack Overflow or by shadow
Published on 2010-04-07T02:08:56Z Indexed on 2010/04/07 2:13 UTC
Read the original article Hit count: 342

Filed under:
|
|

I've been trying to design a program that makes 2D animations and then uses the ffmpeg library to create the video for possible use in tv and movies. The problem is when I think about how to manage the data in the application I can only think of two ways, I don't think either of them will work out very well. One is to use an SQlite database, but it seems like it will be difficult to save, especially if an artist puts 1000 things on screen. The other is to use something like linked lists, which would duplicate many features of the database and get complicated when dealing with things like points on a bezier curve and jumping to a frame and collecting all the objects that need to be drawn on that frame. Should I use one of these solutions, or is there something else that would be better?

Currently planning to use C# for code.

© Stack Overflow or respective owner

Related posts about memory

Related posts about management