RE: [Plib-users] triangles from branches
Brought to you by:
sjbaker
From: McEVOY, N. <nic...@ba...> - 2004-10-26 02:34:11
|
>Hi, >I'm new to this mailing list. I'm trying to use plib together with ode >(www.ode.org) dynamics engine, did anyone have some experience with it? I have created a few ode-plib projects at: http://users.bigpond.net.au/ndmcevoy/ Unfortunately I have been so busy lately that I have not had a chance to work on anything new. :( >My main problem is that I need to access the triangle data for a given >object (ie a branch entity, which contains data loaded from a model in >.ac format) to create the geometric rapresentation for the ode's >collision detection system. Is there a simple way to reach these >informations using plib api? I couldn't figure out from the docs. Most of my applications approximate the .ac model using ode primitives e.g. box & sphere. I have code to determine collisions of ode box/sphere against my plib .ac terrain model. ode takes care of collisions between its primitives. Anyway you can download my source code (e.g. TuxWaveracer) and have a look yourself if you like. None of my projects are very polished or completed (except for MarbleTower - nb. MarbleTower has a bug in the collision code - which is fixed in TuxWaveracer). Cheers, Nick |