SlideShare a Scribd company logo
1Challenge the future
Preliminaries
Basic Vector Mathematics for 3D Modeling
Ir. Pirouz Nourian
PhD candidate & Instructor, chair of Design Informatics, since 2010
MSc in Architecture 2009
BSc in Control Engineering 2005
MSc Geomatics, GEO1004, Directed by Dr. Sisi Zlatanova
2Challenge the future
INVISIBLE DIRECTIONS
Vector Mathematics in a Nutshell
René Descartes
Image courtesy of David Rutten,
from Rhinoscript 101
3Challenge the future
INVISIBLE DIRECTIONS
Basic Operations
𝐴 = 𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌
𝐵 = 𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌
𝐴 + 𝐵 = (𝑎 𝑥 + 𝑏 𝑥)𝒊 + (𝑎 𝑦+𝑏 𝑦)𝒋 + (𝑎 𝑧+𝑏 𝑧)𝒌
Vector Addition
Vector Length
𝐴 = 𝑎 𝑥
2 + 𝑎 𝑦
2
+ 𝑎 𝑧
2
4Challenge the future
Dot Product: physical intuition…
E.g. How to detect perpendicularity?
•
Image courtesy of http://sdsu-physics.org
5Challenge the future
Dot Product: How is it calculated in analytic geometry?
Image courtesy of http://sdsu-
𝜃
B
A
𝒊. 𝒊 = 𝒋. 𝒋 = 𝒌. 𝒌 = 1
𝒊. 𝒋 = 𝒋. 𝒊 = 0
𝒋. 𝒌 = 𝒌. 𝒋 = 0
𝒌. 𝒊 = 𝒊. 𝒌 = 0
6Challenge the future
Dot Product: How is it calculated in analytic geometry?
𝐴 = 𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌 = 𝑎 𝑥 𝑎 𝑦 𝑎 𝑧
𝒊
𝒋
𝒌
𝐵 = 𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌 = 𝑏 𝑥 𝑏 𝑦 𝑏 𝑧
𝒊
𝒋
𝒌
𝐴. 𝐵 == 𝐴 . 𝐵 . 𝐶𝑜𝑠(𝜃)
𝜃
B
A
𝐴. 𝐵 = 𝑎 𝑥 𝑎 𝑦 𝑎 𝑧
𝑏 𝑥
𝑏 𝑦
𝑏 𝑧
= 𝑎 𝑥 𝑏 𝑥 + 𝑎 𝑦 𝑏 𝑦 + 𝑎 𝑧 𝑏 𝑧
7Challenge the future
Cross Product: physical intuition…
•
Image courtesy of
http://hyperphysics.phy-astr.gsu.edu
Images courtesy of
Raja Issa, Essential Mathematics for Computational Design
E.g. How to detect parallelism?
8Challenge the future
Cross Product: How is it calculated in analytic geometry?
Images courtesy of
Raja Issa, Essential Mathematics for Computational Design
𝒊 × 𝒊 = 𝒋 × 𝒋 = 𝒌 × 𝒌 = 𝟎
𝒊 × 𝒋 = 𝒌
𝒋 × 𝒌 = 𝒊
𝒌 × 𝒊 = 𝒋
𝒋 × 𝒊 = −𝒌
𝒌 × 𝒋 = −𝒊
𝒊 × 𝒌 = −𝒋
9Challenge the future
Cross Product: How is it calculated in analytic geometry?
Images courtesy of Raja Issa, Essential Mathematics for Computational Design
𝐴 = 𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌 = 𝑎 𝑥 𝑎 𝑦 𝑎 𝑧
𝒊
𝒋
𝒌
𝐵 = 𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌 = 𝑏 𝑥 𝑏 𝑦 𝑏 𝑧
𝒊
𝒋
𝒌
𝐴 × 𝐵 = (𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌) × (𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌) =
𝒊 𝒋 𝒌
𝑎 𝑥 𝑎 𝑦 𝑎 𝑧
𝑏 𝑥 𝑏 𝑦 𝑏 𝑧
𝐴 × 𝐵 = 𝐴 . 𝐵 . 𝑆𝑖𝑛(𝜃)
𝐴 × 𝐵 = 𝑎 𝑦 𝑏 𝑧 − 𝑎 𝑧 𝑏 𝑦 𝒊 + 𝑎 𝑧 𝑏 𝑥 − 𝑎 𝑥 𝑏 𝑧 𝒋 + 𝑎 𝑥 𝑏 𝑦 − 𝑎 𝑦 𝑏 𝑥 𝒌
10Challenge the future
INVISIBLE ORIENTATIONS
Place things on planes!
Planes in a Nutshell!
Images courtesy of David Rutten, Rhino Script 101
11Challenge the future
Matrix Operations [Linear Algebra]:
Look these up:
• Trivial Facts
• Identity Matrix
• Multiplication of Matrices 𝐴𝐵 ≠ 𝐵𝐴
• Transposed Matrix (𝐴 𝑇
)
𝑇
= 𝐴
• Systems of Linear Equations
• Determinant
• Inverse Matrix
• PCA: Eigenvalues & Eigenvectors
Use MetaNumerics.DLL
𝐴𝐵𝑖,𝑗 𝑅×𝐶
= 𝐴 𝑖,𝑘 × 𝐵 𝑘,𝑗
𝑚
𝑘=1
𝐴 𝑅×𝑀 ∗ 𝐵 𝑀×𝐶 = 𝐴𝐵𝑖,𝑗 𝑅×𝐶
12Challenge the future
TRANSFORMATIONS
• Linear Transformations: Euclidean and Affine
• Homogenous Coordinate System
• Inverse Transforms?
• Non-Linear Transformations?
Images courtesy of Raja Issa, Essential Mathematics for Computational Design
𝐿𝑖𝑛𝑒𝑎𝑟 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛𝑠 by Matrices
13Challenge the future
TOPOLOGY in GH: Use matrices to represent graphs
Connectivity, Adjacency and Graphs in GH
We will see more about topology in solids and meshes!
14Challenge the future
Questions?

