Voxelers / 3d

3D in Voxelers
Apache License 2.0
9 stars 1 forks source link

Voxels rendering #12

Open acs opened 4 years ago

acs commented 4 years ago

One article to read:

http://raytracey.blogspot.com/2008/08/voxel-ray-tracing-vs-polygon-ray.html

acs commented 4 years ago

In Ray Tracing, the 2D image is computed pixel by pixel applying the physical laws of light to models in the scene. How are these models described? #13 Take a look to:

https://gist.github.com/rossant/6046463

As you can see, the rendering is done "# Loop through all pixels." And models are described with equations to find the intersections points with the rays (collision point).

acs commented 4 years ago

Volumetric Rendering

https://www.alanzucconi.com/2016/07/01/volumetric-rendering/ https://www.volume-gfx.com/volume-rendering/volume-model/

«This is the basic concept behind volumetric rendering: simulating how light would propagate within the volume of an object.» for example in the fragment (per pixel) shader.