Recent

Author Topic: Trying to use GLScene  (Read 2010 times)

wp

  • Hero Member
  • *****
  • Posts: 12518
Re: Trying to use GLScene
« Reply #15 on: August 31, 2024, 04:13:06 pm »
Made the changes mentioned in my earlier message, notified the GLScene maintainer, and updated OPM. Checked the new OPM version with Laz 3.4 on Windows 11, and it seems to work fine.

The json package data information from OPM is not clear to me.
What is it that is not clear?

It is (can) not work(ing) since revision 6979 (7 years ago), see this file and its conditionals. At least that is where things get stuck on/for linux x86_64.
I played with some of my VMs and found that the package only can be used on Windows. What a pity....
« Last Edit: August 31, 2024, 04:38:58 pm by wp »

AussieUser

  • New Member
  • *
  • Posts: 11
Re: Trying to use GLScene
« Reply #16 on: September 01, 2024, 12:48:15 am »
<quote>[EDIT] Found this in the German Lazarus forum (https://www.lazarusforum.de/viewtopic.php?p=142034#p142034): Set the form's DoubleBuffered property to false, and the graphic will appear. Alternatively it is also sufficient to set the GLSViewer's DoubleBuffered to false in the OnCreate event of the form, or to get it fixed permanently, to add "DoubleBuffered := false" at the end of the TGLSceneViewer.Create.
« Last Edit: Today at 02:09:23 pm by wp »</quote>

Setting DoubleBuffered:= False worked for me. Thank you.



 

TinyPortal © 2005-2018