More Related Content

PDF
Ar1 twf030 lecture1.2
PDF
Ar1 twf030 lecture2.2
PDF
Point Cloud Processing: Estimating Normal Vectors and Curvature Indicators us...
PDF
On NURBS Geometry Representation in 3D modelling
PDF
Polygon Mesh Representation
PPTX
Mesh final pzn_geo1004_2015_f3_2017
PPT
3D Graphics
PDF
Intro computational design_mega2016_1_with_recommendedplugins
Ar1 twf030 lecture1.2
Ar1 twf030 lecture2.2
Point Cloud Processing: Estimating Normal Vectors and Curvature Indicators us...
On NURBS Geometry Representation in 3D modelling
Polygon Mesh Representation
Mesh final pzn_geo1004_2015_f3_2017
3D Graphics
Intro computational design_mega2016_1_with_recommendedplugins

What's hot (20)

PPTX
GRPHICS01 - Introduction to 3D Graphics
PPT
PDF
Point Cloud Segmentation for 3D Reconstruction
PPT
object 3d(1)
PPTX
presentation on solid manipulation in computer aided design
PPT
Object representations
KEY
OpenGL ES for iOS (3D Graphics)
PDF
Lec15 sfm
PPTX
Contextless Object Recognition with Shape-enriched SIFT and Bags of Features
PDF
Computer Graphics - Lecture 00 - Introduction
PPTX
Rotations
PPTX
Oblique parallel projection
PPTX
Basics of Linear Hough Transform
ZIP
Extra ways to see: An Artist's Guide to Map Operations
PDF
Volodymyr Lyubinets “Generative models for images”
PPTX
Digital Differential Analyzer Line Drawing Algorithm
PPT
Texture Mapping
PDF
Computer graphics
PPTX
Solid modeling
GRPHICS01 - Introduction to 3D Graphics
Point Cloud Segmentation for 3D Reconstruction
object 3d(1)
presentation on solid manipulation in computer aided design
Object representations
OpenGL ES for iOS (3D Graphics)
Lec15 sfm
Contextless Object Recognition with Shape-enriched SIFT and Bags of Features
Computer Graphics - Lecture 00 - Introduction
Rotations
Oblique parallel projection
Basics of Linear Hough Transform
Extra ways to see: An Artist's Guide to Map Operations
Volodymyr Lyubinets “Generative models for images”
Digital Differential Analyzer Line Drawing Algorithm
Texture Mapping
Computer graphics
Solid modeling
Ad

Viewers also liked (8)

PDF
Tudelft stramien 16_9_on_optimization
PPT
Analytic Geometry
PDF
Application of analytical geometry
PPT
Basic Analytical Geometry
DOC
Dissertation_Full
PPT
Analytic geometry basic concepts
PDF
How to Make Awesome SlideShares: Tips & Tricks
PDF
Getting Started With SlideShare
Tudelft stramien 16_9_on_optimization
Analytic Geometry
Application of analytical geometry
Basic Analytical Geometry
Dissertation_Full
Analytic geometry basic concepts
How to Make Awesome SlideShares: Tips & Tricks
Getting Started With SlideShare
Ad

