SlideShare a Scribd company logo
1 of 13
Download to read offline
⚫
Creating 3d Surface based model using Unity
Bezier Curve surface parametric model
⚫ Parametric curve used in computer graphics
⚫ Control points , Some points near each other
construction
⚫ Linear
⚫ Quadratic
⚫ High order
Stratigy of setting the control
point
⚫ geological observations,
eg. along the dyke, the major eroded surface,
edges, the upper and the lower part of the
outcrop.
⚫ Number, position of control points
⚫ Number of points on u and v directions
⚫ C# code based on bezier curve formulations
⚫ Assign it with control points to mesh
First Trial
⚫ 4 raws * each 5 CP
⚫ 20 control points
⚫ Accuracy problem
⚫ Surface was not completely
covered
Second Trial
⚫ 5 * 5
⚫ 25 control points
⚫ accuracy increased
⚫ better surface fitting
Our
code
⚫
5 * 8
40 control points
More accuracy
Surface fitting improved
⚫
⚫
Workflow
⚫ Creating empty game object (3d mesh)
⚫ Added mesh filter and mesh renderer components
⚫ Creating mother point and child spheres
⚫ Creating materials and assigning them to the spheres
⚫ Assigning a material and c# code to the mesh
⚫ Modifying the code
⚫ Assigning mother point to the c# code and specifiying the
number of points in u and v directions
⚫ Fitting the surface
⚫ Our target is achieved!! ☺
⚫ Few number of control
point
⚫ With a good Accuracy
⚫ And Easy controlling
Regards,
Amr Elgabri

More Related Content

More from Amr Elgabri

Aspekte neu b2 kapitelwortscahtz Glossar
Aspekte neu b2 kapitelwortscahtz GlossarAspekte neu b2 kapitelwortscahtz Glossar
Aspekte neu b2 kapitelwortscahtz GlossarAmr Elgabri
 
Aspekte neu c1 kapitelwortscahtz Glossar
Aspekte neu c1 kapitelwortscahtz GlossarAspekte neu c1 kapitelwortscahtz Glossar
Aspekte neu c1 kapitelwortscahtz GlossarAmr Elgabri
 
Karst processes and engineering classification
Karst processes and engineering classificationKarst processes and engineering classification
Karst processes and engineering classificationAmr Elgabri
 
The grand Ethiopian Renaissance dam (eg)
The grand Ethiopian Renaissance dam (eg)The grand Ethiopian Renaissance dam (eg)
The grand Ethiopian Renaissance dam (eg)Amr Elgabri
 
Introduction to road materials Part 1
Introduction to road materials Part 1Introduction to road materials Part 1
Introduction to road materials Part 1Amr Elgabri
 
Glacial environment
Glacial environmentGlacial environment
Glacial environmentAmr Elgabri
 

More from Amr Elgabri (6)

Aspekte neu b2 kapitelwortscahtz Glossar
Aspekte neu b2 kapitelwortscahtz GlossarAspekte neu b2 kapitelwortscahtz Glossar
Aspekte neu b2 kapitelwortscahtz Glossar
 
Aspekte neu c1 kapitelwortscahtz Glossar
Aspekte neu c1 kapitelwortscahtz GlossarAspekte neu c1 kapitelwortscahtz Glossar
Aspekte neu c1 kapitelwortscahtz Glossar
 
Karst processes and engineering classification
Karst processes and engineering classificationKarst processes and engineering classification
Karst processes and engineering classification
 
The grand Ethiopian Renaissance dam (eg)
The grand Ethiopian Renaissance dam (eg)The grand Ethiopian Renaissance dam (eg)
The grand Ethiopian Renaissance dam (eg)
 
Introduction to road materials Part 1
Introduction to road materials Part 1Introduction to road materials Part 1
Introduction to road materials Part 1
 
Glacial environment
Glacial environmentGlacial environment
Glacial environment
 

Recently uploaded

Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...lizamodels9
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfSELF-EXPLANATORY
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxEran Akiva Sinbar
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayupadhyaymani499
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...Universidade Federal de Sergipe - UFS
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》rnrncn29
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPirithiRaju
 
