MIRALab Where Research means Creativity SVG Open 2005 University of Geneva www.miralab.ch 1 Converting 3D Facial Animation with Gouraud shaded SVG A method.

Slides:



Advertisements
Similar presentations
Combining the strengths of UMIST and The Victoria University of Manchester 15 th June 2006 Keep SMILing Institutional Web Management Workshop 10 th June.
Advertisements

Russell Taylor. Sampling Sampled a file from an on-line/on-board source Edited that file by Deleting a section of the original file Added a Fade-in section.
COMPUTER GRAPHICS SOFTWARE.
Games, Movies and Virtual Worlds – An Introduction to Computer Graphics Ayellet Tal Department of Electrical Engineering Technion.
Graphics Pipeline.
G30™ A 3D graphics accelerator for mobile devices Petri Nordlund CTO, Bitboys Oy.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Hidden Surface Removal 고려대학교 컴퓨터 그래픽스 연구실.
4/15/2017 Connected 3D Fashion Experiences Consultation Workshop - 19 January 2010, Brussels Prof. Nadia Magnenat-Thalmann & Dr. Dimitris Protopsaltou.
CS 4363/6353 INTRODUCTION TO COMPUTER GRAPHICS. WHAT YOU’LL SEE Interactive 3D computer graphics Real-time 2D, but mostly 3D OpenGL C/C++ (if you don’t.
HCI 530 : Seminar (HCI) Damian Schofield.
Slide 1 Visualization of scientific data under Linux - Techniques and data wrangling Mike Walterman, Manager of Graphics Programming, Scientific Computing.
LYU0603 A Generic Real-Time Facial Expression Modelling System Supervisor: Prof. Michael R. Lyu Group Member: Cheung Ka Shun ( ) Wong Chi Kin ( )
Introduction to SVG & Batik Presented by Shang-Ming Huang.
© 2009 Research In Motion Limited BlackBerry themes and animated graphics.
Chapter 4 Digital Multimedia, 2nd edition Vector Graphics.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Adv. Computer Graphics CS6500, Spring 2003.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
Exam.1 Si23_03 SI23 Introduction to Computer Graphics Revision Lecture.
Introduction to Computer Graphics
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
Multimedia Enabling Software. The Human Perceptual System Since the multimedia systems are intended to be used by human, it is a pragmatic approach to.
Object Orientated Data Topic 5: Multimedia Technology.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Beyond Meshes Spring 2012.
Getting started © juhanita2015.
Antigone Engine Kevin Kassing – Period
MACHINE VISION GROUP Graphics hardware accelerated panorama builder for mobile phones Miguel Bordallo López*, Jari Hannuksela*, Olli Silvén* and Markku.
Computer Visualization BIM Curriculum 03. Topics  History  Computer Visualization Methods  Visualization Workflow  Technology Background.
Invitation to Computer Science 5th Edition
Advanced Computer Graphics March 06, Grading Programming assignments Paper study and reports (flipped classroom) Final project No written exams.
CHAPTER FOUR COMPUTER SOFTWARE.
3D API By Clayton Azzopardi (Group 10). Introduction Android uses the OpenGL ES 1.0 API Android uses the OpenGL ES 1.0 API Open Graphics Library for Embedded.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Week 11 - Thursday.  What did we talk about last time?  Image processing  Blurring  Edge detection  Color correction  Tone mapping  Lens flare.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
UNIT I 2D PRIMITIVES INTRODUCTION 1 SNSCE/IT/ARUNA.
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 2 SPRING 2015 DR. MICHAEL J. REALE.
INTRODUCTION INTRODUCTION Computer Graphics: As objects: images generated and/or displayed by computers. As a subject: the science of studying how to generate.
An Application of Tetrahedrisation to From-Point Visibility Honours Project Proposal Gerard Ryan and Brendon Miszka
Object Orientated Data Topic 5: Multimedia Technology.
1 Mpeg-4 Overview Gerhard Roth. 2 Overview Much more general than all previous mpegs –standard finished in the last two years standardized ways to support:
3D Graphics for Game Programming Chapter IV Fragment Processing and Output Merging.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Converting raster images to XML and SVG The potential of XML - encoded images and SVG image files in Geomatics.
Data dan Teknologi Multimedia Sesi 07 Nofriyadi Nurdam.
Interface Opportunities for 3D Data and Media User Interface Software TechNote Panel Virginia Tech CS Fall 2002 Nicholas F. Polys Umur Yilmaz Will Lee.
Mark Nelson 3d projections Fall 2013
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
Improving the appearance of 3D OpenGL scenes
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Acquiring, Stitching and Blending Diffuse Appearance Attributes on 3D Models C. Rocchini, P. Cignoni, C. Montani, R. Scopigno Istituto Scienza e Tecnologia.
Applications and Rendering pipeline
Graphics Pipeline Bringing it all together. Implementation The goal of computer graphics is to take the data out of computer memory and put it up on the.
1 Real-Time High-Quality View-dependent Texture Mapping using Per-Pixel Visibility Damien Porquet Jean-Michel Dischler Djamchid Ghazanfarpour MSI Laboratory,
How HTML responsiveness translates to PDF
Introduction to Computer Graphics
Chapter 1 An overview on Computer Graphics
MPEG-4 Binary Information for Scenes (BIFS)
POLYGON MESH Advance Computer Graphics
Inserting Graphics, Media, and Objects
The Graphics Rendering Pipeline
Software Equipment Survey
Vectors, Normals, & Shading
Graphics Processing Unit
Computer Graphics One of the central components of three-dimensional graphics has been a basic system that renders objects represented by a set of polygons.
Chapter I Introduction
VISUAL COMMUNICATION USING ADOBE PHOTOSHOP CREATIVE SUITE 5
Introduction to spagetti and meatballs
Presentation transcript:

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 1 Converting 3D Facial Animation with Gouraud shaded SVG A method to extract 3D animated files and to convert it in SVG allowing Gouraud shading Michel Gaudry, Thomas Di Giacomo, Nadia Magnenat-Thalmann

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 2 Outline Introduction –Context –Purpose Related work –3D on mobile devices –Conversion of 3D to other media 3D to SVG converter –Context and requirements –Process –Structure –2D data extraction –Generation of SVG SVG Optimization Gouraud shading Experiments and evaluation –The pyramid –The talking head Conclusion

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 3 Introduction Context and motivation –Developement of wearable devices –User's growing interest for web graphics and 3D –Hardware limitations –Increasing availability of SVG for web and mobiles devices –Possibility to convert 3D animated faces to SVG

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 4 Introduction Purpose –Extend the authoring of SVG Enable new SVG authoring by creating scenes in a 3D environment and converting it in SVG Extend SVG rendering with motion captured sequence or highly realistic 3D rendering Extends availlability of 3D graphics with other medias –Generate animated and Gouraud shaded SVG to simulate 3D scenes Extend 3D possibilities on mobile devices Method to convert generic 3D to SVG Specific for large 3D scenes and focus on face animation and deformation Simulation of light shading with Gouraud

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 5 Related work 3D on mobile devices –Adaptations Hybrid approaches VRML Simplification of 3D –Conversion of 3D to other media To image and video –Current growing technics Java 2 Micro Edition and JSR-184 OpenGL ES X3D 3D with SVG –Advantages –Conversion from other languages

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 6 3D to SVG Converter Purpose –Convert 3D animations –Animation data from external file –Allow animation optimization and Gouraud shading Main structure –Open a 3D animation –Identification and extraction of 2D data –Generation of SVG Optimized animation Gouraud shaded image

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 7 Context and requirements Formats –VRML chosen as input –FAP for face deformation Animation inputs –User actions –Predefined Not additional software or scripts Preserve –Pixel spatial information –Pixel color information Gouraud shading –Non animated objects Real time conversion –Ease authoring of SVG animation with 3D

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 8 Structure 3 main modules –Extraction –Animation –Generation User interface 2 optional generation modules 3D rendering with Open GL GUI manager User menu Generation Optimization Gouraud VRML FAP Animation & record Extraction SVG

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 9 Process 3D to SVG –Extraction from VRML file –Get dynamic data from user or file input 2D data –2D mesh initialized with a list of path and colors per triangles –Conversion of triangles animation with gradient, position and visibility SVG generator –Pre-generation of SVG file –Generation

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva D data extraction Algorithm –Initialization of the 2D "copy": topology, index, colors static data: camera parameters –Update and Extraction 3D vertices dynamic positions Culling of 3D faces Projection of 3D to viewpoint plane Storage of computed 2D coordinates

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva D data extraction Gouraud shading –Method –In SVG Projection Visibility

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 12 Generation of SVG From application cache Animation...

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 13 Generation of SVG To represent triangles – Coordinates Visibility Filling –Single color –Gradients <animate attributeName="d" begin="abs" dur="ass" fill="freeze" vallues=" M x00 y00 L x10 y10 L x20 y20 z;... M x0n y0n L x1n y1n L x2n y2n z "/>

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 14 Generation of SVG Optimization –Problem Generated files can be big –Module Can be integrated in an application or can be used independently to optimize any SVG animation file Processed before or after generation Complementary to gzip compression –Methods Reduce length of static sequences Remove invisibles sequences

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 15 Generation of SVG Optimization methods –Reduce static sequences Remove repeated coordinates when the polygon is not moving –Remove invisible sequences Remove the tags and cut main animation in parts –Others possibilities Use relative coordinates Simplify animation path

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 16 Generation of SVG Gouraud shading –Purpose Improve realism, from flash-shaded triangles to interpolated colors vertex –Method Adaptation of the method presented in « Interactive 3D Viewer Written in SVG » (SVG Open 2003) In large scale For a 3D converted mesh –Gouraud with SVG Use of gradients and filters Superposition of triangles –Gradients 3 gradients per triangle, one from each vertex Blending of the gradients with attribute Filters – Gradient area Gradient’s path Alpha value : 100% Alpha value : 0% Triangle area

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 17 Generation of SVG Gouraud shading –Structure of a triangle T1 T4 T1 T3 T2 g path Sub-triangle feColorMatrix path Element canvas

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 18 File structure Header –SVG –Viewport Definitions –Filters –Triangles –Gradients <feColorMatrix type="matrix" values=" "/>

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 19 File structure Construction of the triangles –Subtriangle –Merge of the 3 gradient's triangles –Adjust opacity

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 20 Experiments and evaluation Files used for test –The pyramid A simple rotating polygon with user interaction –The face Simple face with 484 triangles Mesh deformation using MPEG-4 3D facial animation as input

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 21 The pyramid Results –Visual Reproduction of 3D scene Faces visibility –Size Acceptable for playback with standard SVG viewers on light devices

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 22 The talking head Results –Animation Reproduction of the original animation –Gouraud shading Results Drawbacks

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 23 Results table PyramidFace Face with Gouraud VRML size in kb231 Number of polygons8484 Duration in s Raw size in kb Optimized size in kb Optimized gzipped size in kb

MIRALab Where Research means Creativity SVG Open 2005 University of Geneva 24 Conclusion Conversion –Improvements Optimization –Interpolation of animation's path Gouraud shading