All Projects → Forceflow → cuda2GLcore

Forceflow / cuda2GLcore

Licence: GPL-3.0 License
Implementation of Cuda to OpenGL rendering

Programming Languages

C++
36643 projects - #6 most used programming language
Cuda
1817 projects

Projects that are alternatives of or similar to cuda2GLcore

LuisaRender
High-Performance Multiple-Backend Renderer Based on LuisaCompute
Stars: ✭ 47 (+2.17%)
Mutual labels:  rendering, cuda
Lighthouse2
Lighthouse 2 framework for real-time ray tracing
Stars: ✭ 542 (+1078.26%)
Mutual labels:  rendering, cuda
Open3d
Open3D: A Modern Library for 3D Data Processing
Stars: ✭ 5,860 (+12639.13%)
Mutual labels:  rendering, cuda
Soul Engine
Physically based renderer and simulation engine for real-time applications.
Stars: ✭ 37 (-19.57%)
Mutual labels:  rendering, cuda
tiny-cuda-nn
Lightning fast & tiny C++/CUDA neural network framework
Stars: ✭ 908 (+1873.91%)
Mutual labels:  rendering, cuda
Mpr
Reference implementation for "Massively Parallel Rendering of Complex Closed-Form Implicit Surfaces" (SIGGRAPH 2020)
Stars: ✭ 84 (+82.61%)
Mutual labels:  rendering, cuda
mini-nbody
A simple gravitational N-body simulation in less than 100 lines of C code, with CUDA optimizations.
Stars: ✭ 73 (+58.7%)
Mutual labels:  cuda
TinySoftRenderer
A tiny soft-renderer built from scratch using C++ 11
Stars: ✭ 91 (+97.83%)
Mutual labels:  rendering
MatX
An efficient C++17 GPU numerical computing library with Python-like syntax
Stars: ✭ 418 (+808.7%)
Mutual labels:  cuda
cresset
Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
Stars: ✭ 573 (+1145.65%)
Mutual labels:  cuda
opencv-cuda-docker
Dockerfiles for OpenCV compiled with CUDA, opencv_contrib modules and Python 3 bindings
Stars: ✭ 55 (+19.57%)
Mutual labels:  cuda
hipacc
A domain-specific language and compiler for image processing
Stars: ✭ 72 (+56.52%)
Mutual labels:  cuda
revisiting-sepconv
an implementation of Revisiting Adaptive Convolutions for Video Frame Interpolation using PyTorch
Stars: ✭ 43 (-6.52%)
Mutual labels:  cuda
disptools
Generate displacement fields with known volume changes
Stars: ✭ 17 (-63.04%)
Mutual labels:  cuda
CudaSHA256
Simple tool to calculate sha256 on GPU using Cuda
Stars: ✭ 38 (-17.39%)
Mutual labels:  cuda
D3D12Renderer
Custom renderer and physics engine written from scratch in C++/Direct3D 12.
Stars: ✭ 17 (-63.04%)
Mutual labels:  rendering
mbsolve
An open-source solver tool for the Maxwell-Bloch equations.
Stars: ✭ 14 (-69.57%)
Mutual labels:  cuda
dynamic-occupancy-grid-map
Implementation of A Random Finite Set Approach for Dynamic Occupancy Grid Maps with Real-Time Application
Stars: ✭ 89 (+93.48%)
Mutual labels:  cuda
octotiger
Astrophysics program simulating the evolution of star systems based on the fast multipole method on adaptive Octrees
Stars: ✭ 30 (-34.78%)
Mutual labels:  cuda
lbvh
an implementation of parallel linear BVH (LBVH) on GPU
Stars: ✭ 67 (+45.65%)
Mutual labels:  cuda

cuda2GLcore

This is an implementation of the SimpleCuda2GL sample provided in the CUDA Samples by Nvidia. The project shows how to generate a texture in CUDA and use it in an OpenGL context without copying it to main memory. The original implementation uses Glut and OpenGL immediate mode to draw the resulting texture.

This implementation improves on the original example by using GLEW, GLFW and OpenGL 4.5 core, using buffer objects, allowing your applications to be analyzed by excellent tools such as Renderdoc, which only support core OpenGL Profiles.

Note: This example was based on the CUDA 8.0 samples and has been updated to work with newer CUDA versions. Since CUDA 11.0, the official NVIDIA sample has been problematic for me to run (issue here). I'm working on pulling this example in line with the official samples. For now, this still seems like a good starting point, unless you're on OSX.

Usage

In the msvc folder, there is a VS2017 and a VS2019 project (both have been tested using the VS Community Edition). Use thecustom_includes.props file to define the locations of your GLEW and GLFW installations, then run the project.

Cuda2GLCore example

Notes

  • This code contains helper libraries by Nvidia. All of the code samples are available under a permissive license that allows you to freely incorporate them into your applications and create derivative works for commercial, academic, or personal use.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].