I finally absorbed the pickup part today. Also completed a lot of miscellaneous, the most I am proud of is the completion of the Flexible object chain list, can be any time, any additions and deletions to change objects. This mechanism is simple, is to add an identity variable, indicating that the object is not extinct, the processing method is similar to the PV operation, mainly two independent object interaction problems (linked list and object individual). Whining: This is really tricky in object-oriented languages, but if you use C, there's no such thing. I personally still like C language better than C + +, because my master is C language. Ashamed
In addition to the UI part did a preliminary exploration, the results are not ideal, this aspect d3d really not as good as d2d, if really want to do practical engine, that must be used d2d, so see this article cheese, it is recommended not tangled in the UI, did not learn d2d words, do an auxiliary, beta version of the simple UI, You can use it on the line. When it comes to the UI, I remember the history of blood and tears from DX11. Put some pictures of yourself DX11.
Learning experience Sharing:
At that time I took a lot of detours, did not find the Chinese version of the DX11 textbook (domestic is some, the following I will introduce how to find), the use of textbooks is not dragon book, but the online very easy to search the Chinese version of the "DirectX 11 Game Programming Primer ", this book is Ben Ben, The knowledge point in the book is very shallow, almost can be said to be a sentence; What Steiger surface, specular map, normal map, and so on are all a sentence. If the next evaluation of this book is: Very unsuitable for beginners without a certain foundation. At that time, I think this book is good, according to the example of the book constantly expanding knowledge, where to go online to turn over information. At that time around the environment is very very impetuous, leading to their own pursuit of fast, not the heart to a good deep research knowledge, English documents can not be chewed down, in order to understand, I combined with DX10 Dragon book look (DX10 and DX11 There is a large part is figured, can be moved directly to use, But some of the different places are very deadly ). It takes more time to come down than to read Liuzhou books directly.
DX11 not support text, this is not prompted me to give up DX11 reasons, eventually led me to DX10 reason, is the hardware limitations, right, my graphics card only support to DX10. When the DX11 effect frame was used, the computer exploded directly. And if not, update the value of the variable in the FX file is a very, very maddening thing! There are many different points, can also be found on the Internet, if you create a device test, you will find that the DX10 graphics card using wrap or even soft, poor efficiency is poor, or even not up to DX10 level. So it is recommended that cheese in the first DX11 before the hardware testing, weigh their choices. new technology is not necessarily the best fit for you. But there are many similarities between DX10 and DX11, and it is not a difficult task to DX11 in the future.
Of course now most of the cheese computers should keep up with the times, and DX11 should be supportive. So we recommend a good place-" Shanghai, the Middle School physics group ." The next few words, witty you will find everything you want.
The pursuit of crash is a very failure of the idea, young people are radical, any learning is gradual, I have his secret place, a place without carding, the quality of the back is not to be sure is tofu slag.
******************************************************
Here's The diary.
DX10 Engine program 0313 (with collateral)