Jump to content
  • Advertisement
Sign in to follow this  
Overburn

FVF Question

This topic is 3696 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Your pd3dDevice pointer is null, probably because CreateDevice() is failing because your card doesn't support something the tutorial assumes. What do the Debug runtimes tell you?

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!