Four Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptFour Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptJoemSTuliba
 
Davis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologyDavis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologycaarthichand2003
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxMurugaveni B
 
Microteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringMicroteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringPrajakta Shinde
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...D. B. S. College Kanpur
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx023NiWayanAnggiSriWa
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024innovationoecd
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentationtahreemzahra82
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPirithiRaju
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPirithiRaju
 
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In DubaiDubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubaikojalkojal131
 

Recently uploaded (20)

Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
 
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdfBehavioral Disorder: Schizophrenia & it's Case Study.pdf
Behavioral Disorder: Schizophrenia & it's Case Study.pdf
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptx
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyay
 
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
REVISTA DE BIOLOGIA E CIÊNCIAS DA TERRA ISSN 1519-5228 - Artigo_Bioterra_V24_...
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》《Queensland毕业文凭-昆士兰大学毕业证成绩单》
《Queensland毕业文凭-昆士兰大学毕业证成绩单》
 
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdfPests of safflower_Binomics_Identification_Dr.UPR.pdf
Pests of safflower_Binomics_Identification_Dr.UPR.pdf
 
Four Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.pptFour Spheres of the Earth Presentation.ppt
Four Spheres of the Earth Presentation.ppt
 
Davis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologyDavis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technology
 
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptxSTOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
STOPPED FLOW METHOD & APPLICATION MURUGAVENI B.pptx
 
Microteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical EngineeringMicroteaching on terms used in filtration .Pharmaceutical Engineering
Microteaching on terms used in filtration .Pharmaceutical Engineering
 
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
Fertilization: Sperm and the egg—collectively called the gametes—fuse togethe...
 
Bioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptxBioteknologi kelas 10 kumer smapsa .pptx
Bioteknologi kelas 10 kumer smapsa .pptx
 
OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024OECD bibliometric indicators: Selected highlights, April 2024
OECD bibliometric indicators: Selected highlights, April 2024
 
Volatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -IVolatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -I
 
Harmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms PresentationHarmful and Useful Microorganisms Presentation
Harmful and Useful Microorganisms Presentation
 
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdfPests of jatropha_Bionomics_identification_Dr.UPR.pdf
Pests of jatropha_Bionomics_identification_Dr.UPR.pdf
 
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdfPests of soyabean_Binomics_IdentificationDr.UPR.pdf
Pests of soyabean_Binomics_IdentificationDr.UPR.pdf
 
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In DubaiDubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
Dubai Calls Girl Lisa O525547819 Lexi Call Girls In Dubai
 

Structural geological modeling using Unity and C#

  • 1.
  • 2. Creating 3d Surface based model using Unity
  • 3. Bezier Curve surface parametric model ⚫ Parametric curve used in computer graphics ⚫ Control points , Some points near each other construction ⚫ Linear ⚫ Quadratic ⚫ High order
  • 4. Stratigy of setting the control point ⚫ geological observations, eg. along the dyke, the major eroded surface, edges, the upper and the lower part of the outcrop.
  • 5. ⚫ Number, position of control points ⚫ Number of points on u and v directions ⚫ C# code based on bezier curve formulations ⚫ Assign it with control points to mesh
  • 6. First Trial ⚫ 4 raws * each 5 CP ⚫ 20 control points ⚫ Accuracy problem ⚫ Surface was not completely covered
  • 7. Second Trial ⚫ 5 * 5 ⚫ 25 control points ⚫ accuracy increased ⚫ better surface fitting Our code
  • 8. ⚫ 5 * 8 40 control points More accuracy Surface fitting improved
  • 9.
  • 10.
  • 11. Workflow ⚫ Creating empty game object (3d mesh) ⚫ Added mesh filter and mesh renderer components ⚫ Creating mother point and child spheres ⚫ Creating materials and assigning them to the spheres ⚫ Assigning a material and c# code to the mesh ⚫ Modifying the code ⚫ Assigning mother point to the c# code and specifiying the number of points in u and v directions ⚫ Fitting the surface
  • 12. ⚫ Our target is achieved!! ☺ ⚫ Few number of control point ⚫ With a good Accuracy ⚫ And Easy controlling