Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
28 сентября 2014 г. 3:05:43
00:02:36
Яндекс.Метрика