Jump to content

  • Log In with Google      Sign In   
  • Create Account


T&L in DX7


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 silvero   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 November 1999 - 09:41 AM

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?

Sponsor:

#2 JD   Members   -  Reputation: 208

Like
Likes
Like

Posted 06 November 1999 - 09:33 AM

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.

#3 Yoshi   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 November 1999 - 10:15 AM

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.

#4 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 24 November 1999 - 09:25 AM

what's the dx7 transforming eengine and where in the sdk is it?

#5 Yoshi   Members   -  Reputation: 122

Like
Likes
Like

Posted 24 November 1999 - 09:41 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS