Package ca.eandb.jmist.framework.path

Examples of ca.eandb.jmist.framework.path.EyeNode.sample()


   * @see ca.eandb.jmist.framework.Lens#rayAt(ca.eandb.jmist.math.Point2, ca.eandb.jmist.framework.color.WavelengthPacket, ca.eandb.jmist.framework.Random)
   */
  public final ScatteredRay rayAt(Point2 p, WavelengthPacket lambda, Random rnd) {
    PathInfo path = new PathInfo(lambda);
    EyeNode node = sample(p, path, rnd.next(), rnd.next(), rnd.next());
    return node.sample(rnd.next(), rnd.next(), rnd.next());
  }

}
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.