SlideShare a Scribd company logo
1 of 1
Download to read offline
Using freeglut inside visual studio c++, create a 3D model with multiples of it at different positions
with a ground and 3 walls.
Please code in c++ a complete source file that can do these things:
Local Illumination and Shading
generate several 3D objects at different positions with a ground and three walls, extend the
system to support the following features:
Support for several light sources.
Interactively turn lights on and off.
Support flat/gouraud shading models.
interactive change the (RGBA) values associated with the global ambient light.
interactive change the (RGBA) values associated with the specular material properties of the
objects.
Global Illumination with Ray Tracing
To facilitate global illumination, you need to consider the interactions among all the objects and
lights attenuated along ray distance to enable shadows and reflections. You can demo a low
resolution ray tracing image if your hardware resource is limited.
Shadows. Is there an object between the surface position and the light? If so, a shadow should be
generated. You need to define a function to compute these shadow rays.
Reflections. Set some cows material to be reflective. If material is set to be reflective, you need to
define a recursive function to traverse a ray from the camera to the surface position to find the
color of light, and continue this process until the maximum number of recursions or the maximum
distance of the ray path is reached.

More Related Content

Similar to Using freeglut inside visual studio c++ create a 3D model w.pdf

OBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGE
OBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGEOBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGE
OBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGEIJCSEA Journal
 
Object Detection for Service Robot Using Range and Color Features of an Image
Object Detection for Service Robot Using Range and Color Features of an ImageObject Detection for Service Robot Using Range and Color Features of an Image
Object Detection for Service Robot Using Range and Color Features of an ImageIJCSEA Journal
 
Modeling and texturing in 3 ds max
Modeling and texturing in 3 ds maxModeling and texturing in 3 ds max
Modeling and texturing in 3 ds maxsribalaji0007
 
Modelo y textrurizado 3 ds max
Modelo y textrurizado 3 ds maxModelo y textrurizado 3 ds max
Modelo y textrurizado 3 ds maxLuchIn Avalos
 
Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes  Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes ijcga
 
Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes  Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes ijcga
 
Gpu presentation
Gpu presentationGpu presentation
Gpu presentationspartasoft
 
Object detection for service robot using range and color features of an image
Object detection for service robot using range and color features of an imageObject detection for service robot using range and color features of an image
Object detection for service robot using range and color features of an imageIJCSEA Journal
 
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWSAPPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWSijcga
 
Visual hull construction from semitransparent coloured silhouettes
Visual hull construction from semitransparent coloured silhouettesVisual hull construction from semitransparent coloured silhouettes
Visual hull construction from semitransparent coloured silhouettesijcga
 
APPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLING
APPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLINGAPPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLING
APPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLINGsipij
 
Point cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihangPoint cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihangLihang Li
 
CS 354 Pixel Updating
CS 354 Pixel UpdatingCS 354 Pixel Updating
CS 354 Pixel UpdatingMark Kilgard
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Bhuvnesh Pratap
 
Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applicationsstefan_b
 
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...Susang Kim
 
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docxGIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docxshericehewat
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an ObjectAnkur Tyagi
 

Similar to Using freeglut inside visual studio c++ create a 3D model w.pdf (20)

OBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGE
OBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGEOBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGE
OBJECT DETECTION FOR SERVICE ROBOT USING RANGE AND COLOR FEATURES OF AN IMAGE
 
Object Detection for Service Robot Using Range and Color Features of an Image
Object Detection for Service Robot Using Range and Color Features of an ImageObject Detection for Service Robot Using Range and Color Features of an Image
Object Detection for Service Robot Using Range and Color Features of an Image
 
Modeling and texturing in 3 ds max
Modeling and texturing in 3 ds maxModeling and texturing in 3 ds max
Modeling and texturing in 3 ds max
 
Modelo y textrurizado 3 ds max
Modelo y textrurizado 3 ds maxModelo y textrurizado 3 ds max
Modelo y textrurizado 3 ds max
 
Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes  Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes
 
Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes  Visual Hull Construction from Semitransparent Coloured Silhouettes
Visual Hull Construction from Semitransparent Coloured Silhouettes
 
Gpu presentation
Gpu presentationGpu presentation
Gpu presentation
 
Object detection for service robot using range and color features of an image
Object detection for service robot using range and color features of an imageObject detection for service robot using range and color features of an image
Object detection for service robot using range and color features of an image
 
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWSAPPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
APPEARANCE-BASED REPRESENTATION AND RENDERING OF CAST SHADOWS
 
Visual hull construction from semitransparent coloured silhouettes
Visual hull construction from semitransparent coloured silhouettesVisual hull construction from semitransparent coloured silhouettes
Visual hull construction from semitransparent coloured silhouettes
 
APPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLING
APPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLINGAPPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLING
APPLYING R-SPATIOGRAM IN OBJECT TRACKING FOR OCCLUSION HANDLING
 
Point cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihangPoint cloud mesh-investigation_report-lihang
Point cloud mesh-investigation_report-lihang
 
CS 354 Pixel Updating
CS 354 Pixel UpdatingCS 354 Pixel Updating
CS 354 Pixel Updating
 
DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3DirectX 11 Rendering in Battlefield 3
DirectX 11 Rendering in Battlefield 3
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface
 
Shadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive ApplicationsShadow Techniques for Real-Time and Interactive Applications
Shadow Techniques for Real-Time and Interactive Applications
 
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
[Paper] GIRAFFE: Representing Scenes as Compositional Generative Neural Featu...
 
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docxGIS 5103 – Fundamentals of GISLecture 83D GIS.docx
GIS 5103 – Fundamentals of GISLecture 83D GIS.docx
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
 
TransNeRF
TransNeRFTransNeRF
TransNeRF
 

More from picscamshoppe

VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdfVAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdfpicscamshoppe
 
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdfVaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdfpicscamshoppe
 
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdfUyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdfpicscamshoppe
 
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdfUzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdfpicscamshoppe
 
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdfVaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdfpicscamshoppe
 
Utilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdfUtilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdfpicscamshoppe
 
Utilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdfUtilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdfpicscamshoppe
 
Usted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdfUsted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdfpicscamshoppe
 
Usted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdfUsted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdfpicscamshoppe
 
usptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdfusptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdfpicscamshoppe
 
Using Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdfUsing Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdfpicscamshoppe
 
Using Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdfUsing Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdfpicscamshoppe
 
Using the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdfUsing the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdfpicscamshoppe
 
Using the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdfUsing the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdfpicscamshoppe
 
Using the Mpgcsv dataset b Run a basic linear regression.pdf
Using the Mpgcsv dataset b  Run a basic linear regression.pdfUsing the Mpgcsv dataset b  Run a basic linear regression.pdf
Using the Mpgcsv dataset b Run a basic linear regression.pdfpicscamshoppe
 
Using the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdfUsing the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdfpicscamshoppe
 
Using the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdfUsing the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdfpicscamshoppe
 
Using the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdfUsing the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdfpicscamshoppe
 
Using the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdfUsing the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdfpicscamshoppe
 
Using the following UML please create this java code I spe.pdf
Using the following UML please create this java code  I spe.pdfUsing the following UML please create this java code  I spe.pdf
Using the following UML please create this java code I spe.pdfpicscamshoppe
 

More from picscamshoppe (20)

VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdfVAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdf
 
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdfVaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
 
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdfUyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
 
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdfUzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
 
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdfVaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdf
 
Utilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdfUtilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdf
 
Utilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdfUtilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdf
 
Usted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdfUsted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdf
 
Usted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdfUsted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdf
 
usptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdfusptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdf
 
Using Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdfUsing Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdf
 
Using Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdfUsing Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdf
 
Using the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdfUsing the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdf
 
Using the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdfUsing the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdf
 
Using the Mpgcsv dataset b Run a basic linear regression.pdf
Using the Mpgcsv dataset b  Run a basic linear regression.pdfUsing the Mpgcsv dataset b  Run a basic linear regression.pdf
Using the Mpgcsv dataset b Run a basic linear regression.pdf
 
Using the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdfUsing the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdf
 
Using the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdfUsing the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdf
 
Using the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdfUsing the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdf
 
Using the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdfUsing the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdf
 
Using the following UML please create this java code I spe.pdf
Using the following UML please create this java code  I spe.pdfUsing the following UML please create this java code  I spe.pdf
Using the following UML please create this java code I spe.pdf
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 

Using freeglut inside visual studio c++ create a 3D model w.pdf

  • 1. Using freeglut inside visual studio c++, create a 3D model with multiples of it at different positions with a ground and 3 walls. Please code in c++ a complete source file that can do these things: Local Illumination and Shading generate several 3D objects at different positions with a ground and three walls, extend the system to support the following features: Support for several light sources. Interactively turn lights on and off. Support flat/gouraud shading models. interactive change the (RGBA) values associated with the global ambient light. interactive change the (RGBA) values associated with the specular material properties of the objects. Global Illumination with Ray Tracing To facilitate global illumination, you need to consider the interactions among all the objects and lights attenuated along ray distance to enable shadows and reflections. You can demo a low resolution ray tracing image if your hardware resource is limited. Shadows. Is there an object between the surface position and the light? If so, a shadow should be generated. You need to define a function to compute these shadow rays. Reflections. Set some cows material to be reflective. If material is set to be reflective, you need to define a recursive function to traverse a ray from the camera to the surface position to find the color of light, and continue this process until the maximum number of recursions or the maximum distance of the ray path is reached.