I'm developing a program to find some physical characteristics of geometry. In short, you give it a model defined by a list of triangles that defines a closed geometry, a mass and scale (in case the model was designed at less than full sized) and the program proceeds to find the volume, the density, moments of inertia, center of mass and percussion, etc.
There are a couple considerations...
1. It will be time consuming. Geometry will be huge. Up to the size of battleship and I'm using a millimeter size resolution for sampling. So, it could very well be in the billions of samplings, making it time consuming. I can eliminate a lot by working on only that space that has something in it, and using spanning but it could still be time consuming. This is exacerbated by the fact the program will have to be two-pass. The first pass determines the volume for density determination, the second pass determines all that which is depends on particulate determination.
2. This is on my home machine, so I don't need to be courteous to anyone. Anything I can do to make this run faster, the better.
3. I want to watch numbers update, as much as for debugging as is for seeing the progress and wow factor.
Anyone else develop a program under such conditions and can advise?
There are a couple considerations...
1. It will be time consuming. Geometry will be huge. Up to the size of battleship and I'm using a millimeter size resolution for sampling. So, it could very well be in the billions of samplings, making it time consuming. I can eliminate a lot by working on only that space that has something in it, and using spanning but it could still be time consuming. This is exacerbated by the fact the program will have to be two-pass. The first pass determines the volume for density determination, the second pass determines all that which is depends on particulate determination.
2. This is on my home machine, so I don't need to be courteous to anyone. Anything I can do to make this run faster, the better.
3. I want to watch numbers update, as much as for debugging as is for seeing the progress and wow factor.
Anyone else develop a program under such conditions and can advise?
