Re: [TuxKart-devel] Question about plib
Status: Alpha
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2004-07-20 00:05:44
|
Jacob Persson wrote: > I've been playing with ODE and plib trying achieve some collision detection > between meshes loaded from AC-models. Yeah - that's an interesting problem. > I've seen the getNumTriangles functions and such in ssgLeaf but I don't > understand how you get to them from ssgTransform. They come though un-transformed...it has to be like that for many reasons. The ODE collision library must have some mechanism for indicating that objects are stuck under a transform. > I also wonder if > getVertex (0) returns the pointer to the start of the vertex-array. Yes - it does. But that array isn't transformed by any ssgTransform's above them in the tree because that would preclude moving parts in the model. > And At > last does plib store it's meshes using indices? if so can get you get access > to them? There are actually several different leaf nodes that operate in different ways. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |