bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
https://bkaradzic.github.io/bgfx/overview.html
BSD 2-Clause "Simplified" License
15.07k stars 1.94k forks source link

xx-impostors - Octahedral Impostors #1651

Open bkaradzic opened 5 years ago

bkaradzic commented 5 years ago

Implement octahedral impostors technique as an example:

https://shaderbits.com/blog/octahedral-impostors/ https://hal.inria.fr/hal-00650120/file/article.pdf http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.90.6202&rep=rep1&type=pdf

https://github.com/ictusbrucks/ImpostorBaker https://github.com/xraxra/IMP#imp

pgruenbacher commented 5 years ago

tagging @ebruneton cause his forest publication was linked in this. @ebruneton do you have source code available for the forest demo similar to the clear sky and atmospheric scattering demos?

ebruneton commented 5 years ago

The Proland repository contains a demo with source code, but it is not a standalone demo as for the sky. Some links: https://proland.inrialpes.fr/trees3D.html https://proland.inrialpes.fr/doc/proland-4.0/forest/html/index.html https://proland.inrialpes.fr/doc/proland-4.0/forest/html/page-examples.html https://gforge.inria.fr/scm/viewvc.php/proland/trunk/demo/?sortby=log&sortdir=down (see the -trees3D scenes). https://gforge.inria.fr/scm/viewvc.php/proland/trunk/demo/shaders/trees/?sortby=log&sortdir=down (for the shaders)