r/GraphicsProgramming • • Feb 03 '21

Working on a volume rendering engine using WebGL 2.0

5 Upvotes

7 comments sorted by

3

u/termijn Feb 10 '21

I set up a live demo. Please find it here: https://vangeloof.com/volumizer/

1

u/JJJams Feb 04 '21

Looks cool in the static pics. Since it's webgl, perhaps you can share a link for us to play around with it.

What rendering /lighting features have implemented?

2

u/termijn Feb 10 '21

See my previous comment here :). It's basically a ray casting technique with phong lighting and light tracing from a single point light source. I use an opacity and color map based on the Hounsfield value per voxel.

1

u/ElectronGoBrrr Feb 04 '21

Really impressive with the blood/muscle being so see through but still visible. What kind of file is the objects you are rendering?

2

u/termijn Feb 18 '21

I currently convert Dicom CT files to a simpler internal format. I might add a Dicom loader in the future to make it easier.

1

u/ElectronGoBrrr Feb 18 '21

It looks extremely good. Is this a leisure project, or are you looking to monitize?

1

u/termijn Feb 19 '21

Thanks.. It's a leisure project for now. I'll keep improving it and see where it leads.