Discussion of article "How to create 3D graphics using DirectX in MetaTrader 5" - page 2

 
fxsaber:

Thanks, I'm not ready to upgrade the hardware.

On a PC at home, I think DX11 works, but I'm not sure I need 3D data analysis so much.

 
Igor Makanu:

On a PC at home it seems to work, but I'm not sure I need 3D data analysis so much.

I wanted to visualise a beaker.

 
fxsaber:

I wanted to visualise the glass.

That's an interesting challenge, I hadn't thought of it that way.

 
Igor Makanu:

Interesting challenge, hadn't thought along those lines

Very easy to implement via 3D histograms.

 
fxsaber:

Very easy to implement through 3D histograms.

I checked if it would work on a virtual machine (VirtualBox).

unfortunately not, the same error 5151, although the VirtualBox driver says that it supports 3D, and dxdiag also defines the system as DX11.

Apparently the developers are too tightly bound to DX11, I doubt that all DX functionality is used in MT5.

 
fxsaber:

Thanks, but unfortunately.

DXContextCreate returns INVALID_HANDLE.

The very beginning of the article says:

3D computer graphics is concerned with displaying objects in three-dimensional space on a flat monitor surface. In this case, the objects themselves or the position of the observer can change over time, so the two-dimensional picture should change, creating the illusion of image depth - rotation, zooming in, changing the illumination and so on. MQL5 allows you to create and manage computer graphics directly in MetaTrader 5 terminal using DirectX functions. For these functions to work, the user's video card must support DX 11 and shaders version 5.0.


 
code 5151 - graphics card does not support DirectX 11
 
Igor Makanu:

checked if it will work on a virtual machine (VirtualBox)

unfortunately not, also error 5151, although the VirtualBox driver says that it supports 3D, and dxdiag also defines the system as DX11.

Apparently the developers are too tightly bound to DX11, I doubt that all DX functionality is used in MT5.

You should look here in Feature Levels 11_xxxxx at least:


 
Alexander Yemelyanov:

give 3-dimensional charts as a practical application.

Metaquotes team.

In standard delivery in full sources:



Everyone else has to do the rest themselves.
 

My laptop is 8 years old (expensive when I bought it), the processor is still pretty good (Intel Core i7 2670QM, 2.2GHz)

Integrated Intel HD graphics with DX10.1 and discrete AMD Radeon with DX11. I.e. for 3D to work in MT5, I have to add MT5 to the list of games, then it switches from Intel HD to AMD Radeon. Naturally, it gets warm and the cooler is noisy.

Taking into account that the vast majority of inexpensive laptops use integrated graphics, and not the newest ones - with DX10.1, it should be considered a lower bar.