SlideShare a Scribd company logo
1 of 2
Download to read offline
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

More Related Content

Similar to Explain different ways for using light soruces in OPENGL. Also e.pdf

Fuzzy c means_realestate_application
Fuzzy c means_realestate_applicationFuzzy c means_realestate_application
Fuzzy c means_realestate_application
Cemal Ardil
 
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_rHeckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Xavier Davias
 
Paper id 24201464
Paper id 24201464Paper id 24201464
Paper id 24201464
IJRAT
 
Global analysis of nonlinear dynamics
Global analysis of nonlinear dynamicsGlobal analysis of nonlinear dynamics
Global analysis of nonlinear dynamics
Springer
 

Similar to Explain different ways for using light soruces in OPENGL. Also e.pdf (20)

Fuzzy c means_realestate_application
Fuzzy c means_realestate_applicationFuzzy c means_realestate_application
Fuzzy c means_realestate_application
 
B021106013
B021106013B021106013
B021106013
 
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_rHeckbert p s__adaptive_radiosity_textures_for_bidirectional_r
Heckbert p s__adaptive_radiosity_textures_for_bidirectional_r
 
Paper id 24201464
Paper id 24201464Paper id 24201464
Paper id 24201464
 
Ann
Ann Ann
Ann
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Firefly Algorithm for Unconstrained Optimization
Firefly Algorithm for Unconstrained OptimizationFirefly Algorithm for Unconstrained Optimization
Firefly Algorithm for Unconstrained Optimization
 
M01117578
M01117578M01117578
M01117578
 
Neural Networks - How do they work?
Neural Networks - How do they work?Neural Networks - How do they work?
Neural Networks - How do they work?
 
Neural network
Neural networkNeural network
Neural network
 
reportVPLProject
reportVPLProjectreportVPLProject
reportVPLProject
 
Performance Analysis of Various Activation Functions in Generalized MLP Archi...
Performance Analysis of Various Activation Functions in Generalized MLP Archi...Performance Analysis of Various Activation Functions in Generalized MLP Archi...
Performance Analysis of Various Activation Functions in Generalized MLP Archi...
 
Global analysis of nonlinear dynamics
Global analysis of nonlinear dynamicsGlobal analysis of nonlinear dynamics
Global analysis of nonlinear dynamics
 
honn
honnhonn
honn
 
Some Engg. Applications of Matrices and Partial Derivatives
Some Engg. Applications of Matrices and Partial DerivativesSome Engg. Applications of Matrices and Partial Derivatives
Some Engg. Applications of Matrices and Partial Derivatives
 
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeksBeginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
Beginning direct3d gameprogramming10_shaderdetail_20160506_jintaeks
 
Optimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using NmOptimization Of Fuzzy Bexa Using Nm
Optimization Of Fuzzy Bexa Using Nm
 
Fractional conformal spin of pseudo differential operators and kp hierarchy
Fractional conformal spin of pseudo differential operators and kp hierarchyFractional conformal spin of pseudo differential operators and kp hierarchy
Fractional conformal spin of pseudo differential operators and kp hierarchy
 
Programming modulo representations
Programming modulo representationsProgramming modulo representations
Programming modulo representations
 
505 260-266
505 260-266505 260-266
505 260-266
 

More from rastogiarun

Explain briefly the system of system of the Balance of Payments Acco.pdf
Explain briefly the system of system of the Balance of Payments Acco.pdfExplain briefly the system of system of the Balance of Payments Acco.pdf
Explain briefly the system of system of the Balance of Payments Acco.pdf
rastogiarun
 
Explain how convection and radiation terms are included in the funda.pdf
Explain how convection and radiation terms are included in the funda.pdfExplain how convection and radiation terms are included in the funda.pdf
Explain how convection and radiation terms are included in the funda.pdf
rastogiarun
 
Explain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdf
Explain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdfExplain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdf
Explain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdf
rastogiarun
 
Explain the relevance of a rate reconciliation in a tax provision. W.pdf
Explain the relevance of a rate reconciliation in a tax provision. W.pdfExplain the relevance of a rate reconciliation in a tax provision. W.pdf
Explain the relevance of a rate reconciliation in a tax provision. W.pdf
rastogiarun
 
Explain how confusing the two (population and a sample) can lead to .pdf
Explain how confusing the two (population and a sample) can lead to .pdfExplain how confusing the two (population and a sample) can lead to .pdf
Explain how confusing the two (population and a sample) can lead to .pdf
rastogiarun
 
Explain the origins of the U.S. judicial system and how the judicial.pdf
Explain the origins of the U.S. judicial system and how the judicial.pdfExplain the origins of the U.S. judicial system and how the judicial.pdf
Explain the origins of the U.S. judicial system and how the judicial.pdf
rastogiarun
 
Explain the Mutiplier Effect. Try to explain it in some detail so th.pdf
Explain the Mutiplier Effect. Try to explain it in some detail so th.pdfExplain the Mutiplier Effect. Try to explain it in some detail so th.pdf
Explain the Mutiplier Effect. Try to explain it in some detail so th.pdf
rastogiarun
 
Explain the environmental triggers that forces companies to adopt su.pdf
Explain the environmental triggers that forces companies to adopt su.pdfExplain the environmental triggers that forces companies to adopt su.pdf
Explain the environmental triggers that forces companies to adopt su.pdf
rastogiarun
 

