Original Post
I've a question regarding data-driven renderer design and maybe someone can enlighten me:
From what I've read, the renderer design shouldn't make any assumption of which rendering techniques will be used so theoretically it should be possible to do forward/deferred rendering cascaded shadow mapping, whatever.
The problem is how will something like cascaded shadow mapping be defined in simple data? The view frustum has to be slipt, matrices updated and all (visible) scene objects drawn for each cascade...
This is rather complex to defined in xml or whatever format is used... Or is a scripting language used to program this? And the renderer is called data-driven because it uses scripts instead of native code?
By the way, has anyone read GPU Pro 3? Is the chapter about data driven renderer design any good? I've read the pages available on Google Books which is most of the article but I'm wondering if there's any implementation code.
From what I've read, the renderer design shouldn't make any assumption of which rendering techniques will be used so theoretically it should be possible to do forward/deferred rendering cascaded shadow mapping, whatever.
The problem is how will something like cascaded shadow mapping be defined in simple data? The view frustum has to be slipt, matrices updated and all (visible) scene objects drawn for each cascade...
This is rather complex to defined in xml or whatever format is used... Or is a scripting language used to program this? And the renderer is called data-driven because it uses scripts instead of native code?
By the way, has anyone read GPU Pro 3? Is the chapter about data driven renderer design any good? I've read the pages available on Google Books which is most of the article but I'm wondering if there's any implementation code.
