Sign in to follow this  
TWild

CD3DFont

Recommended Posts

I'm following along Intro to 3D Game Programming with DirectX 9.0 by Frank Luna and am trying to use the CD3DFont class. I am using the April 2006 version of the SDK and can't find the following files to add to my project: d3dfont.h, d3dfont.cpp, d3dutil.h, d3dutil.cpp, dxutil.h, dxutil.cpp. He states that they should be in the Include and Src folders located in \Samples\C++\Common folder. My Common folder has no subfolders :S Can anyone help?

Share this post


Link to post
Share on other sites
TWild,

Unless I'm mistaken Microsoft removed that sample framework from DirectX 9c, in favor of the new DXUT framework. The new framework contains much of what the old did, and is arguably easier to use, however certain things got lost in the transition, including their Font support.

Largely this is because the ID3DXFont class has improved dramatically in performance and generally the preferred method for using fonts now. See the Text3D sample in the DirectX SDK.

Cheers!

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