meshing.tui.display.set.lights.lighting_interpolation#

class main_menu.display.set.lights.lighting_interpolation(path, service)#

Sets the lighting interpolation method to be used. You can choose automatic, flat, gouraud, or phong. “Automatic” automatically picks the best lighting method for the display in the graphics window. Flat is the most basic method, and the others are more sophisticated and provide smoother gradations of color.

automatic(*args, **kwargs)#

Fluent automatically picks the best lighting method for the display in the graphics window.

flat(*args, **kwargs)#

Uses flat shading for meshes and polygons.

gouraud(*args, **kwargs)#

Uses Gouraud shading to calculate the color at each vertex of a polygon and interpolates it in the interior.

phong(*args, **kwargs)#

Uses Phong shading to interpolate the normals for each pixel of a polygon and computes a color at every pixel.