View Single Post
Old 10-08-2004, 11:21 PM   #88
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,774
jleslie - Thanks for the suggestions, the movement items are all planned.

Collision - this is the single most difficult piece of programming. The "extended rod" system you talk about is basically what I use now, but it has serious flaws. In predicting collisions, it assumes that the target fish will continue along the same trajectory until the subject fish would collide with it. But the fish can turn or change speed at any time - once the program starts they are free agents, for all practical purposes. In turning the subject fish away from that potential collision, it's just as likely that I'll turn it toward another conflict since I don't know what any of the other fish are going to do next. I'm not the only one with this problem - I've never seen another aquarium program without its share of pass-throughs.

Regarding the background, I'll have to look up "naff". If it means less than optimum, then I totally agree. Hence the plan for the 3D background.
Jim Sachs
Creator of SereneScreen Aquarium
Jim Sachs is offline   Reply With Quote