Module raytracer
Package de.grogra.ray

Class Raytracer

Direct Known Subclasses:
PhotonMapRaytracer

public class Raytracer extends ProgressNotifier
  • Field Details

  • Constructor Details

    • Raytracer

      public Raytracer()
  • Method Details

    • setAntialisingPolicy

      public void setAntialisingPolicy(int policy)
    • setRaytracingPolicy

      public void setRaytracingPolicy(int policy)
    • setPathtracingPathCount

      public void setPathtracingPathCount(int value)
    • setIntersectionPolicy

      public void setIntersectionPolicy(int policy)
    • setLightModel

      public void setLightModel(int policy)
    • setPriority

      public void setPriority(int value)
    • getPriority

      public int getPriority()
    • setRaytracingDepth

      public void setRaytracingDepth(int value)
    • getRaytracingDepth

      public int getRaytracingDepth()
    • enableDebugPixel

      public void enableDebugPixel(int x, int y, boolean markPixel)
    • disableDebugPixel

      public void disableDebugPixel()
    • setBrightnessScaleFactor

      public void setBrightnessScaleFactor(float value)
    • renderScene

      public void renderScene(RTScene scene, RTCamera camera, BufferedImage image)
    • prepareRaytracing

      protected void prepareRaytracing(RTScene scene, RTCamera camera)
    • raytracing

      protected void raytracing(BufferedImage image)
    • percentToString

      protected String percentToString(double percent)
    • printStatistics

      public void printStatistics()
    • getLights

      public static RTLight[] getLights(RTScene scene)
    • getShadeables

      public static RTObject[] getShadeables(RTScene scene)
    • getT

      public static float getT(Ray ray, Point3f point)