How about tetrahedron tessellation algorithm? IMO it will produce *exact* 
result (no mathematical proof because I think it's trivially true ;) Correct me 
if I'm wrong ) if the density of material is constant. If we only need to 
calculate center of mass we can allow 'negative' tetrahedron in tessellation, 
i.e. tetrahedron with negative orientation, hence negative mass. You can look 
at 2D case, it should be much simpler (triangle tessellation with 'negative' 
triangle allowed) and the whole idea is same.

> Date: Sat, 15 Jun 2013 23:26:43 +0100
> From: [email protected]
> To: [email protected]; [email protected]
> Subject: Re: [Bf-committers] Blender Center of Mass - Voxel data better       
> algorithm?
> 
> Is the problem different vertex density?
> I don't know how it is currently implemented, but, if vertex density is the
> problem, the face's area can weight in with no need for voxel dataset.
> 
> --
> InĂªs Almeida
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
                                          
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to