Home > other >  About directx game development
About directx game development

Time:09-21

I recently learning virtual campus directx game development c + + tutorial,
While on a debugging pixels once more frames, especially further, don't know why
My computer configuration is arguably no problem

CodePudding user response:

CodePudding user response:

For more than the number of points, of course, frame rate will decline... So it is a good computer, use Vertex array object and Vertex buffer object technology can effectively improve the efficiency of rendering, but also more than 1000 w point also can let the computer card to blast,

CodePudding user response:

There is something wrong with the logic to write,,,,,,,,,
First you have to have a frame rate of the benchmark
Really, I met your colleague this question I first ask not how to solve the
The first thing I really ask your frame rate is how to calculate
(most of the programs, based on the judgment, there are bugs, problems, or a machine, finally found or programmer at the start of the program logic is wrong)
You know what I mean, if your frame rate is wrong, could you just detection in the cycle, cycle, your frame rate of the burst, machine, or a run well, actually still very efficient
(or perhaps, you are not rule out application experience)
But 1) you so from the beginning to write 3 d, just like I do commercial game ahead of detours,
2) you not more mainstream commercial engine
Therefore you may be just a student

I now in the unity3d engine, for example, there is a profiler, do frame rate detection, not only check the frame rate almost all factors that can affect the 3 d engine monitoring, and more hanging, data visualization, completely can suspend (profiler and interactive editor)
Such debugging, I also spent a month, just a little bit of fur, but will get better

http://blog.csdn.net/avi9111/article/details/72848905

CodePudding user response:

In fact you do than me
Before I get a XX panda mobile game business source
But the client is snail their engine
The somebody else is also based on directx, still naked, even I compile client, basically even installed dir SDK are not
At least you can install and run up,,, good
What the hell and the opengl

CodePudding user response:

Pixels less number of frames is normal, a little bit more started to go wrong, don't know whether I drive incompatible problem

CodePudding user response:

Depending on you to judge where is the frame rate of the code? At least in the BBS you want to post up, visual you didn't, somebody else unity3d framework is stable, each frame will call this method (of course also can call a lot of other method)
Void OnGUI ()
{
Pixcel * p=new Pixcel;//logic 1, with a little bit of c + + writing, actually not to write c #
P - & gt; load();
The Debug log (Time. DeltaTime);//frame encapsulation good practical method, can know the time on a frame, can be judged logic 1 or 2 cause of card,
P - & gt; Drawcall (1, 2);//logical 2
}


//it is important and profilter this tool, the efficiency of the visualization, framework also has a lot of people can write a third-party components, I would also like to write a, specifically FOR the special effects or model testing,,,,,,,,,,

//and, more importantly, you just said the directx very card, you are the architect? I made so many years I also claimed to be a program ape, is a program Posting some apes, hiding anything boring (touched a 285 university of colleagues, I am really don't want to see his code, but always want to grow a process, I wish someone see my code, give some opinions, but at that time, even no network, can only steal 1 time every day to see above the CSDN people how to write, now those people are not here, and now source code, framework, all over the ground won't go to learn how to knead)

CodePudding user response:

Post code does not need too much, you put the question clear, 1, 2 other line, we are professional

CodePudding user response:

This two days I want to do with Dicuz a website, but it's there will be a lot of pit, according to the website to also is not what you want, not practical, (you do it is a similar story with directx), also should be able to solve problems, is I don't want to spend too much time on it, and Daniel show mature Dicuz frameworks and tools

CodePudding user response:

Personally feel that the best tutorial Introduction to DX or DX12 dragon book "the Introduction to 3 d Game Programming with DirectX." "
  • Related