Recent

Author Topic: Any one knows howto show a GUIObject just like GLForm with GLScene?  (Read 1335 times)

greenzyzyzy

  • Full Member
  • ***
  • Posts: 249
Any one knows howto show a GUIObject just like GLForm with GLScene?

greenzyzyzy

  • Full Member
  • ***
  • Posts: 249
Re: Any one knows howto show a GUIObject just like GLForm with GLScene?
« Reply #1 on: February 21, 2020, 03:23:53 pm »
I want to show a bitmap in a GLSceneView.other GL Components is done,only the bitmap. Any one like to help me?thank you.

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
Re: Any one knows howto show a GUIObject just like GLForm with GLScene?
« Reply #2 on: February 21, 2020, 07:14:55 pm »
Hi, can you give us more details, i don't understand what you want to do. Do you use GLScene under Lazarus or CodeTyphon ?

Under GLScene GUI object are defined by itmaps.
What do you mean with  GLSceneView.other GL Components is not clear.

Cheers

greenzyzyzy

  • Full Member
  • ***
  • Posts: 249
Re: Any one knows howto show a GUIObject just like GLForm with GLScene?
« Reply #3 on: February 22, 2020, 04:30:24 am »
I want to show a bitmap file in a GLSceneViewer.
Not only use the GUIGL Components.

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
Re: Any one knows howto show a GUIObject just like GLForm with GLScene?
« Reply #4 on: February 22, 2020, 12:51:12 pm »
Hi it's simply just use a HUDSprite object  ;)

greenzyzyzy

  • Full Member
  • ***
  • Posts: 249
Re: Any one knows howto show a GUIObject just like GLForm with GLScene?
« Reply #5 on: February 22, 2020, 03:46:14 pm »
thank you.  but can you list some codes for me?use the textture?

BeanzMaster

  • Sr. Member
  • ****
  • Posts: 268
Re: Any one knows howto show a GUIObject just like GLForm with GLScene?
« Reply #6 on: February 23, 2020, 10:34:50 am »
Please check in the samples and examples folders you'll find many demo on how to do.
In Examples/shaders/glinfos for example
« Last Edit: February 23, 2020, 10:38:24 am by BeanzMaster »

greenzyzyzy

  • Full Member
  • ***
  • Posts: 249
Re: Any one knows howto show a GUIObject just like GLForm with GLScene?
« Reply #7 on: March 17, 2020, 11:31:17 am »
thank you for reply. :D

 

TinyPortal © 2005-2018