Giter Club home page Giter Club logo

perlin-noise-3d-voxel-generator's Introduction

Perlin-Noise-3D-Voxel-Generator

Voxel generator based on perlin 3d noise | Python OpenGL 3.3

Voxel Terrain Perlin Noise 3D

About

This is example program had written in Python that generate blocks similar minecraft. This implementation is not optmalized because that draw instanced cubes with position offset. The positions are generating by Perlin Noise. This program do not generation one big mesh. Made for learning purpose.

Features

  • Directional Shadows
  • Normal Mapping
  • Parallax Occlusion Mapping
  • Bloom/HDR effect

Installation

Install following packages via pip:

  1. PyOpenGL: pip install PyOpenGL PyOpenGL_accelerate
  2. GLFW: pip install glfw
  3. PyGLM: pip install PyGLM
  4. numpy: pip install numpy
  5. Pillow: pip install Pillow

If you have errors after installation you will do following:

  1. pip uninstall PyOpenGL PyOpenGL_accelerate
  2. Download and install PyOpenGL and PyOpenGL_accelerate from https://www.lfd.uci.edu/~gohlke/pythonlibs/

Control

G - to generate the new chunk of world
ESC - to exit the program

Execution

Open your terminal or CMD and call python executable.py or python3 executable.py

Thanks

perlin-noise-3d-voxel-generator's People

Contributors

stanfortonski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

dmetehan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.