Recent

Author Topic: How to use TOpenGLCanvas?  (Read 522 times)

Hoplite

  • Newbie
  • Posts: 1
How to use TOpenGLCanvas?
« on: August 07, 2025, 04:58:33 am »
Hello,

I use Lazarud IDE 4.99 (compiled from source). I have tab OpenGL with 3 components: TOpenGLControl, TOpenGLCanvas, TOpenGLPanel.

TOpenGLPanel works fine, I can draw triangle on it, but what is TOpenGLCanvas? What it is good for? When I place this component on form it has no opengl methods like MakeCurrent().

Gigatron

  • Sr. Member
  • ****
  • Posts: 334
  • Amiga Rulez !!
Re: How to use TOpenGLCanvas?
« Reply #1 on: August 07, 2025, 07:21:04 am »
Hi and Welcome;

You can use the glCanvas and examples here :

https://forum.lazarus.freepascal.org/index.php/topic,71410.30.html

Regards
Trip to Europe...  20 days

 

TinyPortal © 2005-2018