Package fcagnin.jgltut.tut16

Examples of fcagnin.jgltut.tut16.GammaRamp$ProjectionBlock


                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut16/data/";
                            new GammaRamp().start( 500, 195 );
                            break;
                        case "Gamma Checkers":
                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut16/data/";
                            new GammaCheckers().start();
                            break;
                        case "Gamma Landscape":
                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut16/data/";
                            new GammaLandscape().start( 700, 700 );
                            break;
View Full Code Here


                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut16/data/";
                            new GammaCheckers().start();
                            break;
                        case "Gamma Landscape":
                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut16/data/";
                            new GammaLandscape().start( 700, 700 );
                            break;

                        case "Double Projection":
                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut17/data/";
                            new DoubleProjection().start( 700, 350 );
View Full Code Here

                            new ManyImages().start();
                            break;

                        case "GammaRamp":
                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut16/data/";
                            new GammaRamp().start( 500, 195 );
                            break;
                        case "Gamma Checkers":
                            Framework.CURRENT_TUTORIAL_DATAPATH = "/fcagnin/jgltut/tut16/data/";
                            new GammaCheckers().start();
                            break;
View Full Code Here

        glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );

        MatrixStack modelMatrix = new MatrixStack();
        modelMatrix.applyMatrix( viewPole.calcMatrix() );

        LightBlock lightData = lightEnv.getLightBlock( viewPole.calcMatrix() );

        glBindBuffer( GL_UNIFORM_BUFFER, lightUniformBuffer );
        glBufferData( GL_UNIFORM_BUFFER, lightData.fillAndFlipBuffer( lightBlockBuffer ), GL_STREAM_DRAW );
        glBindBuffer( GL_UNIFORM_BUFFER, 0 );

        modelMatrix.push();
        modelMatrix.rotateX( -90.0f );
View Full Code Here

TOP

Related Classes of fcagnin.jgltut.tut16.GammaRamp$ProjectionBlock

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.