Class RtRaytracer

  • Direct Known Subclasses:
    TestRayTracerMain

    public class RtRaytracer
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double maxDistance  
    • Constructor Summary

      Constructors 
      Constructor Description
      RtRaytracer()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RtColor rayTrace​(RtScene scene, RtRay ray, int depth)  
      static boolean Render​(RtScene scene, int width, int height, java.lang.String outputfilename)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • maxDistance

        public static double maxDistance
    • Constructor Detail

      • RtRaytracer

        public RtRaytracer()
    • Method Detail

      • Render

        public static boolean Render​(RtScene scene,
                                     int width,
                                     int height,
                                     java.lang.String outputfilename)
                              throws java.io.IOException
        Throws:
        java.io.IOException