i started programeing becouse i want to make games that ROCK not games that are boreing , i started with C# and XNA Game Studio 2 ,it was fun but was not to last becouse i didnt like the Limitations of XNA GS2 and hence have UPGRADED to DirectX & C++ , Hope this wasent too Boreing .
Age21 years old
BirthdayNovember 3, 1991
Milkyway Galaxy \ Earth \ Africa \ South Africa \ KZN \ Durban
Hi, out of curiousity, is it possible for a C++ integer (or long integer according to what i read) to go beyond 2,147,483,647?
How do i attain it? do i need a certain library or piece of code to make it possible?
yes "long long" / "__int64" although the latter is compiler/OS/vendor specifiec as far as i know they go from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 and uses 8 bytes. big enough for you ? check out this
1. I've noticed that the texture is scaling to the closest 64x64, 128x128, 256x256, 512x512, 1024x1024 etc. If my texture is 300 in height, it's going to be scaled to 512 in height. Can I disable this somehow?
it depends, does the card support non power of two textures ? if so you can manually specify the x and y size, its what i do.
2. What do you think is better? Using Sprites or setting up vertices?
i would vote sprites for now, i think if you are going to upgrade to D3D10 / 11, it might be easier to use vertices and rotate them manually etc. because from D3D10, Microsoft dropped the fixed function pipeline.
@ryan20fun: Ok, I've checked the Debug Runtime Version. Should I do anything with the Debug Output Level?
the more debug out put D3D will Do. if you select the highest out put, you will get mesages for everything you did wtong, and forgot to do.
Where will I find this debug help in Visual Studio when I work?
D3D will output the info to the "Output" Window, the one that tells you X has been compiled.
it would be quicker to set a break point and copy the value of the HRESULT and look it up in the DirectX Error Lookup tool / google.
Sorry, but, how do I set a break point? And how can I copy the value of the HRESULT? Sorry, but I've never done this before, first time I even hear about it :/
to set a break point( in VS ) click in the light brown line on the left of the code page, or there should be a add break point here button when the break point hits, hold the mouse over the hresult and a little box should pop up, select the text in there and copy it.
It is true what everything above has been said. I did tried the same thing with my shadow mapping algorithm (CSSM) and got the same response... I've pitched idea to Crytek and instead of showing interest for the algorithm, Cevat Yerly replied with the yob offer (witch I ended up declining because working on technology that is more inferior than my home projects for mire 4.5K euros a month would probably drove me insane - it would be a waste of my time).
The thing is I want to share my algorithms with the rest but it is getting so darn hard to public them (my old mentor is helping me rewrite them properly). Basically for the PHD you only need three mayor papers so it would be a shame if I just release them without profiting in ECTS points.
you declined to work at the company thatmade the Crysis series ? im pretty shure they have very sophisticated thechnology. i would have accepted.