DavidBrainard / RenderToolbox3

Matlab toolbox for managing graphics rendering for psychophysics
MIT License
11 stars 4 forks source link

Generic Parametric Shapes #41

Closed benjamin-heasly closed 9 years ago

benjamin-heasly commented 10 years ago

It would be useful to have Generic mappings that can convert arbitrary meshes to parametric forms.

For example, to make a sphere with Blender and Collada, the user must create a mesh with many vertices. This can take a lot of space and processing time. But many renderers define an analytic sphere that can be specified with a few parameters.

We could define Generic Parametric Shape mappings that "bless" a mesh with a parametric form, such as sphere or disk. This would reduce the size of renderer-native scene files. It would allow renderers to produce renderings with less computation and higher accuracy.

Processing these mappings would involve a division of labor between RenderToolbox3 and renderer plugins: