Home
last modified time | relevance | path

Searched refs:color_ramp (Results 1 – 25 of 68) sorted by relevance

123

/dports/graphics/blender/blender-2.91.0/release/scripts/addons/
H A Dlighting_dynamic_sky.py128 cr1.color_ramp.elements[0].position = 0.969
129 cr1.color_ramp.interpolation = 'EASE'
132 cr2.color_ramp.elements[0].position = 0.991
133 cr2.color_ramp.elements[1].position = 1
134 cr2.color_ramp.interpolation = 'EASE'
138 cr3.color_ramp.elements[1].position = 1
139 cr3.color_ramp.interpolation = 'EASE'
271 sc3.color_ramp.elements.new(0.5)
280 sc3.color_ramp.elements[0].position = 0.0
281 sc4.color_ramp.elements[0].position = 0.0
[all …]
H A Dreal_snow.py319 ramp1.color_ramp.elements[0].position = 0.525
320 ramp1.color_ramp.elements[1].position = 0.58
321 ramp2.color_ramp.elements[0].position = 0.069
322 ramp2.color_ramp.elements[1].position = 0.757
323 ramp3.color_ramp.elements[0].position = 0.069
324 ramp3.color_ramp.elements[1].position = 0.757
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dlinestyle.c955 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
963 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
977 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
985 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
993 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
999 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
1008 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
1016 q->color_ramp = MEM_dupallocN(p->color_ramp); in BKE_linestyle_color_modifier_copy()
1947 color_ramp = ((LineStyleColorModifier_AlongStroke *)m)->color_ramp; in BKE_linestyle_modifier_list_color_ramps()
1956 color_ramp = ((LineStyleColorModifier_Material *)m)->color_ramp; in BKE_linestyle_modifier_list_color_ramps()
[all …]
/dports/graphics/qgis/qgis-3.22.3/tests/src/python/
H A Dtest_qgsinterpolatedlinesymbollayers.py161 color_ramp = QgsColorRampShader(0, 7, QgsStyle.defaultStyle().colorRamp('Viridis'),
163 color_ramp.classifyColorRamp(10)
164 interpolated_color.setColor(color_ramp)
196 color_ramp = QgsColorRampShader(0, 7, QgsStyle.defaultStyle().colorRamp('Viridis'),
198 color_ramp.classifyColorRamp(10)
199 interpolated_color.setColor(color_ramp)
215 color_ramp = QgsColorRampShader(2, 7, QgsStyle.defaultStyle().colorRamp('RdGy'),
217 color_ramp.classifyColorRamp(5)
218 interpolated_color.setColor(color_ramp)
236 color_ramp.classifyColorRamp(10)
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/makesdna/
H A DDNA_linestyle_types.h109 struct ColorBand *color_ramp; member
134 struct ColorBand *color_ramp; member
163 struct ColorBand *color_ramp; member
194 struct ColorBand *color_ramp; member
222 struct ColorBand *color_ramp; member
250 struct ColorBand *color_ramp; member
278 struct ColorBand *color_ramp; member
320 struct ColorBand *color_ramp; member
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed.shaders/src/maya/
H A Das_maya_ramp.osl184 out_outColor = color_ramp(
192 out_outColor = color_ramp(
200 out_outColor = color_ramp(
208 out_outColor = color_ramp(
220 out_outColor = color_ramp(
234 out_outColor = color_ramp(
242 out_outColor = color_ramp(
248 out_outColor *= color_ramp(
275 out_outColor = color_ramp(
281 out_outColor += color_ramp(
/dports/devel/godot2-tools/godot-2.1.6-stable/scene/2d/
H A Dparticles_2d.cpp522 if (color_ramp.is_valid()) { in _notification()
793 color_ramp = p_color_ramp; in set_color_ramp()
798 return color_ramp; in get_color_ramp()
829 if (color_ramp.is_valid()) { in set_color_phases()
837 if (color_ramp.is_valid()) { in get_color_phases()
838 return color_ramp->get_points_count(); in get_color_phases()
847 if (color_ramp.is_valid()) { in set_color_phase_color()
860 if (color_ramp.is_valid()) { in get_color_phase_color()
861 return color_ramp->get_color(p_phase); in get_color_phase_color()
870 if (color_ramp.is_valid() && color_ramp->get_points_count() > p_phase) { in set_color_phase_pos()
[all …]
/dports/devel/godot2/godot-2.1.6-stable/scene/2d/
H A Dparticles_2d.cpp522 if (color_ramp.is_valid()) { in _notification()
793 color_ramp = p_color_ramp; in set_color_ramp()
798 return color_ramp; in get_color_ramp()
829 if (color_ramp.is_valid()) { in set_color_phases()
837 if (color_ramp.is_valid()) { in get_color_phases()
838 return color_ramp->get_points_count(); in get_color_phases()
847 if (color_ramp.is_valid()) { in set_color_phase_color()
860 if (color_ramp.is_valid()) { in get_color_phase_color()
861 return color_ramp->get_color(p_phase); in get_color_phase_color()
870 if (color_ramp.is_valid() && color_ramp->get_points_count() > p_phase) { in set_color_phase_pos()
[all …]
/dports/graphics/yafaray/libYafaRay-3.5.1/include/core_api/
H A Dtexture.h44 …Str, std::string interpolationStr, std::string hue_interpolationStr) { color_ramp = new color_ramp… in colorRampCreate()
45 void colorRampAddItem(colorA_t color, float position) { color_ramp->add_item(color, position); } in colorRampAddItem()
46 virtual ~texture_t() { if(color_ramp) { delete color_ramp; color_ramp = nullptr; } } in ~texture_t() local
59 color_ramp_t * color_ramp = nullptr; variable
/dports/devel/godot2-tools/godot-2.1.6-stable/editor/plugins/
H A Dcolor_ramp_editor_plugin.cpp48 ColorRamp *color_ramp = p_object->cast_to<ColorRamp>(); in edit() local
49 if (!color_ramp) in edit()
51 color_ramp_ref = Ref<ColorRamp>(color_ramp); in edit()
/dports/devel/godot2/godot-2.1.6-stable/editor/plugins/
H A Dcolor_ramp_editor_plugin.cpp48 ColorRamp *color_ramp = p_object->cast_to<ColorRamp>(); in edit() local
49 if (!color_ramp) in edit()
51 color_ramp_ref = Ref<ColorRamp>(color_ramp); in edit()
/dports/graphics/yafaray/libYafaRay-3.5.1/src/textures/
H A Dbasictex.cc109 if(!color_ramp) return applyColorAdjustments(color1 + getFloat(p)*(color2 - color1)); in getColor()
110 else return applyColorAdjustments(color_ramp->get_color_interpolated(getFloat(p))); in getColor()
191 if(!color_ramp) return applyColorAdjustments(color1 + getFloat(p)*(color2 - color1)); in getColor()
192 else return applyColorAdjustments(color_ramp->get_color_interpolated(getFloat(p))); in getColor()
277 if(!color_ramp) return applyColorAdjustments(color1 + getFloat(p)*(color2 - color1)); in getColor()
278 else return applyColorAdjustments(color_ramp->get_color_interpolated(getFloat(p))); in getColor()
420 if(color_ramp) return applyColorAdjustments(color_ramp->get_color_interpolated(inte)); in getColor()
532 else return applyColorAdjustments(color_ramp->get_color_interpolated(getFloat(p))); in getColor()
614 else return applyColorAdjustments(color_ramp->get_color_interpolated(getFloat(p))); in getColor()
734 if(!color_ramp) return applyColorAdjustments(color_t(getFloat(p))); in getColor()
[all …]
/dports/graphics/blender/blender-2.91.0/release/scripts/startup/bl_operators/
H A Dobject_quick_effects.py261 color_ramp = node_ramp.color_ramp
262 color_ramp.elements[0].color[3] = 0.0
263 color_ramp.elements[1].color[3] = 1.0
266 color_ramp.elements[0].position = 0.333
267 color_ramp.elements[1].position = 0.666
270 color_ramp.elements[0].color[3] = 1.0
271 color_ramp.elements[1].color[3] = 0.0
/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/2d/particles/
H A Dparticles.tscn56 color/color_ramp = SubResource( 1 )
84 color/color_ramp = SubResource( 2 )
113 color/color_ramp = SubResource( 3 )
144 color/color_ramp = SubResource( 4 )
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed.shaders/include/appleseed/maya/
H A Das_maya_ramp_helpers.h132 color color_ramp( in color_ramp() function
270 color color_ramp( in color_ramp() function
278 return color_ramp(colors, positions, interpolate, value); in color_ramp()
/dports/games/minilens/minilens-1.2/entities/
H A Dbomb.tscn106 color/color_ramp = SubResource( 1 )
139 color/color_ramp = SubResource( 1 )
172 color/color_ramp = SubResource( 1 )
205 color/color_ramp = SubResource( 1 )
/dports/devel/godot-tools/godot-3.2.3-stable/scene/resources/
H A Dparticles_material.h120 mk.texture_color = color_ramp.is_valid() ? 1 : 0; in _compute_key()
175 StringName color_ramp; member
210 Ref<Texture> color_ramp; variable
H A Dparticles_material.cpp90 shader_names->color_ramp = "color_ramp"; in init_shaders()
212 if (color_ramp.is_valid()) in _update_shader()
522 if (color_ramp.is_valid()) { in _update_shader()
880 color_ramp = p_texture; in set_color_ramp()
881 …VisualServer::get_singleton()->material_set_param(_get_material(), shader_names->color_ramp, p_tex… in set_color_ramp()
888 return color_ramp; in get_color_ramp()
1056 if (property.name == "color" && color_ramp.is_valid()) { in _validate_property()
/dports/devel/godot/godot-3.2.3-stable/scene/resources/
H A Dparticles_material.h120 mk.texture_color = color_ramp.is_valid() ? 1 : 0; in _compute_key()
175 StringName color_ramp; member
210 Ref<Texture> color_ramp; variable
H A Dparticles_material.cpp90 shader_names->color_ramp = "color_ramp"; in init_shaders()
212 if (color_ramp.is_valid()) in _update_shader()
522 if (color_ramp.is_valid()) { in _update_shader()
880 color_ramp = p_texture; in set_color_ramp()
881 …VisualServer::get_singleton()->material_set_param(_get_material(), shader_names->color_ramp, p_tex… in set_color_ramp()
888 return color_ramp; in get_color_ramp()
1056 if (property.name == "color" && color_ramp.is_valid()) { in _validate_property()
/dports/graphics/blender/blender-2.91.0/release/scripts/addons/amaranth/node_editor/templates/
H A Dvignette.py49 ramp.color_ramp.interpolation = "B_SPLINE"
50 ramp.color_ramp.elements[1].color = (0.6, 0.6, 0.6, 1)
/dports/devel/godot-tools/godot-demo-projects-8d9d58f112d8/2d/particles/
H A Dparticles.tscn65 color_ramp = SubResource( 8 )
105 color_ramp = SubResource( 12 )
148 color_ramp = SubResource( 20 )
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/Display/
H A DDisplay_property_plugin.cpp979 255*color_ramp.r(h), in displayHeatIntensity()
980 255*color_ramp.g(h), in displayHeatIntensity()
981 255*color_ramp.b(h)); in displayHeatIntensity()
1393 QColor color(255*color_ramp.r(*it), in displayLegend()
1394 255*color_ramp.g(*it), in displayLegend()
1395 255*color_ramp.b(*it)); in displayLegend()
1423 Color_ramp color_ramp; member in DisplayPropertyPlugin
1562 255*this->parent->color_ramp.r(f), in set_colors_ramp()
1563 255*this->parent->color_ramp.g(f), in set_colors_ramp()
1624 255*this->parent->color_ramp.r(f), in set_colors_ramp()
[all …]
/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/2d/space_shooter/
H A Dexplosion.tscn35 color/color_ramp = SubResource( 1 )
/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/2d/isometric_light/
H A Dshoot.tscn142 color/color_ramp = SubResource( 5 )
170 color/color_ramp = SubResource( 6 )

123