TEMA ETAPA DE TESELACIÓN EJEMPLOS CON OPENGL

Documentos relacionados
TEMA 2.4 ETAPA DE TESELACIÓN E IMPLEMENTACIÓN HARDWARE

CONTROLADORA PARA PIXELS CONPIX

Brief Introduction to Docking and Virtual Screening with Autodock4 and Autodock Tools

ADAPTACIÓN DE REAL TIME WORKSHOP AL SISTEMA OPERATIVO LINUX

74 Prime Time. conjetura Suposición acerca de un patrón o relación, basada en observaciones.

Flashcards Series 5 El Agua

Sistemas de impresión y tamaños mínimos Printing Systems and minimum sizes

Entrevista: el medio ambiente. A la caza de vocabulario: come se dice en español?

Los seres vivos/ living things. CONOCIMIENTO DEL MEDIO 3º DE PRIMARIA

Telling Time in Spanish Supplemental Hand-out

Package CFL. August 31, 2010

Este proyecto tiene como finalidad la creación de una aplicación para la gestión y explotación de los teléfonos de los empleados de una gran compañía.

Keep reading, for a list of required elements and questions to inspire you!

Creating your Single Sign-On Account for the PowerSchool Parent Portal

Gustar : Indirect object pronouns.

Creating a Dynamic Section View of an Assembly By Ing. Jorge Garza Ulloa, MC

3. Look up the red words in the dictionary and add them to your glossary.

Adobe Acrobat Reader X: Manual to Verify the Digital Certification of a Document

Vermont Mini-Lessons: Leaving A Voic

Guapo Using Ser and Tener to Describe People

Repaso de funciones exponenciales y logarítmicas. Review of exponential and logarithmic functions

TIPS: Understanding Overspray

CUANDO LA MUSA SE HACE VERBO VERSOS CORTOS POEMAS DE AMOR POEMAS DE DESAMOR Y POEMAS CORTOS SPANISH EDITION

Universidad de Guadalajara

Agustiniano Ciudad Salitre School Computer Science Support Guide Second grade First term

Qué viva la Gráfica de Cien!

Mi ciudad interesante

DIAMOND Gear Company, LTD. an ERIKS Company. Installation, Maintenance, & Operation Manual DECLUTCHABLE WORM GEAR

An explanation by Sr. Jordan

TTL GATES. INEL4207 Digital Electronics

Real Time Systems. Part 2: Cyclic schedulers. Real Time Systems. Francisco Martín Rico. URJC. 2011

MANUAL EASYCHAIR. A) Ingresar su nombre de usuario y password, si ya tiene una cuenta registrada Ó

From e-pedagogies to activity planners. How can it help a teacher?

SCADA BASADO EN LABVIEW PARA EL LABORATORIO DE CONTROL DE ICAI

In English, present progressive can be used to describe what is happening now, or what will happen in the future.

Flashcards Series 1 Saludos y Despedidas

TECHNOLOGY ENHANCED LANGUAGE LEARNING MODULE Module on Las partes del cuerpo humano

Year Group: 7 Term: Summer 2 Subject: Spanish Topic: Future Plans Special Instructions

ESTUDIO DE COBERTURA DE LA RED INALÁMBRICA: FACULTAD DE CIENCIAS SOCIALES Y HUMANAS

Objective: To create a Celebrity Family Tree by MAKING LINKS and THINKING CREATIVELY!

Los Complimentos Directos. Dircect Objects and Direct Object Pronouns

UNIVERSIDAD DE GUAYAQUIL FACULTAD DE ODONTOLOGÍA ESCUELA DE POSTGRADO Dr. José Apolo Pineda

School Preference through the Infinite Campus Parent Portal

Disfruten su verano! Hola estudiantes,

EXERCISES. product of one of them by the square of the other takes a maximum value.

Contents. Introduction. Aims. Software architecture. Tools. Example

vosotras= vosotros= él= ellos= ella= ellas= usted= ustedes= Subject pronouns are used as the subject of a sentence. In general, they tell who is being

Economía Ayudantía # 05: Ingreso Nacional e Inflación

Español 2-Beginners Tarea del verano (summer homework) Teléfono ext Código para clase de Google una280

Students Pledge: Parents Pledge:

SEO Lite. Extract the file SEO.zip in the modules folder, so that module files are inside /moules/ seo/.

Evaluación III de Materias Estándar de 5º Grado

Microsoft Access Diseño y manejo de tablas

Mesas de Operación para consolas Solidyne

