Examples of SurfaceLightNode


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

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

        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

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