Code Monkey home page Code Monkey logo

3d-rendering-engine's Introduction

3D-Rendering-Engine

Basic rendering engine written in Java. This project was made during an rendering course, followed at ENSEEIHT, a french engineer school.

About

We did not write the full engine but we completed it as part of an assignment. We mainly focus on transformation matrices, depth rendering, rasterization process, lighting interpolation and texture manipulation.

Getting started

To launch a scene, run the src\Renderer class. You have to provide a .scene file in first argument of the run which correspond to the scene you which to render. To reach the end of the rendering process, you also have to specified a .jpg or .png texture image.

All the availables scenes are in the \data folder. Each one of them contains a different .off file which correspond to a 3D mesh. Textures images are also in the \data folder.

Results

Basic Rasterization Renderer

Those pictures show 3 step of our rendering system :

  1. Wireframe rendering with colored vertices.
  2. Solid rendering, without lighting.
  3. Solid rendering, with lighting.

Rabbit

Monkey

With texture

The following images are an example of textures rendering. We kept the previous steps but we add two more for the texture :

  1. Solid rendering, with texture
  2. Solid rendering, with texture combined with base color.

Plane with rock texture

Contributors

3d-rendering-engine's People

Contributors

graygzou avatar

Watchers

 avatar  avatar  avatar

3d-rendering-engine's Issues

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.