public void  Initialize(Engine.GraphicFactory factory, Engine.GraphicInfo ginfo)
 {
     if (effect == null)
     {
         effect = factory.GetBasicEffect();
         effect.VertexColorEnabled = true;
         effect.LightingEnabled = false;
         effect.TextureEnabled = false;                
     }        
 }
 /// <summary>
 /// Initializes
 /// </summary>
 /// <param name="factory">The factory.</param>
 /// <param name="ginfo">The ginfo.</param>
 public void  Initialize(Engine.GraphicFactory factory, Engine.GraphicInfo ginfo)
 {            
     sphereModel = new SimpleModel(factory, "Dsphere", true);
     if (effect == null)
     {
         effect = factory.GetBasicEffect();
         effect.TextureEnabled = false;
         effect.VertexColorEnabled = false;
         effect.LightingEnabled = lightingEnabled;
         WireFrameEnabled = true;
     }
 }