Package ca.eandb.jmist.framework.color

Examples of ca.eandb.jmist.framework.color.ColorModel.sample()


  @Override
  public Vector3 scatter(final SurfacePointGeometry x, Vector3 v, boolean adjoint,
      double wavelength, Random rnd) {

    ColorModel cm = new MonochromeColorModel(wavelength);
    Color white = cm.sample(rnd);
    SurfacePoint surf = new SurfacePoint() {
      public Medium getAmbientMedium() {
        return ambientMedium;
      }
      public Material getMaterial() {
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.