Examples of LightModel


Examples of codechicken.lib.lighting.LightModel

      e.setValue(e.getValue().twoFacedCopy().apply(new Translation(Vector3.center)).shrinkUVs(0.0005));
      e.getValue().computeLighting(LightModel.standardLightModel);
    }

    contents_models = CCModel.parseObjModels(MekanismUtils.getResource(ResourceType.MODEL, "transmitter_contents.obj"), 7, null);
    LightModel interiorLightModel = new LightModel()
        .setAmbient(new Vector3(0.6, 0.6, 0.6))
        .addLight(new Light(new Vector3(0.3, 1, -0.7))
            .setDiffuse(new Vector3(0.6, 0.6, 0.6)))
        .addLight(new Light(new Vector3(-0.3, 1, 0.7))
            .setDiffuse(new Vector3(0.6, 0.6, 0.6)));
View Full Code Here

Examples of org.apache.felix.upnp.sample.binaryLight.LightModel

  private Dictionary dictionary;
  private UPnPEventNotifier notifier;
 
  public LightDevice(BundleContext context) {
    this.context=context;
    model = new LightModel();
    ui = new LightUI(model);
    powerSwitch = new PowerSwitchService(model);
    services = new UPnPService[]{powerSwitch};
    setupDeviceProperties();
    buildEventNotifyer();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.