SlideShare a Scribd company logo
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

Ecp5
Ecp5Ecp5
General science unit 4 simple machines
General science unit 4 simple machinesGeneral science unit 4 simple machines
General science unit 4 simple machines
JamesEArnoldJr
 
Work and energy g7
Work and energy g7Work and energy g7
Work and energy g7mstf mstf
 
Ppt 13te89
Ppt 13te89Ppt 13te89
05 work-energy-and-power
05 work-energy-and-power05 work-energy-and-power
05 work-energy-and-power
Siyavula
 
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
mkhwanda
 
Physics 11
Physics 11Physics 11
Physics 11
M.T.H Group
 
Work and energy part a
Work and energy part aWork and energy part a
Work and energy part a
Angelo Aquino
 
Chapter7 1 4-fa05
Chapter7 1 4-fa05Chapter7 1 4-fa05
Chapter7 1 4-fa05
Francis de Castro
 
work and energy
work and energywork and energy
work and energy
chaithrashreevatsa
 
Work energy theorem ppt
Work  energy theorem pptWork  energy theorem ppt
Work energy theorem ppt
AlvinaGohar1
 
O level work energy and power
O level work energy and powerO level work energy and power
O level work energy and power
Chen Gong
 
T - Work, Power & Energy
T - Work, Power & EnergyT - Work, Power & Energy
T - Work, Power & Energy
Mahendra Rajak
 
Work and energy
Work and energyWork and energy
Work and energy
Farid Minawi
 
Work Energy & power
Work Energy & powerWork Energy & power
Work Energy & power
Shahbaz Ahmed
 
Work and Energy
Work and EnergyWork and Energy
Work and Energy
Sanjayraj Balasara
 
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
smghumare
 

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 Tutorial third peg transfer exercise

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 Physics
Slide_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.pptx
Mohammed472103
 
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
Dr. 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.pptx
Poonam60376
 
Complexity in array
Complexity in arrayComplexity in array
Complexity in array
Nahin Kumar Dey
 
Topic1_Method of Virtual Work.pptx
Topic1_Method of Virtual Work.pptxTopic1_Method of Virtual Work.pptx
Topic1_Method of Virtual Work.pptx
Mary Joanne Aniñon
 
november6.ppt
november6.pptnovember6.ppt
november6.ppt
CharlesMatu2
 
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
Budianto Tandianus
 
Collision Detection an Overview
Collision Detection an OverviewCollision Detection an Overview
Collision Detection an Overview
slantsixgames
 
queue.pptx
queue.pptxqueue.pptx
queue.pptx
Dr.Shweta
 
HP-3 Presentation.pptx
HP-3 Presentation.pptxHP-3 Presentation.pptx
HP-3 Presentation.pptx
ShivamPandey521834
 
Introduction to Robotics.pptx
Introduction to Robotics.pptxIntroduction to Robotics.pptx
Introduction to Robotics.pptx
nipunwijewardhana
 
Lecture 1 (40)
Lecture 1 (40)Lecture 1 (40)
Lecture 1 (40)
Basel Samhouri
 
Digital origami from geometrically frustrated tiles
Digital origami from geometrically frustrated tilesDigital origami from geometrically frustrated tiles
Digital origami from geometrically frustrated tiles
CK Harnett
 
Introduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural NetworksIntroduction to Hamiltonian Neural Networks
Introduction to Hamiltonian Neural Networks
Miles 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 & pipelining
jagrat123
 

Similar to Tutorial third peg transfer exercise (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

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
Peter Spielvogel
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 

Recently uploaded (20)

Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdfSAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
SAP Sapphire 2024 - ASUG301 building better apps with SAP Fiori.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 

Tutorial third peg transfer exercise

  • 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.