[wined3d] vertex declarations

Oliver Stieber oliver_stieber at yahoo.co.uk
Mon Jun 13 10:13:56 CDT 2005


This patch adds support for Vertex declarations.

The parsing of vertex declarations has been tidied up,
d3d8 declarations are
converted into d3d9 declarations so that only one type
of declaration need to
be managed in the code. Vertex declarations are no
longer parsed into FVF's
since the fvf doesn't support everything vertex
declarations support.

There is a minor issue in that vertex shader constants
provided by d3d8 declarations aren't
parsed properly yet, but this will be impmeted with
vertx shaders.


With this patch the following demos now run correctly.

from http://www.codesampler.com/dx9src.htm
dx9_primitive_types
dx9_texture
dx9_vertex_data
dx9_multitexture
dx9_texture_mipmapping
dx9_indexed_geometry
dx9_texture_filtering
dx9_initilization
dx9_texture_subloading
dx9_offscreen_rendering
dx9_1pass_emboss_bump_mapping
dx9_2pass_emboss_bump_mapping
dx9_tokamak_chailIGHTSn
dx9_effect_simple
dx9_texture_dot3_blending
dx9_multiplevertexbuffers
dx9viewmatrix
dx9transforms
dx9fonts
dx9viewports
dx9material
dx9_point_light
dx9_spot_light
dx9lighting
dx9_dot3_bump_mapping
dx9_alpha_blending_texture


from http://triplebuffer.devmaster.net/tutorials.php

tb_dx9_04
tb_dx9_06
tb_dx9_07
tb_dx9_08
tb_dx9_10
BumpMapping


from
http://www.clootie.ru/delphi/download_dx90.html#Direct3D
CreateDevice
Verticies
Matricies
Textures
Lights



	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wined3d-vertexdeclarations-os-2.patch
Type: application/octet-stream
Size: 65130 bytes
Desc: 1273709784-wined3d-vertexdeclarations-os-2.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050613/0cbd161e/wined3d-vertexdeclarations-os-2.obj


More information about the wine-patches mailing list