GithubHelp home page GithubHelp logo

jray's Introduction

Jray

A distributed java raytracer

About

This is a hobby project which I've been working on and off on for about 2 years.
The code has been refactored many times as I learn more about java.

The cool thing about this raytracer is that you can run it on multiple machines to speed up the render, I've tried to keep the code as readable as possible without sacrificing to much speed, but this ray tracer is not about speed and efficiency -perhaps ill focus on that in a later stadium-.

I've decided to host it on Github for my portfolio.

Interesting renders Interesting renders Interesting renders

Features

  • Lighting
    • Point light
    • Multiple light sources
  • Renderable object's
    • Infinite plane
    • Sphere
    • .OBJ model
  • Materials and textures
    • Lambert
    • Specular
    • Phong (beta)
    • Checkerboard pattern texture
  • Misc
    • KD-Tree for mesh's
    • Global illumination

To-do list

  1. Add support for model rotations
  2. Add more materials and textures
  3. Add support for sequence rendering
  4. Add more light types
  5. optimisation tactics

Trying it yourself

Right now it's simple. Simply clone the project, edit the scene and settingsXML in scenes/testSettings.xml if you like.
Make sure you have the .obj models stored in ~/JRay/models

Build with maven; Run with args:
-h -s scenes/testSettings.xml -p 9090 -a localhost:9090

jray's People

Contributors

jelknab avatar

Stargazers

Studio 42 avatar

Watchers

 avatar Studio 42 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.