Archived

This topic is now archived and is closed to further replies.

f8k8

Should I use D3DX?

Recommended Posts

Just wanted to know whether people use D3DX or not. I know it''s very helpful, but makes my programs quite big. It is good for building an application to test stuff, but do people use it in demos/games or not? --------------------------------------- Let''s struggle for our dream of Game! http://andrewporritt.4t.com

Share this post


Link to post
Share on other sites
Shader compiling can be done manually, some header of the SDK contained all the opcodes and register mappings (don't remember which).
In fact, all D3DX functionality can be duplicated, but since it is extremely optimized for speed, i see no reason not to use it.
It'll take a while if one decides to write such a library oneself

-Nik

EDIT:
d3d9types.h contains the shader compiler related stuff, for anyone who's interested.

[edited by - Nik02 on November 16, 2003 8:41:08 AM]

Share this post


Link to post
Share on other sites