Similar to Preliminaries of Analytic Geometry and Linear Algebra 3D modelling (20)

PPTX
Mechanics of Quadcopter
PDF
SindyAutoEncoder: Interpretable Latent Dynamics via Sparse Identification
PPTX
03_Optimization (1).pptx
PPTX
Learning a nonlinear embedding by preserving class neibourhood structure 최종
PDF
Week_2_Neural_Networks_Basichhhhhhhs.pdf
PPTX
Computer aided design
PPTX
Lec05.pptx
PDF
Cat Quant Cheat Sheet
PDF
cat-quant-cheat-sheet
PPTX
Deep Residual Hashing Neural Network for Image Retrieval
PPTX
6.1 synthsis of the mechanism
PDF
Session 4 .pdf
PPTX
lecture7.pptx
PPTX
GDC2019 - SEED - Towards Deep Generative Models in Game Development
PPTX
A machine learning method for efficient design optimization in nano-optics
PDF
Theories and Engineering Technics of 2D-to-3D Back-Projection Problem
PPTX
Introduction to Deep Learning for Neuroimaging
PDF
deeplearninhg........ applicationsWEEK 05.pdf
PDF
[GAN by Hung-yi Lee]Part 1: General introduction of GAN
PDF
Deep Neural Network
Mechanics of Quadcopter
SindyAutoEncoder: Interpretable Latent Dynamics via Sparse Identification
03_Optimization (1).pptx
Learning a nonlinear embedding by preserving class neibourhood structure 최종
Week_2_Neural_Networks_Basichhhhhhhs.pdf
Computer aided design
Lec05.pptx
Cat Quant Cheat Sheet
cat-quant-cheat-sheet
Deep Residual Hashing Neural Network for Image Retrieval
6.1 synthsis of the mechanism
Session 4 .pdf
lecture7.pptx
GDC2019 - SEED - Towards Deep Generative Models in Game Development
A machine learning method for efficient design optimization in nano-optics
Theories and Engineering Technics of 2D-to-3D Back-Projection Problem
Introduction to Deep Learning for Neuroimaging
deeplearninhg........ applicationsWEEK 05.pdf
[GAN by Hung-yi Lee]Part 1: General introduction of GAN
Deep Neural Network

Recently uploaded (20)

PPTX
Welding lecture in detail for understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Well-logging-methods_new................
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Sustainable Sites - Green Building Construction
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
DOCX
573137875-Attendance-Management-System-original
Welding lecture in detail for understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Model Code of Practice - Construction Work - 21102022 .pdf
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Well-logging-methods_new................
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
R24 SURVEYING LAB MANUAL for civil enggi
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Mechanical Engineering MATERIALS Selection
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Internet of Things (IOT) - A guide to understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
Operating System & Kernel Study Guide-1 - converted.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Sustainable Sites - Green Building Construction
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
573137875-Attendance-Management-System-original

