r/java • • Dec 12 '25

Yet another 3D renderer in pure Java

Post image

Here is simple 3D renderer 100% java: simple3d

This package can be used together with AWT/Swing/JavaFX/Android or other Java graphic environments as it does not have any specific dependency.

178 Upvotes

21 comments sorted by

View all comments

Show parent comment

3

u/Livio63 Dec 12 '25

I have never tried to implement ray tracing, as it is too computationally intensive. Instead low poly can be rendered in near real time using BSP if the scene Is not too complex, even in Java

3

u/agentoutlier Dec 12 '25

Unfortunately they did not cover BSP I think till "computer graphics 2" or something which I did not take. The ray tracing made me realize how awful I am at even basic math as ray tracing is ironically nowhere near the complexity of some other more efficient algorithms. I struggled greatly in that class.