Blender Git Loki
Git Commits -> Revision 6b54ac5
Revision 6b54ac5 by Sergey Sharybin (cycles_panorama_experiments) March 28, 2016, 16:07 (GMT) |
Cycles: Experiment with native cubemap support in Cycles This commit implements a native cubemap rendering in Cycles, which is currently a research project with the following goals: - Make it easier to render cubemaps for engines which supports or expects them to be used. - Intermediate projection to optimize rendering of equirectangular camera. Cube map layout is not currently standart but it's most efficient from the resolution and storage point of views and it's currently: +-------+-------+--------+ | Back | Right | Bottom | +-------+-------+--------+ | Front | Left | Top | +-------+-------+--------+ It's easy to re-map views in the future. There are still issues to be solved, but it'll be nice to get VR and panorama artists involved into feedback already. So the limitations are: - There's no auto-remapping to equirectangular map happening yet, so the only way to see result is to put result to an environment map with cubemap projection and either re-render or investigate it in viewport. - Projection formulas are not optimized by any mean. This is to keep them totally obvious to make it easier to make further tweaks. |
Commit Details:
Full Hash: 6b54ac5081642b3ef30e14f58ccc4430007c1e62
Parent Commit: 240adb9
Lines Changed: +299, -19
12 Modified Paths:
/intern/cycles/app/cycles_xml.cpp (+2, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+1, -0) (Diff)
/intern/cycles/kernel/kernel_camera.h (+32, -7) (Diff)
/intern/cycles/kernel/kernel_projection.h (+190, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+12, -2) (Diff)
/intern/cycles/render/image.cpp (+40, -0) (Diff)
/intern/cycles/render/image.h (+3, -0) (Diff)
/intern/cycles/render/nodes.cpp (+14, -8) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+2, -0) (Diff)
/intern/cycles/blender/addon/properties.py (+1, -0) (Diff)
/intern/cycles/kernel/kernel_camera.h (+32, -7) (Diff)
/intern/cycles/kernel/kernel_projection.h (+190, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+1, -1) (Diff)
/intern/cycles/kernel/svm/svm_image.h (+12, -2) (Diff)
/intern/cycles/render/image.cpp (+40, -0) (Diff)
/intern/cycles/render/image.h (+3, -0) (Diff)
/intern/cycles/render/nodes.cpp (+14, -8) (Diff)
/source/blender/makesdna/DNA_node_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+2, -0) (Diff)