Preliminaries of Analytic Geometry and Linear Algebra 3D modelling

  • 1. 1Challenge the future Preliminaries Basic Vector Mathematics for 3D Modeling Ir. Pirouz Nourian PhD candidate & Instructor, chair of Design Informatics, since 2010 MSc in Architecture 2009 BSc in Control Engineering 2005 MSc Geomatics, GEO1004, Directed by Dr. Sisi Zlatanova
  • 2. 2Challenge the future INVISIBLE DIRECTIONS Vector Mathematics in a Nutshell René Descartes Image courtesy of David Rutten, from Rhinoscript 101
  • 3. 3Challenge the future INVISIBLE DIRECTIONS Basic Operations 𝐴 = 𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌 𝐵 = 𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌 𝐴 + 𝐵 = (𝑎 𝑥 + 𝑏 𝑥)𝒊 + (𝑎 𝑦+𝑏 𝑦)𝒋 + (𝑎 𝑧+𝑏 𝑧)𝒌 Vector Addition Vector Length 𝐴 = 𝑎 𝑥 2 + 𝑎 𝑦 2 + 𝑎 𝑧 2
  • 4. 4Challenge the future Dot Product: physical intuition… E.g. How to detect perpendicularity? • Image courtesy of http://sdsu-physics.org
  • 5. 5Challenge the future Dot Product: How is it calculated in analytic geometry? Image courtesy of http://sdsu- 𝜃 B A 𝒊. 𝒊 = 𝒋. 𝒋 = 𝒌. 𝒌 = 1 𝒊. 𝒋 = 𝒋. 𝒊 = 0 𝒋. 𝒌 = 𝒌. 𝒋 = 0 𝒌. 𝒊 = 𝒊. 𝒌 = 0
  • 6. 6Challenge the future Dot Product: How is it calculated in analytic geometry? 𝐴 = 𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌 = 𝑎 𝑥 𝑎 𝑦 𝑎 𝑧 𝒊 𝒋 𝒌 𝐵 = 𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌 = 𝑏 𝑥 𝑏 𝑦 𝑏 𝑧 𝒊 𝒋 𝒌 𝐴. 𝐵 == 𝐴 . 𝐵 . 𝐶𝑜𝑠(𝜃) 𝜃 B A 𝐴. 𝐵 = 𝑎 𝑥 𝑎 𝑦 𝑎 𝑧 𝑏 𝑥 𝑏 𝑦 𝑏 𝑧 = 𝑎 𝑥 𝑏 𝑥 + 𝑎 𝑦 𝑏 𝑦 + 𝑎 𝑧 𝑏 𝑧
  • 7. 7Challenge the future Cross Product: physical intuition… • Image courtesy of http://hyperphysics.phy-astr.gsu.edu Images courtesy of Raja Issa, Essential Mathematics for Computational Design E.g. How to detect parallelism?
  • 8. 8Challenge the future Cross Product: How is it calculated in analytic geometry? Images courtesy of Raja Issa, Essential Mathematics for Computational Design 𝒊 × 𝒊 = 𝒋 × 𝒋 = 𝒌 × 𝒌 = 𝟎 𝒊 × 𝒋 = 𝒌 𝒋 × 𝒌 = 𝒊 𝒌 × 𝒊 = 𝒋 𝒋 × 𝒊 = −𝒌 𝒌 × 𝒋 = −𝒊 𝒊 × 𝒌 = −𝒋
  • 9. 9Challenge the future Cross Product: How is it calculated in analytic geometry? Images courtesy of Raja Issa, Essential Mathematics for Computational Design 𝐴 = 𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌 = 𝑎 𝑥 𝑎 𝑦 𝑎 𝑧 𝒊 𝒋 𝒌 𝐵 = 𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌 = 𝑏 𝑥 𝑏 𝑦 𝑏 𝑧 𝒊 𝒋 𝒌 𝐴 × 𝐵 = (𝑎 𝑥 𝒊 + 𝑎 𝑦 𝒋 + 𝑎 𝑧 𝒌) × (𝑏 𝑥 𝒊 + 𝑏 𝑦 𝒋 + 𝑏 𝑧 𝒌) = 𝒊 𝒋 𝒌 𝑎 𝑥 𝑎 𝑦 𝑎 𝑧 𝑏 𝑥 𝑏 𝑦 𝑏 𝑧 𝐴 × 𝐵 = 𝐴 . 𝐵 . 𝑆𝑖𝑛(𝜃) 𝐴 × 𝐵 = 𝑎 𝑦 𝑏 𝑧 − 𝑎 𝑧 𝑏 𝑦 𝒊 + 𝑎 𝑧 𝑏 𝑥 − 𝑎 𝑥 𝑏 𝑧 𝒋 + 𝑎 𝑥 𝑏 𝑦 − 𝑎 𝑦 𝑏 𝑥 𝒌
  • 10. 10Challenge the future INVISIBLE ORIENTATIONS Place things on planes! Planes in a Nutshell! Images courtesy of David Rutten, Rhino Script 101
  • 11. 11Challenge the future Matrix Operations [Linear Algebra]: Look these up: • Trivial Facts • Identity Matrix • Multiplication of Matrices 𝐴𝐵 ≠ 𝐵𝐴 • Transposed Matrix (𝐴 𝑇 ) 𝑇 = 𝐴 • Systems of Linear Equations • Determinant • Inverse Matrix • PCA: Eigenvalues & Eigenvectors Use MetaNumerics.DLL 𝐴𝐵𝑖,𝑗 𝑅×𝐶 = 𝐴 𝑖,𝑘 × 𝐵 𝑘,𝑗 𝑚 𝑘=1 𝐴 𝑅×𝑀 ∗ 𝐵 𝑀×𝐶 = 𝐴𝐵𝑖,𝑗 𝑅×𝐶
  • 12. 12Challenge the future TRANSFORMATIONS • Linear Transformations: Euclidean and Affine • Homogenous Coordinate System • Inverse Transforms? • Non-Linear Transformations? Images courtesy of Raja Issa, Essential Mathematics for Computational Design 𝐿𝑖𝑛𝑒𝑎𝑟 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛𝑠 by Matrices
  • 13. 13Challenge the future TOPOLOGY in GH: Use matrices to represent graphs Connectivity, Adjacency and Graphs in GH We will see more about topology in solids and meshes!