Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_nodetree.c
| Context not available. | |||||
| 0, | 0, | ||||
| "Mirror Ball", | "Mirror Ball", | ||||
| "Projection from an orthographic photo of a mirror ball"}, | "Projection from an orthographic photo of a mirror ball"}, | ||||
| {SHD_PROJ_CUBEMAP, "CUBEMAP", 0, "Cubemap", "Projection from a cubemap"}, | |||||
| {0, NULL, 0, NULL, NULL}, | |||||
| }; | |||||
| static const EnumPropertyItem prop_cubemap_layout_items[] = { | |||||
| {SHD_CUBE_CROSS_HORIZONTAL, | |||||
| "CROSS_HORIZONTAL", | |||||
| 0, | |||||
| "Horizontal Cross", | |||||
| "Projection from a cubemap in a horizontal cross layout with the centre face pointing " | |||||
| "forward."}, | |||||
| {SHD_CUBE_STRIPE_HORIZONTAL, | |||||
| "STRIPE_HORIZONTAL", | |||||
| 0, | |||||
| "Horizontal Stripe", | |||||
| "Projection from horizontally arranged cubemap faces in the following order: right, left, " | |||||
| "up, down, front, back."}, | |||||
| {SHD_CUBE_STRIPE_VERTICAL, | |||||
| "STRIPE_VERTICAL", | |||||
| 0, | |||||
| "Vertical Stripe", | |||||
| "Projection from vertically arranged cubemap faces in the following order: right, left, " | |||||
| "up, down, front, back."}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Projection", "Projection of the input image"); | RNA_def_property_ui_text(prop, "Projection", "Projection of the input image"); | ||||
| RNA_def_property_update(prop, 0, "rna_Node_update"); | RNA_def_property_update(prop, 0, "rna_Node_update"); | ||||
| prop = RNA_def_property(srna, "cubemap_layout", PROP_ENUM, PROP_NONE); | |||||
| RNA_def_property_enum_items(prop, prop_cubemap_layout_items); | |||||
| RNA_def_property_ui_text(prop, "Layout", "Cubemap layout"); | |||||
| RNA_def_property_update(prop, 0, "rna_Node_update"); | |||||
| prop = RNA_def_property(srna, "interpolation", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "interpolation", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, sh_tex_prop_interpolation_items); | RNA_def_property_enum_items(prop, sh_tex_prop_interpolation_items); | ||||
| RNA_def_property_ui_text(prop, "Interpolation", "Texture interpolation"); | RNA_def_property_ui_text(prop, "Interpolation", "Texture interpolation"); | ||||
| Context not available. | |||||