Package ca.eandb.jmist.framework.lens

Examples of ca.eandb.jmist.framework.lens.TransformableLens


   * Creates the <code>Lens</code> used in the Cornell Box.
   * @return The <code>Lens</code> used in the Cornell Box.
   */
  private static Lens createLens() {

    TransformableLens lens = new TransformableLens(
        PinholeLens.fromHfovAndAspect(2.0 * Math.atan2(0.25 / 2.0, 0.35), 1.0));

    lens.rotateY(Math.PI);
    lens.translate(new Vector3(278.0, 273.0, -800.0));

    return lens;

  }
View Full Code Here


   * Creates the <code>Lens</code> used in the Cornell Box.
   * @return The <code>Lens</code> used in the Cornell Box.
   */
  private static Lens createLens() {

    TransformableLens lens = new TransformableLens(
        PinholeLens.fromHfovAndAspect(2.0 * Math.atan2(0.25 / 2.0, 0.35), 1.0));

    lens.rotateY(Math.PI);
    lens.translate(new Vector3(278.0, 273.0, -800.0));

    return lens;

  }
View Full Code Here

TOP

Related Classes of ca.eandb.jmist.framework.lens.TransformableLens

Copyright © 2018 www.massapicom. 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.