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

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

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1845
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • 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 »
Back to C++ gamedev with SFML in May 2023

 

anything