public VehicleForm() { InitializeComponent(); Renderer = new Renderer(this, GameFileCache); camera = Renderer.camera; timecycle = Renderer.timecycle; weather = Renderer.weather; clouds = Renderer.clouds; initedOk = Renderer.Init(); Renderer.controllightdir = !Settings.Default.Skydome; Renderer.rendercollisionmeshes = false; Renderer.renderclouds = false; //Renderer.renderclouds = true; //Renderer.individualcloudfrag = "Contrails"; Renderer.rendermoon = false; Renderer.renderskeletons = false; Renderer.SelectionFlagsTestAll = true; }
public ModelForm(ExploreForm ExpForm = null) { InitializeComponent(); gameFileCache = ExpForm?.GetFileCache(); Renderer = new Renderer(this, gameFileCache); camera = Renderer.camera; timecycle = Renderer.timecycle; weather = Renderer.weather; clouds = Renderer.clouds; initedOk = Renderer.Init(); Renderer.controllightdir = !Settings.Default.Skydome; Renderer.rendercollisionmeshes = false; Renderer.renderclouds = false; Renderer.rendermoon = false; Renderer.renderskeletons = true; Renderer.SelectionFlagsTestAll = true; }