Mise à jour des tutoriaux pour la 3.1 (suite)

Les tutoriaux 4 à 6 on été réécrits à la sauce 3.1 eux aussi :

http://msmvps.com/blogs/valentin/archive/2007/03/30/tutoriaux-xna-sommaire-g-n-ral.aspx

Merci de vos commentaires

A bientôt sur ce Blog !

Valentin

Published Mon, Jun 22 2009 12:03 by valentin
Filed under: ,

Comments

# re: Mise à jour des tutoriaux pour la 3.1 (suite)

Sunday, August 09, 2009 7:08 AM by P. Christophe

Salut Valentin.

Voila travaillant actuellement beaucoup sur les shaders, je pêne un peu a passer une certaine quantité des variables (avec semantique) du vertex au pixel shader. existe donc t-il des semantiques autre que les TEXCOORDX pour pouvoir effectuer ce genre de tache?

Voila merci :)

# re: Mise à jour des tutoriaux pour la 3.1 (suite)

Sunday, August 09, 2009 7:21 AM by valentin

Oui, les voici listés :

NOM, type, Description

WORLD, WORLDMATRIX, MWORLD, MATWORLD  matrix4x4  World matrix  

VIEW, VIEWMATRIX  matrix4x4  View matrix  

PROJ, PROJECTION, PROJECTIONMATRIX, PROJMATRIX  matrix4x4  Projection matrix  

WORLDVIEW, WORLDVIEWMATRIX, WV, WVIEWMATRIX  matrix4x4  World-view matrix  

WORLDVIEWPROJ, WVP, WORLDVIEWPROJECTION, WORLDVIEWPROJECTIONMATRIX  matrix4x4  World-view-projection matrix  

VIEWPROJ, VIEWPROJECTION, VIEWPROJMATRIX, VIEWPROJECTIONMATRIX  matrix4x4  View-projection matrix  

VIEWI, VIEWINVERSE, VIEWINVERSEMATRIX, VI  matrix4x4  Inverse view matrix  

WORLDIT, WORLDINVERSETRANSPOSE, WORLDTRANSPOSEINVERSE, WIT  matrix4x4  Transposed, inverse world matrix  

VIEWIT, VIEWINVERSETRANSPOSE, VIEWTRANSPOSEINVERSE, VIT  matrix4x4  Transposed, inverse view matrix  

CAMERAPOS, CAMERAPOSITION, VIEWPOS, VIEWPOSITION  float3  Camera position  

TIME, TIMECOUNT, TICKCOUNT, SECONDS  float  Simulation time  

LIGHTDIRx_DIRECTION  float3  Directional light ‘x’ direction  

LIGHTPOINTx_POSITION  float3  Point light ‘x’ position  

LIGHTDIRx_COLOR  float4  Directional light ‘x’ diffuse color  

LIGHTPOINTx_COLOR  float4  Point light ‘x’ diffuse color  

LIGHTPOINT_NUM  int  Active point light count  

AMBIENT  float4  Material ambient color  

DIFFUSE  float4  Material diffuse color  

EMISSIVE  float4  Material emissive color  

SPECULAR  float4  Material specular color  

SPECULARPOWER  float  Material specular power  

TEXTUREx  texture  Texture stage ‘x’

FOGSTART  float  Fog (linear) start  

FOGEND  float  Fog (linear) end  

FOGDENSITY  float  Fog (exp/exp²) density  

FOGCOLOR  float3  Fog color  

FOGTYPE, FOG_TYPE  int  Fog type  

# re: Mise à jour des tutoriaux pour la 3.1 (suite)

Sunday, August 09, 2009 7:41 AM by P. Christophe

Sa me fait pas mal de lecture lol

Merci :)

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Powered by Community Server (Commercial Edition), by Telligent Systems