Explain different ways for using light soruces in \'OPENGL\'. Also explain \'ITERATED FUNCTION SYSTEMS\'? Solution 1.Explain different ways for using light soruces in \'OPENGL\'? ans. Light is the idea behind the visual representation of anything that human may visualize anything.there are two ways that light could be as like 1.A stream of particles 2.wave of energy. they are different types of light that we must know in programming a 3D appilation.here are the some of the light types generally adopted by openGL are AMBIENT LIGHT,DIFFUSE LIGHT and SPECULAR LIGHT.EMISSIVE LIGHT is different than those three. to use light sources in openGL they are two steps as enabling the lighting system using the following function: glEnable(GL_LIGHTING); and set the lighting this will done with glLightModel. they are two different types of this function to use light sources as -glLightModelf(GLenum pname,GLfloat param) this for scalar parameters and -glLightModelfv(GLenum pname,const GLfloat *params) this for vector parameters where pname is for different light types like as GL_AMBIENT,GL_DIFFUSE,GL_SPECULAR,GL_POSITION,..... 2)explain \'ITERATED FUNCTION SYSTEMS\'? ans:iterated function systems are a method of constructing fractals and resulting constructions are self similar.the fractals is made up with the union of several copies of itself. formally, an iterated function system is a finite set of contraction mappings on a complete metric space.symbolically {fi : X->X | i=1,2,...,N},N belons to natural numbers if each fi is contraction on the complete metric space X. the property of iterated function system with help of Hutchinson operator W.it is defined as W(A)=f1(A) U f2(A) U ..... fn(A),.etc.. Hutchinson was able to show that W is a contraction mapping with respect to the Hausdorff distance h(d).the contraction factor s of W is define by: s=max{s1,s2,s3..sn} example of Iterated Function System is -fractal subdivision curve,fractal tiling -crystal structure generated with 4 similarity transformations.