
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The question of this article is "3D modelling in MQL5".
I agree that this implementation with the help of objects (more precisely straight line segments), has some advantages over canvas, if you want to create a surface grid with the number of nodes say up to 10000 (100 x 100 cells), further on include terrible brakes and disproportionate memory consumption, at least, only on the names of objects. I'm not talking about the absence of curved lines, the possibility of colour gradient as in lines and fills. The main advantage is strict binding to graphics. It is possible that the speed will be higher when the grid size is less than 30*30 (by "eye") (~ 1000 nodes). Perhaps all the advantages end here. You don't recalculate all the points in the canvas on a calculator, the class does it all for you. Such a beauty, which Anatoli Kazharski gave as an example, cannot be achieved by such an implementation of 3D-modelling. But if you make an implementation for kanvas, and even apply OpenCL technology, then it is realistic.
... You don't calculate all the points on a calculator in the canvas, the class.... does it for you.
Vector Graphics:
Why is interactivity implemented halfway through OnCalculate?
The indicator at the weekend does not react at all to changes of objects.
Why is interactivity implemented halfway through OnCalculate?
The indicator at the weekend does not react at all to changes of objects.
The example in the article is just a demonstration of the use of 3D object classes (in this example it is only a coordinate system). 3D graphical objects are used directly and the issue of their redrawing is easily solved by standard methods. Well, or simply by switching the timeframe.
The example in the article is just a demonstration of using 3D object classes (in this example it is only a coordinate system). 3D shape graphical objects are used directly and the issue of their redrawing is easily solved by standard methods. Or simply by switching the timeframe.
So, it's an unsuccessful demonstration. It's as if there was a static picture on an animation studio's commercial.
Improve the indicator a little so that it would be user-friendly.
Well, then, it's a failed demonstration. As if the animation studio's commercial would have a static picture.
Modify the indicator a bit to make it user-friendly.
Perhaps you are right. I'll fix it.
Corrected the example from the article a bit.
That's great!
I just had a need for 3D modelling.
Could you please tell me how to screw it all to MT4?
I got it though. The highlight of 3D modelling is the use of trend line by angle.