Package NoiseGen.NoiseContainer.populated

Examples of NoiseGen.NoiseContainer.populated.GeneratedNoiseContainer.populate()


//        perlinAddtive.populate(perlin);

        GeneratedNoiseContainer voronoiVanilla = new GeneratedNoiseContainer(1200, 800, 1);
        voronoiVanilla.setOffset(0.0, 0.0, 0.0);
        voronoiVanilla.setScale(1, 1, 1);
        voronoiVanilla.populate(voronoi);
//
//        RidgedMultiCombiner voronoiRidged = new RidgedMultiCombiner(800, 500, 1);
//        voronoiRidged.setOffset(0, 0, 0);
//        voronoiRidged.setScale(1, 1, 1);
//        voronoiRidged.populate(voronoi);
View Full Code Here


        for(int o = 0; o < getNumOctaves(); o++){
            if(!isFractalOctaves())
                generator.setSeed(originalSeed + o);
            GeneratedNoiseContainer layer = new GeneratedNoiseContainer(getLength(), getHeight(), getDepth());
            layer.setScale(getScaleX() + (o * getScaleOctX()), getScaleY() + (o * getScaleOctY()), getScaleZ() + (o * getScaleOctZ()));
            layer.populate(generator);
            octaves.add(layer);
        }
        generator.setSeed(originalSeed);
        combine();
    }
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.