Git Product home page Git Product logo

42-vox's Introduction

42-Vox

Objective

This project aims to confront you to a graphic project that will be extremely demanding
in terms of optimization. You will have to study the characteristics of the voxel worlds,
and use them along your infographics knowledge to display a lot of elements on screen.
Thus, you will have to study different algo/opti to obtain a SMOOTH render (there are
many of them). You will also have to manage your memory and data structures properly
to be able to travel in a very, very large universe.

See subject.pdf.

Requirement

  • Go
  • OpenGL 4

Compatibility

Work on Mac, Linux and Windows. Windows will require Golang 32bits version.

Usage

go run .

or

go build
./vox -fs=true

Flags

-fs
    Set fullscreen mode (default true)
-maxVision float
	Set max cube vision (default 240)
-px float
	Starting X position (default 49272.25)
-py float
	Starting Y position (default 90)
-pz float
	Starting Z position (default 82937.15)
-seed float
	Seed used for procedural generation (default 42)

How to "play"

  • asdw to move
  • lctrl and space to go up and down
  • mouse to look around
  • lshift to set speed at x20, lalt to set it at x50
  • ` to show some stats (fps, number of triangles, positions, ...)
  • 2 to change seed on live
  • 3 to use Isometric View

Video of the result

Watch the video

42-vox's People

Contributors

ludoviclemaire avatar sylrelo avatar

Stargazers

ekis avatar Mokhirboy avatar Gábor Nagymajtényi avatar Claus Mandal avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

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.