Package ca.eandb.jmist.framework.path

Examples of ca.eandb.jmist.framework.path.SurfaceLightNode


        generateRandomSurfacePoint(primitive, context, ru, rv, ref.seed);
        context.getModifier().modify(context);

        return ScaledLightNode.create(1.0 / totalWeight,
            new SurfaceLightNode(pathInfo, context, ru, rv, ref.seed), rj);
      }

      public double getSamplePDF(SurfacePoint x, PathInfo pathInfo) {
        return 1.0 / totalWeight;
      }
View Full Code Here


        ShadingContext context = new MinimalShadingContext(null);
        generateRandomSurfacePoint(context, ru, rv, rj);
        context.getModifier().modify(context);

        return ScaledLightNode.create(1.0 / surfaceArea,
            new SurfaceLightNode(pathInfo, context, ru, rv, rj), rj);
      }

      public double getSamplePDF(SurfacePoint x, PathInfo pathInfo) {
        return 1.0 / surfaceArea;
      }
View Full Code Here

        generateRandomSurfacePoint(primitive, context, ru, rv, ref.seed);
        context.getModifier().modify(context);

        return ScaledLightNode.create(1.0 / totalWeight,
            new SurfaceLightNode(pathInfo, context, ru, rv, ref.seed), rj);
      }

      public double getSamplePDF(SurfacePoint x, PathInfo pathInfo) {
        return 1.0 / totalWeight;
      }
View Full Code Here

TOP

Related Classes of ca.eandb.jmist.framework.path.SurfaceLightNode

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.