T&L in DX7

Started by
3 comments, last by silvero 24 years, 5 months ago
Don't you just tell DirectX that you want a T&L HAL, not just HAL device when you enumerate them? I think you can specify this in D3DXCreateContext() in the deviceIndex member with enum value D3DX_HWLEVEL_TL. Just a thought.
Advertisement
You will have to use DirectX7's own transforming engine. (Do not transform and light the vertices on your own). Then you will be able to use H T&L by enumerating your GeForce card.
The last truth is that there is no magic(Feist)
what's the dx7 transforming eengine and where in the sdk is it?
how do I have to perform the matrixtransformation to benefit from hardware t&l in future cards like geforce? does the class D3DXMatrixStack this job (e.g D3DMatrixStack::Rotate())? Has sb already tested this on a geforce?
You set the TransformStates(World,View,Matrix) by using the IDirect3DDevice::SetTransform()-function. When you set these states DirectX performs the transformation for you. You just have to change the matrices and not all vertices.
The last truth is that there is no magic(Feist)

This topic is closed to new replies.

Advertisement