It is not much different with how Riemer does it, but I had issues with his method, but this is going to be down to the fact that YOU the developer need to detect the capabilities of the graphics card your software is going to run on.
I may at some point post some code on how to go about detecting the card settings you can use at run time, what I will probably do is break down and simplify (if I can) the samples that can be found with the DirecX9 SDK.
Anyway, this is what my C++ terrain implementation looks like:
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.