Skip to content

alexeyza/raytracer

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Ray Tracer

This is a ray tracer implemented in Java. It allows to use a simple pre-defined language to define a scene as a file, and use it as an input to the ray tracer. The ray tracer will recreate the scene and save output image.

alt text

alt text

How to Use

Follow these steps:

  1. Create a .txt file to describe the desired scene (world). For examples of some scene files, check the /examples directory. In general, all directions are described as a 3D vector, while all colors and lights are described as an RGB value.
  2. Call the main application with the txt scene file as the input.

Beta

This software is not perfect and may not work properly (currently it is missing some advanced features).


Copyright (C) 2009-2013 Alexey Zagalsky

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A Ray Tracer implemented in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published