Currently browsing tag

programming

Cuda Voxelizer v0.4: OBJ Support!

I’ve found a bit of time to work on my CUDA polygon mesh voxelizer, a command line tool to turn a polygon mesh into a voxel grid representation. The tool seems to be used by some people, always nice to see! Support for outputting to an .obj point cloud, which …

Red Dead Redemption 2 Settings Parser

We all looked forward to the release of cowboy-em-up Red Dead Redemption 2 on PC. The game has a lot of graphics settings options, and has proven to be quite a beast to get running well. The built-in presets are system-dependent, which makes comparing settings and performance between systems a …

Visual Studio 2017 OpenGL Project

Since a lot of people ask me how to get started with OpenGL development on Windows using Visual Studio community edition, I made a little project that contains the most basic setup to reduce your TTT™ (Time-To-Triangle™, patent pending). It can be found at https://github.com/Forceflow/opengl_viewer (for lack of a better name) and uses …

cuda2GLCore: CUDA to OpenGL textures

I made a new implementation of the Cuda2GL sample provided in the CUDA Samples by Nvidia. The sample 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 (Compatibility profile) to draw the resulting texture. The sample …

TriMesh2 Fork – A library for 3D mesh editing and I/O

During my first years in graphics development, I relied heavily on Szymon Rusinkiewicz’s C++ TriMesh2 library. It’s a nice set of tools for 3D mesh input/output, basic visualization and processing. I’ve come to use it in most of my projects. It imports .obj, .3ds and .ply files (amongst others), and puts …

CUDA Voxelizer v0.1

Time to release something that’s been gathering dust on my hard drive for a bit too long: I wrote a CUDA-accelerated voxelizer. It converts polygon meshes into annotated voxel grids. You can download source code and executables on Github. Written in C++ / CUDA Outputs data to .binvox file format …

Libmorton: A library for Morton order encoding / decoding

For my graphics research, I ended up having to encode/decode 3D coordinates into Morton order / Z-order a lot.  For a detailed explanation on how I use them and what they are, check this blog post, which sparked an interesting discussion on the implementation details, and turned out to be a popular …

Out-Of-Core SVO Builder v1.3

Just a quick post to celebrate that I’ve updated ooc_svo_builder, the Sparse Voxel Octree builder I’ve written for my paper in Computer Graphics Forum. The updated version has some bugfixes, and profits from some performance improvements in morton code encoding/decoding from the libmorton project. Also nice to see how at High …

Out of Core SVO Builder: 1.2 release

For future research and publication, I’ve been updating my Out-Of-Core Sparse Voxel Octree Builder (or ooc_svo_builder, if you’re in a hurry) based on our HPG paper. It’s faster, cleaner and more fun! Source, Win64/Linux64 binaries and manual can be found in the github repository. It also builds on OSX. New …