Support Board
Date/Time: Tue, 26 Nov 2024 02:29:41 +0000
OpenGL support for 3rd party developers?
View Count: 653
[2024-01-17 19:25:48] |
TopGunTrader - Posts: 172 |
Hi, I have two indicators I bought GOMI and a time and sales dot drawing indicator that really slow down Sierra charts, I have to run OpenGL to have it fast and when I do I save 6% CPU. One developer told me OpenGL isn't available to third party developers. Can you guys release it to them and if so timeline on it? In the meantime if I want to install another Sierra which I run without OpenGL do I just run installer and maybe pick c:/Sierra2/ ? |
[2024-01-17 21:07:44] |
User431178 - Posts: 541 |
Custom drawing is possible with OpenGL enabled, since version 2550 or thereabouts. https://www.sierrachart.com/index.php?page=doc/Whats_New.php#SCVer2551 It is a very good addition. |
[2024-01-17 22:32:47] |
John - SC Support - Posts: 36286 |
In terms of the installation of another Sierra Chart, you would choose another folder to install it into. Refer to the following: Using Multiple Data and Trading Services at the Same Time: Step-By-Step Instructions to Install Multiple Copies of Sierra Chart For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-01-20 16:52:05] |
gomifromparis - Posts: 244 |
Hi, I'm working on this in the OpenGL mode(I have my own ultra opmitized GDI lib), didn't see it was avail, thanks TopGunTrader ! It seems there is an issue with the Alpha channel encoding ? For full opacity you need to set A=0, where it should be 255 Maybe it's by design ?? Thanks |
[2024-01-20 19:46:18] |
gomifromparis - Posts: 244 |
Also, the IsOpenGLActive flag does not seem to be working ? Any idea how to detect in the code if we're running with OpenGL enabled or not ? |
isopengl.png / V - Attached On 2024-01-20 19:46:07 UTC - Size: 25.46 KB - 75 views |
[2024-01-20 19:57:34] |
Sierra_Chart Engineering - Posts: 17179 |
This is not a variable but a function: sc.IsOpenGLActive()
Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2024-01-20 21:18:26
|
[2024-01-21 11:34:04] |
gomifromparis - Posts: 244 |
ok this is going nicely and is very fast indeed (1 ms plot time !) A couple issues : * DrawText does not work with non breakable spaces (ASCII 160) , not a big issue, just convert nbsp to standard spaces, but it worked with GDI. * More important, it seems there is no FillPolygon, which I use to draw customs symbols on the chart. Is there any plan to add it ? Thanks |
To post a message in this thread, you need to log in with your Sierra Chart account: