Java Software Raytracer v3
More progress! I've been optimizing the rendering calculations a lot yet the performance is still quite slow, just proves how computationally heavy raytracing is. Also I made a Level class to hold all the scene objects and info quickly, wondering if I should make a proper 3D level editor for this just for fun.
Currently I'm thinking about remaking this in OpenCL and that stuff seems quite complicated so it may take a while... OpenGL and GLSL Shader language would be my 2nd choice, it would increase performance hugely but my guess is that a pure OpenCL implementation would still perform way faster. You can clearly see that my CPU can't process the frames fast enough to keep up with the main update loop so rendering tasks are getting piled up, the display looks completely smooth in resolutions smaller than 256x256 though if MAX_N is not set to some ridiculous number.
Also the project is now on GitHub: https://github.com/Harha/JRay
Видео Java Software Raytracer v3 канала Harha
Currently I'm thinking about remaking this in OpenCL and that stuff seems quite complicated so it may take a while... OpenGL and GLSL Shader language would be my 2nd choice, it would increase performance hugely but my guess is that a pure OpenCL implementation would still perform way faster. You can clearly see that my CPU can't process the frames fast enough to keep up with the main update loop so rendering tasks are getting piled up, the display looks completely smooth in resolutions smaller than 256x256 though if MAX_N is not set to some ridiculous number.
Also the project is now on GitHub: https://github.com/Harha/JRay
Видео Java Software Raytracer v3 канала Harha
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Space Engine - Random Exploration[Drum'n'bass] Harha - VoidDooM 2 Ray Traced Gameplay - RTX 3070, DLSS2Space Engine 0.9.7.3 Exploration, GPU: MSI GTX 970C Game Engine Project ProgressJava Path Tracer (JPath)C++Ray (CPU Pathtracer, WIP)LWJGL 3 3D OpenGL deferred renderer, dynamic shadowmaps, HDRMultithreaded Java RaytracerJava 3D Software Renderer | Raspberry PIi3 wm on cygwin (windows 10)Java 3D Software Renderer | Version 2Arch Linux (x64) Dedicated Server Setup (vncserver, lxde) - Illustrated on VirtualBox