Giter Site home page Giter Site logo

nomanhasan / lwjglgameengine Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 86.37 MB

This is a game engine developed in LWJGL library. It is a java library for OpenGL Programming. I used Modern OpenGL and shading languages to complete the game engine. The Game consists of a Open world and a roaming Mode.

Java 100.00%

lwjglgameengine's Introduction

LWJGLGameEngine

This is a game engine developed in LWJGL library. It is a java library for OpenGL Programming. I used Modern OpenGL and shading languages to complete the game engine. The Game consists of a Open world and a roaming Mode.

  • This game contains a Large Terrain, With Chunk Size 44, With every chunk sizing 800800 unit.

![alt text]("Buildr's Guild/Untitled.png")

  • FOG is implemented throughout the game world. The fog illusion was created by changing the color value of vertexes more like the color value of the sky as the object gains distance from the camera.

![alt text](Buildr's Guild/Untitled2.jpg "Batman in the jungle!")

  • This game contains 2 different types of rivers, created with blendmap Texturing technique. which spans throughout the whole terrain.

![alt text](Buildr's Guild/Untitled3.jpg "Batman in the jungle!")

  • The terrain has been given variable height based on Height Map Technique, Where the height of individual vertex of a terrain is calculated using the color value of the pixel of corresponding greyscale heightMap picture.

![alt text](Buildr's Guild/Untitled4.jpg "Batman in the jungle!")

  • Here I have implemented Diffuse Lighting, Specular Lighting and Ambient Lighting with the light source at co-ordinate 20000,40000, 10000. All in OpenGL Shading Language.

![alt text](Buildr's Guild/Untitled5.jpg "Batman in the jungle!")

  • In this forest There are about several hundreds animal of 13 types of species. All of the animals have individual direction of motion, turn duration and velocity of motion. All of these are assigned randomly in the run-time with specific thresholds for each type of animals.

![alt text](Buildr's Guild/Untitled6.jpg "Batman in the jungle!")

  • All of the 3d Models were obtained from tf3dm.com. And all of those were UV Mapped by me. All the 3D models had to be optimized By hand - the edge and face counts had to be reduced to run efficiently in the Game. The decimate plugin of Blender helped me a lot in optimizing more.

![alt text](Buildr's Guild/Untitled7.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled8.jpg "Batman in the jungle!")

The game was developed using the Modern OpenGL. Which is very much dependent on shading language. I had to learn the OpenGL Shading Language to complete the game in Modern OpenGL. The fact that I used Java as my preferred language changes very little about how the game was developed in Modern OpenGL and GLSL. Mostly the fact that the LWJGL library includes OpenGL ES Binding, Objective-c binding, GLFW and even OpenCL Binding contributed in my choice. I liked the way this library feels compact and reliable.

![alt text](Buildr's Guild/Untitled8.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled9.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled10.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled11.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled12.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled13.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled14.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled15.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled16.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled17.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled18.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled19.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled20.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled21.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled22.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled23.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled24.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled25.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled26.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled27.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled28.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled29.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled30.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled31.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled32.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled33.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled34.jpg "Batman in the jungle!") ![alt text](Buildr's Guild/Untitled35.jpg "Batman in the jungle!")

lwjglgameengine's People

Contributors

nomanhasan avatar

Watchers

James Cloos avatar  avatar

Forkers

jeem200

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.