An open API service indexing awesome lists of open source software.

https://github.com/margual56/raymarching

A 3D renderer made in Java that uses the Ray Marching algorithm
https://github.com/margual56/raymarching

3drendering java raymarching rendering

Last synced: 11 months ago
JSON representation

A 3D renderer made in Java that uses the Ray Marching algorithm

Awesome Lists containing this project

README

          

# RayMarching
A 3D renderer made in Java that uses the [Ray Marching algorithm]

![render of a cylinder](capsule_render.png)

## Expandability
To implement a new shape, all you have to do is create a new class implementing the interface "Geometry" and search the [Distance estimation function](https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm)

## TODO
There is so much work to do:


  • Lights don't interact properly with the objects.

  • Right now it can only render in black and white.

  • The render is fast (with low resolutions), but there is no implemented "repaint".

  • Neither the camera nor the objects can be moved after executing.

  • The scale of the objects and the distance/position has a weird scale and orientation.

  • Lots of minor tweaks and improvements

## License
[GNU GPLv3](https://choosealicense.com/licenses/gpl-3.0/)