Sign in to follow this  
Overburn

FVF Question

Recommended Posts

Hello.. erm.. i have a question.. heard that FVF is quite obsolete... is it true? if it is... then what should i use instead? *i'm a n00b at directx right now.. would it be better to learn fvf right now, while i'm learning directx, cos i don't seem to find any tutorials that don't use fvf...

Share this post


Link to post
Share on other sites
nevermind... found out why...
:D
the initfvf function was called before the initd3d function.. and it must have generated some kind of memory fault or sth... anyways... so that i wouldn't open another thread i remade this one :D

Share this post


Link to post
Share on other sites
FVF codes don't exist in D3D10, and they don't really play well with shaders either. The best thing to do is to use Vertex Declarations instead. A lot of the SDK samples have usage examples of these.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this