private void LoadBaseDrawables() { var floor = new DrawableFloor(); scene.staticObjects.Add(floor); var xyzLnes = new DrawableXyzLines(); scene.staticObjects.Add(xyzLnes); bool UseSkybox = false; if (UseSkybox) { var skybox = new DrawableSkybox(); scene.staticObjects.Add(skybox); } else if (Runtime.renderBackGround) { var background = new DrawableBackground(); scene.staticObjects.Add(background); } LoadFog(); Runtime.OpenTKInitialized = true; }
private void LoadBaseDrawables() { Runtime.OpenTKInitialized = true; var floor = new DrawableFloor(); var xyzLnes = new DrawableXyzLines(); var skybox = new DrawableSkybox(); var background = new DrawableBackground(); scene.staticObjects.Add(floor); scene.staticObjects.Add(xyzLnes); scene.staticObjects.Add(skybox); scene.staticObjects.Add(background); }
private void LoadBaseDrawables() { var floor = new DrawableFloor(); scene.staticObjects.Add(floor); var xyzLnes = new DrawableXyzLines(); scene.staticObjects.Add(xyzLnes); var skybox = new DrawableSkybox(); scene.staticObjects.Add(skybox); var background = new DrawableBackground(); scene.staticObjects.Add(background); // scene.objects.Add(new SingleObject(new Vector3(0, 0, 0))); // LoadFog(); Runtime.OpenTKInitialized = true; }