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.
How to Use
Follow these steps:
- Create a
.txtfile to describe the desired scene (world). For examples of some scene files, check the
/examplesdirectory. In general, all directions are described as a 3D vector, while all colors and lights are described as an RGB value.
- Call the main application with the
txtscene file as the input.
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.