Let me describe you my scene:
* 4 GLSceneViewer a containing 1 GLDummyCube and 2 GLSphere.
* 4 GLCamera: each camera is assigned to a GLSceneViewer and has GLDummyCube as target.
* When the mouse is over a GLSphere then radius increase.
* When the mouse is not over a GLSphere then radius get a normal radius.
This configuration works very well unless I create TGLHudtext: some glviewer and controls are not refresh. These problems disappear when I destroy TGLHudtext.
If I hide 2 GLSceneViewer, it still works correctly.
Is there anything wrong with my scene ? Is there any GLScene limit (I don't mind...) ?
Regarding your link above, I downloaded your project GLsceneEditorAdvancedTest2: that's mostly do what I need: a scene with 4 points of view (= 4 cameras).
Your project works fine but when I added a Text (TGLHudText or TGLFlatText) the application has trouble. I added an event when I click on the green sphere; the radius raises up: it doesn't raises up in all views.
There is something wrong with Text because without Text it is good.
Attached you have your initial project, my modified project and the modified exe.
Ok i understand what you want to do, but first i suggest you to begining with only 1 viewer for your test. GLsceneEditorAdvancedTest2.7z is heavy bugged. you can use world2screen function for determining the position of HudText.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here is a new project: I have a 3D-view and 3 optional 2D-views (X, Y, Z). This scene has 2 spheres, 2 TGLFlatTexts and 2 TGLHudTexts. I can choose which seeing labels (TGLFlatText, TGLHudText or None).
Without displaying any labels everything is alright in my app but when I display more than 1 2D-view with labels (TGLFlatText or TGLHudText) there is an issue.
Hello,
Let me describe you my scene:
* 4 GLSceneViewer a containing 1 GLDummyCube and 2 GLSphere.
* 4 GLCamera: each camera is assigned to a GLSceneViewer and has GLDummyCube as target.
* When the mouse is over a GLSphere then radius increase.
* When the mouse is not over a GLSphere then radius get a normal radius.
This configuration works very well unless I create TGLHudtext: some glviewer and controls are not refresh. These problems disappear when I destroy TGLHudtext.
If I hide 2 GLSceneViewer, it still works correctly.
Is there anything wrong with my scene ? Is there any GLScene limit (I don't mind...) ?
Attached, here is an example of my issue.
Thanks
Delphi Berlin Upd1 and GLScene 1.4.1.
Last edit: LefjuCabro 2016-11-08
Read this thread perhaps it can help you https://sourceforge.net/p/glscene/discussion/93606/thread/44c2c3b7/
sorry but i haven't got delphi anymore and GLScene not working on Lazarus 1.6 / 64bit
Last edit: Jerome.D (BeanzMaster) 2016-11-09
Jerome,
The branch https://sourceforge.net/p/glscene/code/HEAD/tree/branches/GLSceneLCL/
is well working on Lazarus 1.2. I think it's possible to update it for Lazarus 1.6 / 64bit.
Hello,
Regarding your link above, I downloaded your project GLsceneEditorAdvancedTest2: that's mostly do what I need: a scene with 4 points of view (= 4 cameras).
Your project works fine but when I added a Text (TGLHudText or TGLFlatText) the application has trouble. I added an event when I click on the green sphere; the radius raises up: it doesn't raises up in all views.
There is something wrong with Text because without Text it is good.
Attached you have your initial project, my modified project and the modified exe.
Regards
Ok i understand what you want to do, but first i suggest you to begining with only 1 viewer for your test. GLsceneEditorAdvancedTest2.7z is heavy bugged. you can use world2screen function for determining the position of HudText.
Here is a new project: I have a 3D-view and 3 optional 2D-views (X, Y, Z). This scene has 2 spheres, 2 TGLFlatTexts and 2 TGLHudTexts. I can choose which seeing labels (TGLFlatText, TGLHudText or None).
Without displaying any labels everything is alright in my app but when I display more than 1 2D-view with labels (TGLFlatText or TGLHudText) there is an issue.
Regards