Class Pipeline2


  • public final class Pipeline2
    extends Object
    This renderer takes as its input a Scene data structure and a FrameBuffer.Viewport within a FrameBuffer data structure. This renderer mutates the FrameBuffer.Viewport so that it is filled in with the rendered image of the geometric scene represented by the Scene object.

    This implements our third rendering pipeline. This pipeline can process the colors stored in each Model. This renderer has the same four pipeline stages but Vertex colors are now interpolated to pixels by the raterization stage.

    This second version of the rendering pipeline does each stage of the pipeline on the entire scene before it moves on to the next stage. So each stage of the pipeline produces a new Scene object that is the transformation of the Scene object from the previous stage.