Better HN
topnewbestaskshowjobs
Log inSign up

jbikker

16 karma · joined Feb 26, 2020 (6y ago) · 30 submissions

Submissions

comment 8mo ago · link · parent

DELTA is a retro game for the MSX2 platform (~1985) featuring polygon graphics at 20fps.

2.

Delta – 3D racing game for MSX2 (z80)(jacco.ompf2.com ↗)

2 points · by jbikker · 8mo ago · 1 comment

comment 1y ago · link · parent

Fast BVH construction and maintenance, with a very compact API. New version adds SBVH with "unsplitting" for ultimate BVH quality.

comment 2y ago · link · parent

Last week I released on github a new single-header file library for constructing and traversing BVHs on the CPU, with (short-term) plans to take traversal (not construction) to the GPU as well.

Features:

* No dependencies at all. Just add the header to your project and it works. * Simple interface. Build using a flat array of triangle vertices. * Builds state-of-the-art SAH binned BVH using AVX - 34ms for 260k triangles. * Or, ~250ms for the same data without AVX, for cross-platform purposes. * Builds wide BVHs: 4-wide and 8-wide, also in GPU-friendly format. * BVH refitting. * BVH optimizing: post-process your static scene BVH for ~15% more speed. * Comparison against Embree is included (not winning yet but closing in).

Coming up:

* CWBVH for billions of rays/second on the GPU. * OpenCL examples. * TLAS/BLAS traversal.

The code is an implementation and continuation of my articles on BVH construction.

https://jacco.ompf2.com/2022/04/13/how-to-build-a-bvh-part-1...

Support / questions:

jbikker.bsky.social j_bikker on X.

comment 2y ago · link · parent

Third episode of the Voxel Ray Tracing in C++ tutorial. Describes ray tracing techniques using a fast CPU template / framework. Covered so far: lights, shadows, reflection, refraction. Third article covers stochastic techniques: anti-aliasing and soft shadows, using temporal accumulation.

6.

Ray Tracing with Voxels in C++(web201.your-webhost.nl ↗)

1 points · by jbikker · 2y ago · discuss

comment 4y ago · link · parent

Hi Roel. :) Was a pleasure to work with you!

comment 4y ago · link · parent

Very nice. :) Every language deserves its own ray tracer!

comment 4y ago · link · parent

You mean it looks funny in Safari without that setting? I am learning a ton about wordpress caching plugins, after last night's HN deluge... Perhaps I can do a tutorial on that next. ;)

comment 4y ago · link · parent

That must have been very recently then? IIRC, until two years ago there was ray tracing, then rasterization, in that order. As it should be. :)

Anyway if you're in Utrecht there's a nice 'Advanced Graphics' course. Best time of my life, once a year.

comment 4y ago · link · parent

Here's one in 9 lines of C: :)

https://pastebin.com/c7n66AVm

comment 4y ago · link · parent

Yes the site got slashdotted... reached out to the ISP, should be back online soon.

comment 4y ago · link · parent

Server is swamped... Hope to have things back online soon.

comment 4y ago · link · parent

Well if you have more than 2 levels you can always collapse, which is the preferred solution. Just walk the scenegraph, and flatten the matrices. Now you're left with an array of BLASses, each with their final matrix.

RTX has hardware support for this flattened structure only; OptiX will become significantly slower if you force it to have more levels.

comment 4y ago · link · parent

This is the sixth article on building a bounding volume hierarchy on the CPU, completing the original planned series. Two more articles are now planned, taking this to the GPU, but still without using RTX.

comment 4y ago · link · parent

Article 4 (on refitting) and 5 (constructing BLAS + TLAS) should arrive this week, completing the basic C++ implementation of the algorithm used for DXR / RTX.

17.

Part 2 of the SSE/AVX SIMD tutorial now online(jacco.ompf2.com ↗)

2 points · by jbikker · 6y ago · discuss

18.

OPT#3: Writing SIMD code in C/C++, blog post(jacco.ompf2.com ↗)

1 points · by jbikker · 6y ago · discuss

19.

Of finite geometric sums and fp32 bit magic(jacco.ompf2.com ↗)

2 points · by jbikker · 6y ago · discuss

20.

Optimizing CUDA path tracing code(jacco.ompf2.com ↗)

5 points · by jbikker · 6y ago · discuss

21.

Updated RTX path tracing benchmark(jacco.ompf2.com ↗)

3 points · by jbikker · 6y ago · discuss

22.

Low level code optimization tutorial(jacco.ompf2.com ↗)

1 points · by jbikker · 6y ago · discuss

23.

RTX Path Tracing Benchmark(jacco.ompf2.com ↗)

1 points · by jbikker · 6y ago · discuss