More from rastogiarun (20)

Explain briefly the system of system of the Balance of Payments Acco.pdf
Explain briefly the system of system of the Balance of Payments Acco.pdfExplain briefly the system of system of the Balance of Payments Acco.pdf
Explain briefly the system of system of the Balance of Payments Acco.pdf
 
Explain how convection and radiation terms are included in the funda.pdf
Explain how convection and radiation terms are included in the funda.pdfExplain how convection and radiation terms are included in the funda.pdf
Explain how convection and radiation terms are included in the funda.pdf
 
Explain how academic knowledge impacts the social elements and insti.pdf
Explain how academic knowledge impacts the social elements and insti.pdfExplain how academic knowledge impacts the social elements and insti.pdf
Explain how academic knowledge impacts the social elements and insti.pdf
 
Explain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdf
Explain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdfExplain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdf
Explain the results of the Judge, Ilies, Bono, and Gerhardt review. .pdf
 
Explain the relevance of a rate reconciliation in a tax provision. W.pdf
Explain the relevance of a rate reconciliation in a tax provision. W.pdfExplain the relevance of a rate reconciliation in a tax provision. W.pdf
Explain the relevance of a rate reconciliation in a tax provision. W.pdf
 
Explain the relationship between system implementation and a systems.pdf
Explain the relationship between system implementation and a systems.pdfExplain the relationship between system implementation and a systems.pdf
Explain the relationship between system implementation and a systems.pdf
 
Explain how a manufacturerSolutionDistribution involves gettin.pdf
Explain how a manufacturerSolutionDistribution involves gettin.pdfExplain how a manufacturerSolutionDistribution involves gettin.pdf
Explain how a manufacturerSolutionDistribution involves gettin.pdf
 
Explain how confusing the two (population and a sample) can lead to .pdf
Explain how confusing the two (population and a sample) can lead to .pdfExplain how confusing the two (population and a sample) can lead to .pdf
Explain how confusing the two (population and a sample) can lead to .pdf
 
Explain the process through which individuals with a certain set of .pdf
Explain the process through which individuals with a certain set of .pdfExplain the process through which individuals with a certain set of .pdf
Explain the process through which individuals with a certain set of .pdf
 
Explain the origins of the U.S. judicial system and how the judicial.pdf
Explain the origins of the U.S. judicial system and how the judicial.pdfExplain the origins of the U.S. judicial system and how the judicial.pdf
Explain the origins of the U.S. judicial system and how the judicial.pdf
 
Explain the organizational archetypes as described by Mintzberg and .pdf
Explain the organizational archetypes as described by Mintzberg and .pdfExplain the organizational archetypes as described by Mintzberg and .pdf
Explain the organizational archetypes as described by Mintzberg and .pdf
 
Explain the Mutiplier Effect. Try to explain it in some detail so th.pdf
Explain the Mutiplier Effect. Try to explain it in some detail so th.pdfExplain the Mutiplier Effect. Try to explain it in some detail so th.pdf
Explain the Mutiplier Effect. Try to explain it in some detail so th.pdf
 
Explain the main sources of power available to managers, giving exam.pdf
Explain the main sources of power available to managers, giving exam.pdfExplain the main sources of power available to managers, giving exam.pdf
Explain the main sources of power available to managers, giving exam.pdf
 
Explain the mechanisms of internal loading of phosphorus in lakes.pdf
Explain the mechanisms of internal loading of phosphorus in lakes.pdfExplain the mechanisms of internal loading of phosphorus in lakes.pdf
Explain the mechanisms of internal loading of phosphorus in lakes.pdf
 
Explain the main porpose of conducting a time studySolutionTi.pdf
Explain the main porpose of conducting a time studySolutionTi.pdfExplain the main porpose of conducting a time studySolutionTi.pdf
Explain the main porpose of conducting a time studySolutionTi.pdf
 
Explain the functions of the formal and informal organizationsand .pdf
Explain the functions of the formal and informal organizationsand .pdfExplain the functions of the formal and informal organizationsand .pdf
Explain the functions of the formal and informal organizationsand .pdf
 
Explain the environmental triggers that forces companies to adopt su.pdf
Explain the environmental triggers that forces companies to adopt su.pdfExplain the environmental triggers that forces companies to adopt su.pdf
Explain the environmental triggers that forces companies to adopt su.pdf
 
Explain the distinction between the standard deviation and the stand.pdf
Explain the distinction between the standard deviation and the stand.pdfExplain the distinction between the standard deviation and the stand.pdf
Explain the distinction between the standard deviation and the stand.pdf
 
Explain the different types of workforce flexibility that an organis.pdf
Explain the different types of workforce flexibility that an organis.pdfExplain the different types of workforce flexibility that an organis.pdf
Explain the different types of workforce flexibility that an organis.pdf
 
Explain age Hardening process used to strengthen an aluminium alloy .pdf
Explain age Hardening process used to strengthen an aluminium alloy .pdfExplain age Hardening process used to strengthen an aluminium alloy .pdf
Explain age Hardening process used to strengthen an aluminium alloy .pdf
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

Explain different ways for using light soruces in OPENGL. Also e.pdf

  • 1. 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
  • 2. -fractal subdivision curve,fractal tiling -crystal structure generated with 4 similarity transformations