# Voxel raytracer realtime opencl

**URL:** <https://discourse.processing.org/t/voxel-raytracer-realtime-opencl/29506>\
**Category:** Gallery\
**Created:** [April 19, 2021, 9:32pm UTC](https://discourse.processing.org/t/voxel-raytracer-realtime-opencl/29506 "2021-04-19T21:32:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [April 19, 2021, 9:32pm UTC](https://discourse.processing.org/t/voxel-raytracer-realtime-opencl/29506/1 "2021-04-19T21:32:52Z")

</div>

[![](https://img.youtube.com/vi/ae2c4i6EQAU/maxresdefault.jpg "Realtime OpenCL GPU Voxels Raytracer - Level Of Detail") ](https://www.youtube.com/watch?v=ae2c4i6EQAU)

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [April 19, 2021, 9:42pm UTC](https://discourse.processing.org/t/voxel-raytracer-realtime-opencl/29506/2 "2021-04-19T21:42:07Z")

</div>

Hi @paulgoux ,

Could you give more details about this? Was it made using Processing (I don’t think so because it’s OpenCL 😉 )? Why are you posting this, do you plan to implement one on your own?

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [April 19, 2021, 10:02pm UTC](https://discourse.processing.org/t/voxel-raytracer-realtime-opencl/29506/3 "2021-04-19T22:02:37Z")

</div>

Just sharing something which I enjoyed and stimulated me to code. I’m more of a hobbyist code with a vague objective and I find these videos really great for inspiration even if it isnt in processing.

Well I have part of a working game engine, I’ve been putting things together slowly and yes this is something I would really like to make. I’ve worked with perlin and found some limitations and struggled a bit with the math for the jump to 3d, my last encounter with math was in high school so I’m a bit rusty and I dont handle proofs very well…

Anyways if its something you dont mind seeing more of here and there, I wont flood the forum with videos but on occasion I do stumble upon little gems, perhaps I might be overating my opinion 😃

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [April 19, 2021, 10:20pm UTC](https://discourse.processing.org/t/voxel-raytracer-realtime-opencl/29506/4 "2021-04-19T22:20:19Z")

</div>

> [@paulgoux](#):
>
> Anyways if its something you dont mind seeing more of here and there, I wont flood the forum with videos but on occasion I do stumble upon little gems, perhaps I might be overating my opinion

No sorry, my message wasn’t clear enough! 😉

Of course that’s I wanted to know and you are very welcome to post what you found on the internet. Just wanted to know more context about what you learned and why you were posting this.

By the way you might want to look at ray marching which is an algorithm like ray tracing to render 3d scenes :

> **[Ray Marching and Signed Distance Functions](https://jamie-wong.com/2016/07/15/ray-marching-signed-distance-functions/)**
>
> One of the techniques used in many demo scenes is called ray marching. This algorithm, used in combination with a special kind of function called

The nice thing about this is that you can do it in real time on the GPU with shaders in GLSL 😋

I found it more easy than ray tracing to implement 😉