Fun with infinitives

6 th Grade Spring Break Math Activities Instructions (Spanish)

TSQM (Version 1.4) Treatment Satisfaction Questionnaire for Medication

EL PODER DEL PENSAMIENTO FLEXIBLE DE UNA MENTE RAGIDA A UNA MENTE LIBRE Y ABIERTA AL CAMBIO BIBLIOTECA WALTER

Uncoupled method! Triangulaciones bintree de triángulos rectángulos para terrenos. Triangulaciones de triángulos rectángulos isósceles para terrenos

SISTEMA DE CONTROL LÓGICO PROGRAMABLE (PLC) SOBRE HARDWARE EMBEBIDO Y BAJO SISTEMA OPERATIVO LINUX

Connecting Cloudino Connector to FIWARE IoT

Matemáticas Muestra Cuadernillo de Examen

How can we place ourselves in perspective? Cómo podemos nosotros ponernos en perspectiva?

Learning Chapter 2: Reasoning and Proof. Monday, September 21 st, 2015 Period 6

manual instrucciones htc desire Quick Start Guide This manual instrucciones htc desire is as independently produced user guides.

Agustiniano Ciudad Salitre School Computer Science Support Guide Second grade Fourth term

Some examples. I wash my clothes, I wash the dishes, I wash the car, I wash the windows. I wash my hands, I wash my hair, I wash my face.

Setting Up an Apple ID for your Student

MANUAL DE INSTRUCCIONES CAJA FUERTE CF-4333

Flashcards Series 3 El Aeropuerto

ASI HABLO ZARATUSTRA UN LIBRO PARA TODOS Y PARA NADIE SPANISH EDITION

Natural Sciences 3. Module 3: Matter (Materia.)

Instructor: She just said that she s Puerto Rican. Escucha y repite la palabra Puerto Rican -for a man-.

Organización de Aviación Civil Internacional GRUPO DE EXPERTOS SOBRE MERCANCÍAS PELIGROSAS (DGP) VIGESIMOQUINTA REUNIÓN

Circuitos Básicos con OAs

Nombre Clase Fecha. 1. Write the name of each object in Spanish

Speak Up! In Spanish. Young s Language Consulting. Young's Language Consulting. Lesson 1 Meeting and Greeting People.

PELICULAS CLAVES DEL CINE DE CIENCIA FICCION LOS DIRECTORES LOS ACTORES LOS ARGUMENTOS Y LAS ANECD

The 10 Building Blocks of Primary Care

ARTICULO: 5810 Sistema de Posicionador Digital para Actuador Eléctrico Digital Positioning System for Electric Actuator

Vocabulario: Realidades 2B

IRS DATA RETRIEVAL NOTIFICATION DEPENDENT STUDENT ESTIMATOR

Kuapay, Inc. Seminario Internacional Modernización de los medios de pago en Chile

Manejo de Riesgos de Especies Invasivas Planeación HACCP The 5 Steps of HACCP Stewart Jacks

Steps to Understand Your Child s Behavior. Customizing the Flyer

Puede pagar facturas y gastos periódicos como el alquiler, el gas, la electricidad, el agua y el teléfono y también otros gastos del hogar.

(GUÍA_DE_ESTUDIO) Recuerda los verbos regulares y stem-changing verbs.

PROYECTO INFORMÁTICO PARA LA CREACIÓN DE UN GESTOR DOCUMENTAL PARA LA ONG ENTRECULTURAS

Reducción de Riesgos En Deep Web

TU EMBARAZO Y EL NACIMIENTO DEL BEBE GUIA PARA ADOLESCENTES EMBARAZADAS TEEN PREGNANCY AND PARENTI

Sistema de Control Domótico

Plan de negocio para la explotación de un sistema de alquiler de bicicletas en la Comunidad de Madrid

Sierra Security System

Objetivo: You will be able to You will be able to

5.2 LA FUNCION EXPONENCIAL. Copyright Cengage Learning. All rights reserved.

Certificación Digital en PDF Signer Online. Digital Certification in PDF Signer Online.

Radiación Externa. External Radiation. Radiación Interna. Internal Radiation

HTML 5. Que es HTML5 07/04/2011

Package RcmdrPlugin.UCA

V.- V.-El El manejo de de las las Interrupciones

Transcripción:

