14.04.2013 Views

Untitled - Departamento de Ciencias e Ingeniería de la Computación

Untitled - Departamento de Ciencias e Ingeniería de la Computación

Untitled - Departamento de Ciencias e Ingeniería de la Computación

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CAPITULO III LENGUAJES<br />

3 Introducción 44<br />

3.1 Los primeros lenguajes 45<br />

3.2 Los lenguajes actuales 45<br />

3.3 HLSL 46<br />

3.3.1 Pa<strong>la</strong>bras reservadas 46<br />

3.3.2 Tipos <strong>de</strong> datos 47<br />

3.3.3 Variables 51<br />

3.3.4 Semántica 52<br />

3.3.5 Conversiones <strong>de</strong> tipo 54<br />

3.3.6 Expresiones, operadores y sentencias 55<br />

3.3.7 Estructuras <strong>de</strong> control 56<br />

3.3.8 Funciones 57<br />

3.3.9 Effect framework 58<br />

3.4 Cg 59<br />

3.4.1 Diferencias entre Cg y HLSL 60<br />

3.5 GLSL 61<br />

3.6 Conclusiones 62<br />

3.7 Otros lenguajes 62<br />

3.7.1 Sh 63<br />

3.7.2 Cálculos <strong>de</strong> propósito general sobre GPUs 63<br />

CAPITULO IV HERRAMIENTAS<br />

4 Introducción 65<br />

4.1 Herramientas 65<br />

4.2 FX Composer 65<br />

4.2.1 FX Composer 1 66<br />

4.2.2 Standard Annotations and Semantics (DXSAS) 67<br />

4.2.3 FX Composer 2 68<br />

4.2.4 Mental Mill Artist Edition 69<br />

4.3 Ren<strong>de</strong>rMonkey 70<br />

4.4 Un ejemplo simple 71<br />

4.4.1 Variables globales 71<br />

4.4.2 Estructuras 75<br />

4.4.3 Vertex sha<strong>de</strong>r 76<br />

4.4.4 Pixel sha<strong>de</strong>r 77<br />

4.4.5 Técnicas 78<br />

4.4.6 Resultado final 78<br />

APENDICE I NIVEL DE DETALLE<br />

A1 Introducción 80<br />

A1.1 Nivel <strong>de</strong> <strong>de</strong>talle geométrico 80<br />

A1.1.1 LOD discreto 81<br />

A1.1.2 LOD continúo 84<br />

A1.1.3 LOD <strong>de</strong>pendiente <strong>de</strong> <strong>la</strong> vista 85<br />

A1.1.4 Otros esquemas 85<br />

A1.1.5 Imposters 86<br />

Página 102

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!