<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
&gt; That said, GL_ARB_vertex_blend is not very common. Only MacOS supports it, and <br>&gt; it is software emulated there. The Linux ATI driver used to support it until <br>&gt; ATI switched to a different codebase. So this constant ends up beeing 0 <br>&gt; almost everywhere. The extension was dropped in favor of vertex programs, <br>&gt; since vertex programs appeared shortly after vertex blending and no gl app <br>&gt; was using it at this time. On Windows drivers emulate vertex blending using <br>&gt; vertex shaders.<br>&gt; <br>&gt; I am not sure if 0 is the correct value to return in case of no vertex <br>&gt; blending support. What happens if you set it to 1? 1 would be a reasonable <br>&gt; default as well, because we're still able to transform vertices with one <br>&gt; matrix(ie, unblened transformation). It could also be that this game silently <br>&gt; expects vertex blending to be supported: For one part, all dx8+ cards support <br>&gt; this feature on Windows, and on older cards Windows has software vertex <br>&gt; processing which can perform blending in a slow, but working fashion.<br>&gt; <br>&gt; I have a patch for software emulated vertex blending somewhere, but I dropped <br>&gt; it because I didn't come across an app which uses this function. Maybe its <br>&gt; time to revive it, and continue the work on a fixed function replacement <br>&gt; shader.<br><br>
Even on Windows, no OpenGL implementation that I know of supports GL_ARB_vertex_blend other than ATI's (and as you've pointed out, the new OpenGL stack that the Radeon HD's use on Windows and that all Radeons now use on Linux has dropped it).<br>
<br>History lesson:&nbsp; Both GL_ARB_vertex_blend and D3D vertex blending are historically tied to a specific piece of hardware: the original ATI Radeon (GL_ARB_vertex_blend started out as GL_ATI_vertex_blend).&nbsp; Presumably, due to ATI's historically spotty OpenGL driver performance (okay, "historically" is being kind to ATI), any game developer who wanted to use the Radeon's capabilities targeted their game for D3D rather than OpenGL. &nbsp; Consequently, when nVidia released the GeForce 3 (the first video card with vertex shaders) they did implement D3D vertex blending via shaders in their D3D driver (since games were using it, and it wouldn't do if the "new" GF3 couldn't handle effects that the "old" Radeon could), but they didn't bother to implement it in their OpenGL driver, even though ATI had gotten it ARB-approved some months before the GF3 came out,  since no games/apps were using it.&nbsp; The other video hardware makers (the few that were left by the DX8 era) followed NV's example: implement D3D vertex blending via shaders or in software (for entry-level and onboard hardware without vertex shaders), but don't bother with GL_ARB_vertex_blend since no one uses it.<br><br>The upshot is that GL_ARB_vertex_blend is an ARB extension In Name Only; it's effectively ATI-only--and even ATI has abandoned it now.&nbsp; On the other hand, D3D vertex blending is universally available on modern and semi-modern hardware regardless of maker, and it looks like even some D3D9 games still use it instead of using vertex shaders.&nbsp; So it's better for WINE to implement vertex blending via vertex programs rather than depending on GL_ARB_vertex_blend.<br><br>--AWJ--<br><br /><hr /> <a href='' target='_new'></a></body>
</html>