TEMA 2.4.1 ETAPA DE TESELACIÓN EJEMPLOS CON OPENGL Curso 2013 / 14 Procesadores Gráficos y Aplicaciones en Tiempo Real Profesores: David Miraut y Óscar D. Robles GMRV 2005-2014 Febrero 2014 Procesadores Gráficos -- Máster en Informática Gráfica, Juegos y Realidad Virtual -- ETAPA TESELACIÓN 13/14 1/20

Índice Curva de Bézier Superficie de Bézier Subdivisión de toda una esfera Teselación Phong Ejemplos tomados de la asignatura Advanced Topics in Graphics del Dr. Burton -- CSE4431 (Univ. York) 2/20

Bezier Curve Example 3/20

Bezier Curve Example use the tesselation shader to subdivide the curve into line segments that can be rendered possible to control the number of vertices based on curvature, screen area, etc. 4/20

Bezier Curve Example 5/20

Bezier Curve Example tesselation control shader #version 400 #extension GL_ARB_tessellation_shader: enable uniform float uouter1; layout(vertices = 4) out; // number of vertices in output patch void main() { } index of the vertex being processed by this invocation of the shader gl_out[gl_invocationid].gl_position = gl_in[gl_invocationid].gl_position; gl_tesslevelouter[0] = 1.; gl_tesslevelouter[1] = uouter1; runs once for each input patch vertex output patch vertex position = input patch vertex position 6/20

Bezier Curve Example tesselation evaluation shader #version 400 #extension GL_ARB_tessellation_shader: enable runs once for each output patch vertex generated by the TPG layout(isolines, equal_spacing) in; void main() { vec4 p0 = gl_in[0].gl_position; vec4 p1 = gl_in[1].gl_position; vec4 p2 = gl_in[2].gl_position; vec4 p3 = gl_in[3].gl_position; assign incoming vertex positions to separate variables for readability number of vertices in the input patch is stored in gl_patchverticesin 7/20

Bezier Curve Example tesselation evaluation shader (cont) float u = gl_tesscoord.x; 3-component floating-point vector holding the (u, v, w) coordinate of the vertex being processed by the TES float b0 = (1. u) * (1. u) * (1. u); float b1 = 3. * u * (1. u) * (1. u); float b2 = 3. * u * u * (1. u); float b3 = u * u * u; } gl_position = b0 * p0 + b1 * p1 + b2 * p2 + b3 * p3; 8/20

Bezier Surface similar to Bezier curve, except need two parameters u and v 16 control points instead of 4 parametric matrix equation see Dr. Bailey s tessellation shader slides 27-35 9/20

Whole-Sphere Subdivision a tessellation shader can easily be used to create a sphere given only its location and radius a sphere can be parameterized using two angles just use a quad 0 v 1 π θ π 0 u 1 π π φ 2 2 10/20

Whole-Sphere Subdivision the outer tessellation levels are useful here low tessellation on the two outer edges at the poles high tessellation on the two outer edges that are meridians see Dr. Bailey s tessellation shader slides 36-40 0 v 1 π θ π 0 u 1 π π φ 2 2 11/20

Adapting to Screen Coverage so far we have been using inner and outer tessellation levels that are passed in as uniform variables this is somewhat inflexible it would be useful if the tessellation shader could determine an optimal level of tessellation one idea adjust tessellation based on the area of the screen covered TCS needs to be able to compute or guess what the final patch will look like on the screen for this to work 12/20

Adapting to Screen Coverage for the whole-sphere example this is straightforward compute the extents of the three axes of the sphere in NDC or screen coordinates use the extents to set the number of outer tessellation levels for the meridian edges see Dr. Bailey s tessellation shader slides 41-44 13/20

Adapting to Screen Coverage 14/20

Adapting to Screen Coverage 15/20

Adapting to Screen Coverage 16/20

Adapting to Screen Coverage 17/20

PN Triangles a method of tessellating objects made up of triangles where the per-vertex normal vectors are known (or can be calculated) useful when your models are made up of triangles instead of smooth patches (like Bezier or B spline surfaces) basic idea use the vertices and normal vectors of the input triangle to compute a displacement field that produces a Bezier triangle see Dr. Bailey s tessellation shader slides 45-51 see jdupuy s blog posting 18/20

Phong Tessellation essentially a geometric version of Phong normal interpolation where the vertex positions are interpolated (instead of the normal vectors) http://perso.telecom-paristech.fr/~boubek/papers/phongtessellation/ 19/20

Phong Tessellation simpler than PN triangles and produces similar results see jdupuy s blog posting for a shader see original paper for full details http://perso.telecom-paristech.fr/~boubek/papers/phongtessellation/ 20/20