Currently browsing tag

c++

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 …

RenderOops

Update (2020): You can submit your graphical oopsies to the Glitch Gallery! An awesome project where graphics programmers can present their finest work as True Art(tm). I was browsing through an old folder with screenshots from my graphics work, and found some render fails I encountered when haphazardly programming. (Results …

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 …

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 …