Page 1 of 1

Known Bug: Crash in demos on simulation switch

Posted: Wed Feb 06, 2008 11:07 pm
by Norbo
This is caused by the new shader instancing system in the demos; on some SM3.0 cards (two nVidia 6000 series tested so far), an OutOfVideoMemoryException will be thrown if simulations are changed too rapidly.

There are two workarounds; wait a few seconds between switching simulations, or open up the demos source.

The demos source contains all of the rendering systems, including the non-SM3.0 fallback, CPU instancing. This can be forced by creating the EntityDrawer in the switchSimulation(int sim) function within Demos.cs with useShaderInstancing = false. There is a performance hit, and the CPU instanced objects will be the same texture.

I'll be fixing this as soon as I get the chance.

Re: Known Bug: Crash in demos on simulation switch

Posted: Fri Feb 08, 2008 6:03 am
by Norbo
Alright, the new version should take care of it.