Jump to content


Member Since 02 May 2009
Offline Last Active Nov 29 2013 10:08 AM

Topics I've Started

Triangle color from code

31 May 2013 - 05:34 PM

I have to display some meshes where each triangle color depend from a value in an array that can change each frame.
The meshes are loaded when the game run and are not know in advance. The meshes uses shared vertices.

Which would be the best way to implement this? Use a geometry shader?

I will use this to display the hitpoints on each armor segment of the hull on a vehicle.

Collision Detection of Multi-Part Object

02 May 2009 - 10:19 PM

In my space game i have ships that are composed of a hull and many turrets that can rotate indipendently. When two ship are close and have to check for collision i rebuild the collision data with the current position of the turrets to use the hull and the turrets as a single object. This method is too slow. There is a collision library that manage this situation? If not what else can be done?