Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML + Raycasting + CUDA  (Read 1398 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1843
    • View Profile
    • My GitHub Page
    • Email
SFML + Raycasting + CUDA
« on: July 23, 2018, 03:51:10 pm »
As part of one of my uni classes I've made a CUDA version of Fox Raycaster (the CPU one got optimized a lot and has had bugs in it fixed too): https://github.com/FRex/Fox2

SFML for Sprites, ImGui, Windowing and timing the raster on the CPU.

CUDA for timing and raster itself on the GPU.

A bit of OpenGL to go via a pixel unpack buffer straight to sf::Texture so technically data goes CUDA -> PBO -> GL texture, never making a round trip to the CPU.
« Last Edit: July 23, 2018, 03:54:43 pm by FRex »
ZipSavings, script to count rar/7z/zip savings: https://goo.gl/vvBj5M
LuaConsole: https://goo.gl/X4kRUk
FoxRaycaster: https://goo.gl/27nVS8
Small Games - Heart, Routing and Snek: https://goo.gl/15ZGWE https://goo.gl/k5gwWD https://goo.gl/4nKPnT
Botes - a notes app in Pascal: https://goo.gl/bzTqsi

 

anything