Giter Site home page Giter Site logo

oopsoverflow / moncraft Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 3.0 435.94 MB

Sandbox game developed using C++ 14 & OpenGL 3.3 ๐Ÿ•น

License: GNU Affero General Public License v3.0

HTML 0.64% CSS 0.20% C++ 90.64% CMake 4.32% GLSL 2.80% Python 0.31% JavaScript 0.97% Shell 0.11%
opengl fog minecraft-clone cpp shadows game-development

moncraft's Introduction

Hi there ๐Ÿ‘‹

Houssem Mahmoud

Connect with me:

oopsoverflow.github.io LinkedIn Mail



Programming Languages I work with:

python C C++ Java JavaScript

Tools I use:

Visual Studio Code Visual Studio JetBrains PyCharm Discord Git GitHub Android





Stats:

Houssem's GitHub Stats

moncraft's People

Stargazers

 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

moncraft's Issues

Make Application cleaner

We've had tested a lot in Application.cpp but we have to make a clear code. Terrain generation don't use the loader functions for exemple. We can keep the block but i guess he will disappear in the future.

Camera can see through blocks in FPS

We can see throught blocks when the camera is tilted in FPS view. This is because the camera position is fixed to the player's head position. However, it is important to keep this system in TPS view.

Problem for far block rendering (only on windows)

Far blocks have issues on rendering. It is particularly visible on the trees with black spots that are strangely overlapped. Apparently, this seems to be related to frustum culling as the cutting is done parallel to the player.

lod for shadows ?

investigate the possibility to have multiple levels of details for the shadow casting.

Use loader in main

Too many bind don't use loader, we shall use it to make the code clearer.

glsl core 430 or 330 ?

explicit uniform locations in glsl is supported since glsl 430. Do we use this feature which makes Shader code simpler, or do we rollback to 330 and reimplement shader.getUniformLocation as it was a case a while ago.

Camera shifting

Camera slightly shifting after moving the cube ~e-6.
Maybe the difference between 2 mouse value is not set to null after releasing clic.

(tested on IceCube)

image

render only visible chunks

this is an easy fix which may help a lot with performance. All we have to do (roughly) is compare the angle between the camera forward direction and the chunk position and discard if greater than fov.

Comment the code

We shall comment our code before the rendering of the project.

Cmake TODO

Cmake is mandatory for the final rendering to the teacher

visual interferences when far away

The mipmaping seems to not be working.

MonCraft currently, debug texture instead of grass
MonCraft currently

Minecraft without mipmap
Minecraft without mipmap

Minecraft with mipmap
Minecraft with mipmap

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.