introduzione alla realt virtuale parte ii
play

Introduzione alla Realt Virtuale Parte II Alberto Borghese - PDF document

Introduzione alla Realt Virtuale Parte II Alberto Borghese http:\\homes.dsi.unimi.it\ borghese\ A.A. 2006-2007 1/78 Sommario Introduzione Sistemi di Input Generatori di mondi Motore di calcolo Sistemi di Output


  1. Introduzione alla Realtà Virtuale Parte II Alberto Borghese http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 1/78 Sommario • Introduzione • Sistemi di Input • Generatori di mondi • Motore di calcolo • Sistemi di Output • Conclusioni http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 2/78 1

  2. World generators Integrated systems for 3D CAD and Animation: •Maya (ex-Alias/Wavefront) •XSI (ex-Softimage) •3D Studio Max. • 3D Structure. • Colour and Texture • Motion (animation) • Rendering (lights, shadows) Camera tracking, trasparencies…. Specific CAD for mechanics: Katia, AutoCAD, Nastran SW…. http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 3/78 3D structure Solid modeling • 3D geometric solids: cubes, cylinders, cones… • Superquadrics (Terzopoulos and Metaxas, 1991): global parameters + local parameters. • Revolution surfaces. • Spline and NURBS (Piegle, 1993). CAD, high interactivity. • Subdivision surfaces (Schroeder, 1999). Finite element models • It is a class per sé. Local modeling. Mechnical modeling. • Largely used for animation in medicine (facial animation, deformation of tissue during surgery). Multi-layer modeling. http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 4/78 2

  3. SW Spefico per modellazione terreni (Terragen) http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 5/78 3D Scanner: Autoscan - 1997 •Scansione manuale attraverso puntatore laser. •Guida alla scansione dal feed-back su monitor. •Flessibilità nel set-up e portabilità. • Acquisizione spot laser in tempo reale a 100 Hz. (max 100 punti /sec) La triangolazione diretta dei punti pone dei problemi per la presenza di rumore . http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 6/78 3

  4. Models from range data Cyberware whole body scanner, WB4 http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 7/78 Models from range data (II) Cyberware smaller model 3030 http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 8/78 4

  5. 3D structure from range data (III) Polhemus hand held laser scanner http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 9/78 Effect of measurement noise is clear with Delaunay triangulation Need of filtering is evident. http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 10/78 5

  6. Models from range data (IV) Digibot II. •Platform rotates •Scanner line translates. http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 11/78 Minolta scanner 3D http://kmpi.konicaminolta.us/eprise/main/kmpi/content/ISD/ISD_Category_Pages/3dscanners http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 12/78 6

  7. Video-based 3D scanner (Rusinkiewicz et al., 2002) • A projector of stripes with pseudo-random width and a video camera • holes can be found and filled on-the-fly • object or scanner can be handheld / shoulderheld video frame range data merged model (159 frames) http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 13/78 3D structure from points Linear approximation (mesh): •Delauney triangulation (Watson, 1981; Fang and Piegl, 1992). Direct tessellation (no filtering). • Alpha shapes, Ball Pivoting (Bernardini et al., 2000), Power Crust (Amenta, 2002). Post processing to regularize a Delauney tessellation. • Surface fitting to range data • Snakes (Kass et al., 1988). Energy based approach. Best curves. • Kohonen maps (1990). • Radial Basis Functions Networks (Poggio and Girosi, 1995; Ferrari et al. 2005, semi-parametric models). ..... http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 14/78 7

  8. Superellissoidi ⎡ ε η ε θ ⎤ a cos cos 1 2 1 ⎢ ⎥ η ϑ = ε η ε θ p ( , ) ⎢ a cos sin ⎥ 1 2 2 ⎢ ⎥ ε η a sin ⎣ 1 ⎦ 3 http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 15/78 Scanner 3D modern pipeline Real object Digitization Sets of points Registration and fusion Single set of points M. Levoy, S. Rusinkiewicz, M. Ginzton, J. Ginsberg, Mesh construction K. Pulli, D. Koller, S. Anderson, J. Shade, B. (filtering) Curless, L. Pereira, J. Davis and D. Fulk, “The Digital Michelangelo Project: 3D Scanning of Single mesh Large Statues,” Proc. Siggraph'99 , ACM Press, pp. 121-132, 1999 Mesh compression (filtering) Final mesh http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 16/78 8

  9. Research challenges • vision problems • digital archiving problems – aligning and merging scans – making the data last forever – automatic hole filling – robust 3D digital watermarking – inverse color rendering – indexing and searching 3D data – automated view planning – real-time viewing on low-cost PCs http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 17/78 Sommario • Introduzione • Sistemi di Input • Generatori di mondi • Motore di calcolo • Sistemi di Output • Conclusioni http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 18/78 9

  10. Graphical representation Graphical engines represent triangles => Every shape is transformed into triangles. •The models created by the scanners are ensembles of triangles (milions of). •Much more than required by applications. ⇓ Mesh compression. Representation of the same. geometry/pictorial attributes, with a reduced set of triangles. http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 19/78 White Grey Dark grey Colors Black (examples) Red Yellow Pale blue Green http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 20/78 10

  11. Colour models • Texture mapping. Correspondence between vertexes and points on images. Pixellization. Details inside a triangle. • Colour per vertexes. The colour of the vertexes is sampled on the image. Continouos field. http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 21/78 VRML format geometry IndexedFaceSet { colorPerVertex TRUE #VRML V2.0 utf8 coord Coordinate { ccw TRUE Viewpoint { point [ solid TRUE position 0 0 3 -30.180237 -231.844711 -101.136322, creaseAngle 8 orientation 0 0 1 0 -9.759983 -198.816086 -112.282883, } fieldOfView 0 ... } } 41.981602 -72.366501 -38.740982, translation 0 0 0 DirectionalLight { 33.281391 -76.643936 -48.074211, center 0 0 0 intensity 0.2 ] scale 1 1 1 ambientIntensity 0.2 } } color 0.9 0.9 0.9 color Color { ] direction 0 -1 -1 color [ } } 0.9 0.9 0.9, } Group { 0.9 0.9 0.9, children Group{ ... children [ 0.9 0.9 0.9, Transform { 0.9 0.9 0.9, children Shape { ] appearance Appearance { } material Material { coordIndex [ ambientIntensity 1 10, 685, 970, -1, diffuseColor 0.9 0.9 0.9 0, 1133, 1162, -1, specularColor 0 0 0 … emissiveColor 0 0 0 263, 472, 1176, -1, shininess 0 263, 666, 1176, -1, transparency 0 ] } } http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 22/78 11

  12. LOD models http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 23/78 The graphical engine (visual computing) Double buffering (for real-time visualization of 3D models) + rasterization. Hardware acceleration of graphical operations (OpenGL, texture mapping…). GPU. Interpolation of normals direction among adjacent triangles. GPU programming language (cf. nVidia). Graphical pipelining (geometry, colour, texture, shadowing, rendering…). Parallelization. Multiple cache levels. Look-ahead code optimization (compiler optimization). http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 24/78 12

  13. Collision detection Computational demanding (On 2 EF). Use of multiresolution models. Hierarchical detection. Geometry semplification (axes aligned faces). Check for common volumes. Extraction of the faces belonging to these volumes. Octree of the pairs of candidate faces. Check for intersection. http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 25/78 Collision detection at work http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 26/78 13

  14. Sommario • Introduzione • Sistemi di Input • Generatori di mondi • Motore di calcolo • Sistemi di Output • Conclusioni http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 27/78 Sistemi di Output::display aptici http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 28/78 14

  15. Haptic displays Convey to the subject the sensorial information generated in the interaction with the virtual objects: force, material texture… Measure the force exerted by the subject on the virtual environment. Aptic displays provide a mechanical interface for Virtual Reality applications. Most important developments have been made in the robotics field. International Haptic society - http://www.isfh.org/ http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 29/78 Cyber grasp Cyber Grasp: • max 12 N per dito • Peso 350 grammi http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 30/78 15

  16. Requirements of Haptic displays • Large bandwidth. • Low intertial and viscosity. Technological solutions (oggetto intermediario): • Direct drive manipulandum (Yoshikawa, 1990), Phantom (2000). • Parallel manipulandum (Millman and Colgate, 1991; Buttolo and Hannaford, 1995). • Magnetic levitation devices (Salcudean and Yan, 1994; Gomi and Kawato, 1996). • Gloves (Bergamasco, 1993). http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 31/78 Direct drive manipulandum (phantom) http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 32/78 16

  17. Parallel manipulandum (schema) http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 33/78 Gloves (Blackfinger, 2000) http:\\homes.dsi.unimi.it\ ∼ borghese\ A.A. 2006-2007 34/78 17

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend