3D modeling - Informatica Umanistica 25/02/2014 Corso di Laurea in Informatica Umanistica AA 2013-2014 Modellazione 3D Marco Tarini General info Marco Tarini Google for “marco tarini”, 1st page Follow “teaching” (bottom) Follow “Modelling 3D”: course page: materials, slides, links, announcements. Follow “contact” (bottom) Mail, tel, etc… Marco Tarini - Pisa - A A 2013/2014 1 3D modeling - Informatica Umanistica 25/02/2014 Intro 3D modelling 3D modelers 3D models 3D Model A mathematical representation of a 3D object Marco Tarini - Pisa - A A 2013/2014 2 3D modeling - Informatica Umanistica 25/02/2014 Which 3D objects are modelled? Any! a spoon a house a bicycle a (live) cat a volcano a tree a forest geographical Europe a window glass snow falling a solar system a melecule a spaceship an explosion a piece of garment a spider web a flame … 3D models categorization: Application domain Cultural Heritage Medicine Architecture Advertisement Manufacturing industry e.g. CAD Marco Tarini - Pisa - A A 2013/2014 Telecommunications Scientific visualization Virtual Reality Entrainment Cinema Video games 3 3D modeling - Informatica Umanistica 25/02/2014 Application domain: Cultural Heritage Application domain: Cultural Heritage Cultural Heritage Marco Tarini - Pisa - A A 2013/2014 4 3D modeling - Informatica Umanistica 25/02/2014 Application domain: Medicine Diagnosis support Training Monitoring Simulation Research 3D models categorization: Application domain Cultural Heritage Medicine Architecture Advertisement Manufacturing industry e.g. CAD Marco Tarini - Pisa - A A 2013/2014 5 3D modeling - Informatica Umanistica 25/02/2014 Application domain: Games 3D models categorization: Application domain Cultural Heritage Medicine Architecture Advertisement Manufacturing industry e.g. CAD Marco Tarini - Pisa - A A 2013/2014 Telecommunications Scientific visualization Virtual Reality Entrainment Cinema Video games 6 3D modeling - Informatica Umanistica 25/02/2014 General schema informazione, concetto, idea 3D modelling rendering /visualization 3D model Immagine/i preprocessing modelling final application Example: 3D modelling for Cultural Heritage Range scanning (laser scanning) A manufact Polygonal 3D Mesh rendering Semplificazione, flitering… Immagine/i kiosk in museum Marco Tarini - Pisa - A A 2013/2014 7 3D modeling - Informatica Umanistica 25/02/2014 Example: 3D models for games Artistic modeller 2D concept (using e.g. 3Dstudio max, Maya, Blender…) 2D concepts Mesh low-poly + textures UV mapping rigging… 2D concepts / Sketches rendering /visualizzazione Immagine/i 15 videogame Rendering Parola utilizzata in molti contesti Modello rendering Immagine descritto da un insieme di primitive Marco Tarini - Pisa - A A 2013/2014 8 3D modeling - Informatica Umanistica 25/02/2014 Rendering Example: in a web browser rendering ... one image HTML source (+ image, ccs, etc) Web page model 3D Rendering Scena 3D rendering Immagine ... 3D model Marco Tarini - Pisa - A A 2013/2014 9 3D modeling - Informatica Umanistica 25/02/2014 3D models categorization: Intended use Real time applications Off line applications 3D models categorization: intended use Real time applications Marco Tarini - Pisa - A A 2013/2014 Off line applications 10 3D modeling - Informatica Umanistica 25/02/2014 3D models categorization: Origin Hand Designed Captured Dino, scanned by artec3d Scanning 3D Models Tecnologie per ottenere: modelli digitali 3D a partire da: oggetti reali 3D scanning Marco Tarini - Pisa - A A 2013/2014 11 3D modeling - Informatica Umanistica 25/02/2014 3D models categorization: Capabilities Static Animated 3D models categorization: Capabilities Static 3D Marco Tarini - Pisa - A A 2013/2014 Animated 3D + T model includes animations model includes deformations 12 3D modeling - Informatica Umanistica 25/02/2014 3D models categorization: Capabilities Static lighting Relightable 3D models categorization: Structure Volumetric models Marco Tarini - Pisa - A A 2013/2014 Surfaces 13 3D modeling - Informatica Umanistica 25/02/2014 3D models categorization: Structure Volumetric models Surfaces …Etc 3D models categorization: Features Does model include… Materials Colors Shininess factors Transparency levels Accurate Normals … Marco Tarini - Pisa - A A 2013/2014 14 3D modeling - Informatica Umanistica 25/02/2014 3D models categorization: Resolution High Res Low Res 3D models categorization: Application domain Cultural Heritage Medicine Architecture Advertisement Manufacturing industry e.g. CAD Marco Tarini - Pisa - A A 2013/2014 Telecommunications Scientific visualization Virtual Reality Entrainment Cinema Video games 15 3D modeling - Informatica Umanistica 25/02/2014 This course 3D models what they are including internals how they are built / obtained production pipelines handling for the various category / applications formats, practices, libraries… typical uses Video Games (Interactive Electronic Entratainment) ~35 anni “Space Invaders” (Taito, 1978) Marco Tarini - Pisa - A A 2013/2014 “The Last of Us” (Naughty Dog, 2013) 16 3D modeling - Informatica Umanistica 25/02/2014 Categorie: per gameplay Puzzle game Board game Color matching Hidden object Trivia game … Card games … Strategy 4X RTS MOBA / MMOG Strategy Action-RTS Tower defences Action game Beat’em up / hack’n’slash Fighting Pinball Platform Maze Shooter Vehicle simulation Driving simulator Flight simulator FPS MMO FPS LightGun Shoot’em up Rail shooter 3rd person Amateur Combat Space ... Racing game Vehicular combat Role-playing games Action-Adventure RPG (occidentali, orientali) Sandbox RPG MMOPRG Roguelikes Action RPG Fighting game Stealth Survival horror Exploration PoP / Tombrider Adventures IF - Interactive Fiction Real time 3D adv Text Sport games Simulation / management Categorie: per fasce utenti casual games Marco Tarini - Pisa - A A 2013/2014 VS hard core games 17 3D modeling - Informatica Umanistica 25/02/2014 Categorie: per piattaforma Arcade PC stand-alones Aka “desktop app” (“computer game” propriamente detto) Win, Mac, Linux… Console Wii, PS, XBox … Browser html5, webGL, unity, flash… Mobile devices Android, iDevices, PSP … (NB: parliamo di engine non di gameplay) 3D engine 3D gameplay 2D gameplay 2D engine Marco Tarini - Pisa - A A 2013/2014 18 3D modeling - Informatica Umanistica 25/02/2014 Game Dev-Teams Tecnici Artisti Game Dev-Teams Tecnici Artisti game assets Marco Tarini - Pisa - A A 2013/2014 19 3D modeling - Informatica Umanistica 25/02/2014 Intro: game assets! (aka game contents) 3D data 2D art models textures materials shaders animations collision objects etc screen splashes backgrounds GUI / HUD elements [ sprites & tile-sets ? ] fonts etc text audio dialogues trees messages translations etc music sound fxs ambient sounds voice overs etc etc: scripts stats levels etc video cut-scenes, intros etc Game Dev-Teams Tecnici sviluppano customizzano inegrano Artisti Marco Tarini - Pisa - A A 2013/2014 game tools game engine 20 3D modeling - Informatica Umanistica 25/02/2014 Game Tools game tools game assets digital artists game game assets game engine digression: Game [MOD] Development (public) game tools MOD assets game fans! game MOD assets Marco Tarini - Pisa - A A 2013/2014 game engine 21 3D modeling - Informatica Umanistica 25/02/2014 Game assets! (aka game contents) 3D models meshes textures materials shaders animations collision objects scenes etc audio music sound fxs ambient sounds voice overs etc video cut-scenes, intros etc 2D art screen splashes backgrounds GUI / HUD elements (e.g. buttons, bars), [ sprites & tile-sets ? ] fonts etc text dialogues trees messages translations etc etc: scripts, stats, levels… Parte 3D dei game assets (3D models nei games) 3D Meshes i.e. tri-meshes with: per vertex attrib Animations vertex animations skeletal animations normals, color, AO, … LODs “uv-mapping” keyframes cyclic animations face-morphs, … “rigging” Materials lighting model stats / flags textures RGB maps normal maps alpha maps … shaders Skeletons Collision objects hit-boxes bounding objects Particle systems Environments 3d scenes skydomes env. maps scene props vertex, fragments, … Marco Tarini - Pisa - A A 2013/2014 22