Sigma

About the actual programming of the game.

Re: Sigma

Postby adam » Sat Oct 26, 2013 1:36 pm

The gpu doesn't do simd afaik do there isn't a performance gain to be had as we aren't manipulating the vertex data very often on the cpu. Remember don't premature optimize. God idea though.
adam
 
Posts: 113
Joined: Tue Aug 20, 2013 11:58 am

Re: Sigma

Postby catageek » Sat Oct 26, 2013 4:20 pm

The point is not to optimize the rendering operation (I think this is neutral for GPU), but other CPU operations that we could make on the objects not related to rendering.

For example to find which object is the nearest from another, or to find objects that are included in a certain radius, all geometrical heavy computations in fact that can be vectorized, I suppose we will do many of these operations and I see a possible bottleneck.

If I was to code the geometric library, it would be difficult to make smart algorithms.
catageek
 
Posts: 39
Joined: Tue Oct 15, 2013 2:23 pm

Previous

Return to Code

Who is online

Users browsing this forum: No registered users and 1 guest

cron