RE: [Plib-devel] ssgaSpheres?
Brought to you by:
sjbaker
From: McEVOY, N. <nic...@ba...> - 2005-02-02 04:41:40
|
Bram Stolk wrote: <...snip...> > bounds0: center=-0.124761,0.005011,0.317507 radius=1.860521 > bounds1: center=0.000000,0.000000,-0.000000 radius=0.947555 >...which looks wrong for three reasons: >1) radius of non latlong sphere is roughly twice as big >2) radii are not 1.0 >3) center of bounding sphere for non latlong sphere is not 0,0,0 I had a similar problem (and its still a problem nearly 3yrs later - I never had time to dig deeper into the PLIB code) - but in my case I was loading a sphere from AC3D (a 3D modelling tool) of radius 10 and centred at 0,0,0 - but when I check its bounding sphere ... getBSphere() I got bounding sphere radius return 17.9544 ??? And the centre of -1.27190,-0.726630,0.303701 ??? See http://sourceforge.net/mailarchive/message.php?msg_id=1153817 Sorry I don't yet have a solution. :( Cheers, Nick |