[ODE] Decals

Aras Pranckevicius nearaz at interamotion.com
Wed Feb 11 13:49:50 MST 2004


> i'd like to write decal shadows for trimesh in ODE (Opcode). Is there
> any possibility to get the intersecting triangles?

I guess this is offtopic for the ODE itself (what you're looking for is
collision detection with triangles - it has nothing to do with ODE).

That said, we're doing decals (but not shadows) by doing a sphere-mesh,
box-mesh or frustum-mesh collision queries depending on decal type. And yes,
we use OPCODE for that (but not ODE). It returns a list of triangles
colliding with the query object, and we do our own clipping, UV-generation
etc. on them.


Aras Pranckevicius aka NeARAZ
http://www.gim.ktu.lt/nesnausk/nearaz/



More information about the ODE mailing list