On Jul 6, 2012, at 11:29 AM, crdueck wrote: > thats correct, and the formula i've used is the same, but with the common (PI > * r^2) term factored out. in the case of the circular raytrace that Wu > described, which volume/surface area should be calculated? the one for the > shape resulting from the raytrace, or the wireframe?
Based on what little I can find in the source code for the definition of V and H, it would seem that the raytrace is wrong. If H defines the interior length of the cylinder, then making r1=50; r2=25; |H|=50 should result in a pill 125 units long. The raytrace makes me believe that something in the shot() routine is maybe treating H as defining the exterior length of the entire particle, in which case the "pill" is 50 units long as r2 is completely inside of r1, and results in just the r1 sphere. Maybe someone can hunt it down and see if that's really what's going on or if it's something else altogether. Cheers! Sean ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel