SlideShare a Scribd company logo
1 of 15
Tutorial Third Peg Transfer
          Exercise




School of Electrical Engineering & Computer Science,
                                                         1
National University of Sciences & Technology, Pakistan
What’s new
• Practice of Rigid Mechanical Object.
• A proper interactive exercise making practice to
  train some one.
Scene
        Now what we want to build right now is
• Some static bars placed on a static tray enclosed in
  a static cubical box which is opened from one side.
• Along with Two pegs one Rigid and one Deformable
  placed in the box.
• A practitioner will have to put those pegs in one bar
  and then transfer t to the other bar by pick and
  place it up in another bar.
Adding nodes
• First of all add four nodes to the Root Node and
  name them
  1.   Peg Box.
  2.   Peg Tray.
  3.   Bars.
  4.   Peg Deformable.
• Now add the collision and Visual Nodes to them.
Added Nodes
MeshTopology
• Now Add Mesh topology to all.
• In every node’s meshtopology component, add
  following object file’s location in the fileTopology
  blank of property 1/3,in respect to there name.
  1. pegbox.obj (attached with this exercise) for Peg Box node’s
     Mestopology Object.
  2. pegtray.obj (attached with this exercise) for Peg Tray node’s
     Mestopology Object.
  3. bars.obj (attached with this exercise) for Bars node’s
     Mestopology Object.
  4. torus.obj (attached with this exercise) for Peg Deformable
     node’s Mestopology Object.
MeshTopology
MechanicalObject
• Now add Mechanical Object of Vec3d type in all nodes.
Collision Model
• Now we will have to add the collision models in all
  of the collision nodes of the object nodes.
  – For this we will drag and drop Ttriangle model in all of
    the collision nodes other than Peg deformable.
  – In Peg deformable we will add Tsphere model in the
    collision nodes of the Peg-Deformable
Additions in the Peg
                   Deformable
• As we want our peg to feel all of the forces and deform
  and displace accordingly.
• We will have to add some other properties differing
  from the other nodes like mass, ODE & Linear solver
  along with some Force Field in Peg Deformable.
• In our current exercise the user will handle and move
  the peg on his will, so we will have to assign a separate
  mestopolgy and the mechanical object to the collision
  node.
• To map the Graphical and Collision nodes on the parent
  node’s objects we will add Barycentric mapping in both
  of them.
Additions in the Peg
   Deformable
Peg Rigid
• Now we will make a Rigid Peg alongside over
  deformable Peg.
  – For this we will repeat all of the steps done for the Peg
    Deformable except the Mechanical state object, Mass and
    the Force Fields of Vec3d will be replaced by the Rigid Ones.
  – And In the inferior nodes we will replace Barycentrtic
    mapping with Rigid Mapping.
  – Translate the initial position of OglModel and Mechanical
    state to the 10 units on the X axis.
  – Change the color of the peg by changing the values of
    Ambient in the property 2/4 of the Ogl Model.
Resultant Animated Exercise
• Now Animate the scene, there you will see two
  pegs side by side
  1. Deformable Vec3d.
  2. Non-Deformable Rigid.
• To practice pick one peg by simultaneous clicking
  the Left and pressing shift key on them and place
  them in one desired bar.
Final Animation

More Related Content

What's hot

General science unit 4 simple machines
General science unit 4 simple machinesGeneral science unit 4 simple machines
General science unit 4 simple machinesJamesEArnoldJr
 
Work and energy g7
Work and energy g7Work and energy g7
Work and energy g7mstf mstf
 
05 work-energy-and-power
05 work-energy-and-power05 work-energy-and-power
05 work-energy-and-powerSiyavula
 
Work and energy toolkit 15 may 2020
Work and energy toolkit  15 may 2020Work and energy toolkit  15 may 2020
Work and energy toolkit 15 may 2020mkhwanda
 
Work and energy part a
Work and energy part aWork and energy part a
Work and energy part aAngelo Aquino
 
Work energy theorem ppt
Work  energy theorem pptWork  energy theorem ppt
Work energy theorem pptAlvinaGohar1
 
O level work energy and power
O level work energy and powerO level work energy and power
O level work energy and powerChen Gong
 
T - Work, Power & Energy
T - Work, Power & EnergyT - Work, Power & Energy
T - Work, Power & EnergyMahendra Rajak
 
2. work energy principle by ghumare s m
2. work energy principle by ghumare s m2. work energy principle by ghumare s m
2. work energy principle by ghumare s msmghumare
 

What's hot (19)

Ecp5
Ecp5Ecp5
Ecp5
 
General science unit 4 simple machines
General science unit 4 simple machinesGeneral science unit 4 simple machines
General science unit 4 simple machines
 
Work and energy g7
Work and energy g7Work and energy g7
Work and energy g7
 
Ppt 13te89
Ppt 13te89Ppt 13te89
Ppt 13te89
 
