blender/intern/cycles/kernel/osl
Mai Lavelle c96ae81160 Cycles microdisplacement: ngons and attributes for subdivision meshes
This adds support for ngons and attributes on subdivision meshes. Ngons are
needed for proper attribute interpolation as well as correct Catmull-Clark
subdivision. Several changes are made to achieve this:

- new primitive `SubdFace` added to `Mesh`
- 3 more textures are used to store info on patches from subd meshes
- Blender export uses loop interface instead of tessface for subd meshes
- `Attribute` class is updated with a simplified way to pass primitive counts
  around and to support ngons.
- extra points for ngons are generated for O(1) attribute interpolation
- curves are temporally disabled on subd meshes to avoid various bugs with
  implementation
- old unneeded code is removed from `subd/`
- various fixes and improvements

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2108
2016-07-29 03:36:30 -04:00
..
background.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
bsdf_diffuse_ramp.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
bsdf_phong_ramp.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
CMakeLists.txt Code refactor: add generic Cycles node infrastructure. 2016-05-22 17:29:24 +02:00
emissive.cpp Cycles: Cleanup, indentation 2016-02-03 12:17:39 +01:00
osl_bssrdf.cpp Cycles: Implement approximate reflectance profiles 2016-02-04 13:27:23 +05:00
osl_bssrdf.h Cycles: Implement approximate reflectance profiles 2016-02-04 13:27:23 +05:00
osl_closures.cpp Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
osl_closures.h Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
osl_globals.h Cycles: Update some types used form OSL 2016-01-07 13:15:30 +05:00
osl_services.cpp Cycles microdisplacement: ngons and attributes for subdivision meshes 2016-07-29 03:36:30 -04:00
osl_services.h Cleanup: Remove support for OSL versions < 1.6. 2016-02-06 00:07:20 +01:00
osl_shader.cpp Cycles: Add multi-scattering, energy-conserving GGX as an option to the Glossy, Anisotropic and Glass BSDFs 2016-06-23 22:57:26 +02:00
osl_shader.h Cycles: Refactor how we pass bounce info to light path node. 2016-01-06 23:43:29 +01:00