Author Archives: reskin

Geometry Shaders

We are right at the lower limit (24 FPS) for the display program running a 6-head gaming card on a monster machine with just the terrain, atmospheric effects, and two copies of the same platform model.

I had a sneaky suspicion that rendering each viewport in its entirety during the “Render” method would be slower than sending all 6 projection matrices to the HLSL shaders and letting them split the geometry across viewports.

I am happy to provide some numbers now after this evening’s spike!  I applied this change just to the terrain and turned off the model rendering: 137 FPS before, 154 FPS after (a 13% increase in performance).

So, yes… it is faster. There is one big drawback… the shader wants to know how many vertices to expect coming out of the GS (I usually just run 1 viewport on my development machine).

//--------------------------------------------------------------------------------------
// Geometry Shaders
//--------------------------------------------------------------------------------------
[maxvertexcount(18)]
void GS(triangle VSSceneOutMain In[3], inout TriangleStream TriStream)
{
GSSceneOutMain output = (GSSceneOutMain)0.0;

So it isn’t really worth doing right now… the bigger fish to fry is obviously the models rendering speed!

Exterior Paint

I have put on maybe 4 or 5 gallons of white paint ranging from $15 to $60 per gallon on the exterior of the Dropship in the past 3 years but I have high hopes for this Sherwin Williams product that I used for my latest coat.

035777251690[1]

It is thick. It is tenacious. It applied very evenly and dried quickly. If it is as durable in the elements as it claims then they have a customer for the long haul here – I will use it in all my outside projects!

Unfortunately, it appears to be exclusively at Lowe’s so I can’t show you price information but I paid about $45.