szellmann / visionaray

A C++-based, cross platform ray tracing library

Home Page:https://vis.uni-koeln.de/visionaray.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Precalculated normals and generic_primitive

szellmann opened this issue · comments

Consider generic_primitive<prim1_t, prim2_t>, where prim1_t has three precalculated normals per instance, and prim2_t has four precalculated normals per instance. Such a setup will fail with the current interface, where a single list containing normals for all primitives is passed to the built-in kernels' parameter list.