Advanced/Notes 6.1
Advanced/Notes 6.1Advanced/Notes 6.1
Advanced/Notes 6.1
 
05 work-energy-and-power
05 work-energy-and-power05 work-energy-and-power
05 work-energy-and-power
 
Work and energy toolkit 15 may 2020
Work and energy toolkit  15 may 2020Work and energy toolkit  15 may 2020
Work and energy toolkit 15 may 2020
 
Physics 11
Physics 11Physics 11
Physics 11
 
Work and energy part a
Work and energy part aWork and energy part a
Work and energy part a
 
Chapter7 1 4-fa05
Chapter7 1 4-fa05Chapter7 1 4-fa05
Chapter7 1 4-fa05
 
work and energy
work and energywork and energy
work and energy
 
Work energy theorem ppt
Work  energy theorem pptWork  energy theorem ppt
Work energy theorem ppt
 
Jigar Patel
Jigar PatelJigar Patel
Jigar Patel
 
O level work energy and power
O level work energy and powerO level work energy and power
O level work energy and power
 
T - Work, Power & Energy
T - Work, Power & EnergyT - Work, Power & Energy
T - Work, Power & Energy
 
Work and energy
Work and energyWork and energy
Work and energy
 
Work Energy & power
Work Energy & powerWork Energy & power
Work Energy & power
 
Work and Energy
Work and EnergyWork and Energy
Work and Energy
 
2. work energy principle by ghumare s m
2. work energy principle by ghumare s m2. work energy principle by ghumare s m
2. work energy principle by ghumare s m
 

Similar to Third Peg Transfer Tutorial

Tutorial two cubes falling on a floor due to gravity
Tutorial two cubes falling on a floor due to gravityTutorial two cubes falling on a floor due to gravity
Tutorial two cubes falling on a floor due to gravitySMARTLab123
 
SPU Physics
SPU PhysicsSPU Physics
SPU PhysicsSlide_N
 
Ch2 Part III-Advanced Sorting algorithms.pptx
Ch2 Part III-Advanced Sorting algorithms.pptxCh2 Part III-Advanced Sorting algorithms.pptx
Ch2 Part III-Advanced Sorting algorithms.pptxMohammed472103
 
LLaMA_Final The Meta LLM Presentation.pptx
LLaMA_Final The Meta LLM Presentation.pptxLLaMA_Final The Meta LLM Presentation.pptx
LLaMA_Final The Meta LLM Presentation.pptxDr. Yasir Butt
 
Introduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptxIntroduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptxPoonam60376
 
Topic1_Method of Virtual Work.pptx
Topic1_Method of Virtual Work.pptxTopic1_Method of Virtual Work.pptx
Topic1_Method of Virtual Work.pptxMary Joanne Aniñon
 
Caustic Object Construction Based on Multiple Caustic Patterns
Caustic Object Construction Based on Multiple Caustic PatternsCaustic Object Construction Based on Multiple Caustic Patterns
Caustic Object Construction Based on Multiple Caustic PatternsBudianto Tandianus
 
Collision Detection an Overview
Collision Detection an OverviewCollision Detection an Overview
Collision Detection an Overviewslantsixgames
 
Introduction to Robotics.pptx
Introduction to Robotics.pptxIntroduction to Robotics.pptx
Introduction to Robotics.pptxnipunwijewardhana
 
Digital origami from geometrically frustrated tiles
Digital origami from geometrically frustrated tilesDigital origami from geometrically frustrated tiles
Digital origami from geometrically frustrated tilesCK Harnett
 
Introduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural NetworksIntroduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural NetworksMiles Cranmer
 
205 wikarta-kuliah i mektek ti
205 wikarta-kuliah i mektek ti205 wikarta-kuliah i mektek ti
205 wikarta-kuliah i mektek tiAri Indrajaya
 
Loop parallelization & pipelining
Loop parallelization & pipeliningLoop parallelization & pipelining
Loop parallelization & pipeliningjagrat123
 

Similar to Third Peg Transfer Tutorial (20)

Tutorial two cubes falling on a floor due to gravity
Tutorial two cubes falling on a floor due to gravityTutorial two cubes falling on a floor due to gravity
Tutorial two cubes falling on a floor due to gravity
 
SPU Physics
SPU PhysicsSPU Physics
SPU Physics
 
Ch2 Part III-Advanced Sorting algorithms.pptx
Ch2 Part III-Advanced Sorting algorithms.pptxCh2 Part III-Advanced Sorting algorithms.pptx
Ch2 Part III-Advanced Sorting algorithms.pptx
 
FEM
FEMFEM
FEM
 
Lever lab
Lever labLever lab
Lever lab
 
LLaMA_Final The Meta LLM Presentation.pptx
LLaMA_Final The Meta LLM Presentation.pptxLLaMA_Final The Meta LLM Presentation.pptx
LLaMA_Final The Meta LLM Presentation.pptx
 
Introduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptxIntroduction to Perceptron and Neural Network.pptx
Introduction to Perceptron and Neural Network.pptx
 
Complexity in array
Complexity in arrayComplexity in array
Complexity in array
 
Topic1_Method of Virtual Work.pptx
Topic1_Method of Virtual Work.pptxTopic1_Method of Virtual Work.pptx
Topic1_Method of Virtual Work.pptx
 
november6.ppt
november6.pptnovember6.ppt
november6.ppt
 
Caustic Object Construction Based on Multiple Caustic Patterns
Caustic Object Construction Based on Multiple Caustic PatternsCaustic Object Construction Based on Multiple Caustic Patterns
Caustic Object Construction Based on Multiple Caustic Patterns
 
Collision Detection an Overview
Collision Detection an OverviewCollision Detection an Overview
Collision Detection an Overview
 
queue.pptx
queue.pptxqueue.pptx
queue.pptx
 
HP-3 Presentation.pptx
HP-3 Presentation.pptxHP-3 Presentation.pptx
HP-3 Presentation.pptx
 
Introduction to Robotics.pptx
Introduction to Robotics.pptxIntroduction to Robotics.pptx
Introduction to Robotics.pptx
 
Lecture 1 (40)
Lecture 1 (40)Lecture 1 (40)
Lecture 1 (40)
 
Digital origami from geometrically frustrated tiles
Digital origami from geometrically frustrated tilesDigital origami from geometrically frustrated tiles
Digital origami from geometrically frustrated tiles
 
Introduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural NetworksIntroduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural Networks
 
205 wikarta-kuliah i mektek ti
205 wikarta-kuliah i mektek ti205 wikarta-kuliah i mektek ti
205 wikarta-kuliah i mektek ti
 
Loop parallelization & pipelining
Loop parallelization & pipeliningLoop parallelization & pipelining
Loop parallelization & pipelining
 

Recently uploaded

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Recently uploaded (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Third Peg Transfer Tutorial

  • 1. Tutorial Third Peg Transfer Exercise School of Electrical Engineering & Computer Science, 1 National University of Sciences & Technology, Pakistan
  • 2. What’s new • Practice of Rigid Mechanical Object. • A proper interactive exercise making practice to train some one.
  • 3. Scene Now what we want to build right now is • Some static bars placed on a static tray enclosed in a static cubical box which is opened from one side. • Along with Two pegs one Rigid and one Deformable placed in the box. • A practitioner will have to put those pegs in one bar and then transfer t to the other bar by pick and place it up in another bar.
  • 4. Adding nodes • First of all add four nodes to the Root Node and name them 1. Peg Box. 2. Peg Tray. 3. Bars. 4. Peg Deformable. • Now add the collision and Visual Nodes to them.
  • 6. MeshTopology • Now Add Mesh topology to all. • In every node’s meshtopology component, add following object file’s location in the fileTopology blank of property 1/3,in respect to there name. 1. pegbox.obj (attached with this exercise) for Peg Box node’s Mestopology Object. 2. pegtray.obj (attached with this exercise) for Peg Tray node’s Mestopology Object. 3. bars.obj (attached with this exercise) for Bars node’s Mestopology Object. 4. torus.obj (attached with this exercise) for Peg Deformable node’s Mestopology Object.
  • 8. MechanicalObject • Now add Mechanical Object of Vec3d type in all nodes.
  • 9. Collision Model • Now we will have to add the collision models in all of the collision nodes of the object nodes. – For this we will drag and drop Ttriangle model in all of the collision nodes other than Peg deformable. – In Peg deformable we will add Tsphere model in the collision nodes of the Peg-Deformable
  • 10. Additions in the Peg Deformable • As we want our peg to feel all of the forces and deform and displace accordingly. • We will have to add some other properties differing from the other nodes like mass, ODE & Linear solver along with some Force Field in Peg Deformable. • In our current exercise the user will handle and move the peg on his will, so we will have to assign a separate mestopolgy and the mechanical object to the collision node. • To map the Graphical and Collision nodes on the parent node’s objects we will add Barycentric mapping in both of them.
  • 11. Additions in the Peg Deformable
  • 12. Peg Rigid • Now we will make a Rigid Peg alongside over deformable Peg. – For this we will repeat all of the steps done for the Peg Deformable except the Mechanical state object, Mass and the Force Fields of Vec3d will be replaced by the Rigid Ones. – And In the inferior nodes we will replace Barycentrtic mapping with Rigid Mapping. – Translate the initial position of OglModel and Mechanical state to the 10 units on the X axis. – Change the color of the peg by changing the values of Ambient in the property 2/4 of the Ogl Model.
  • 13.
  • 14. Resultant Animated Exercise • Now Animate the scene, there you will see two pegs side by side 1. Deformable Vec3d. 2. Non-Deformable Rigid. • To practice pick one peg by simultaneous clicking the Left and pressing shift key on them and place them in one desired bar.