Welcome, Guest
Username: Password: Remember me
Components and Libraries for Graphics 3D Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

The GLScene library needs more testing.... 9 years 9 months ago #5562

  • azrael11
  • azrael11's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 59
  • Thank you received: 0
I start a simple glscene project..
Add a sprite background covers hole form
Loading and adding a dynamic GLHudText....

Now playing a little with glhudtext.modulatorcolor.alpha....

the alpha set to -0.8 the range is -1...1

in loop section add this line of code...
... in delphi7 or delphixe works perfect...
so i think missing some details...
if (exf_MainForm.exf_Background.Material.FrontProperties.Diffuse.Alpha < 1.5) and (t_exf_version.ModulateColor.Alpha < 1)  then
        begin
          exf_MainForm.exf_Background.Material.FrontProperties.Diffuse.Alpha := exf_MainForm.exf_Background.Material.FrontProperties.Diffuse.Alpha + 0.4 * dTime;
          t_exf_version.ModulateColor.Alpha:= t_exf_version.ModulateColor.Alpha + 0.2; //<--- here i get a  'External:SIGSEGV' AGAIN...
        end
      else
        begin
          exf_MainForm.exf_Background.Material.FrontProperties.Diffuse.Alpha:= 1.5;
          t_exf_version.ModulateColor.Alpha:= 1;
        end;

Please .... try to solve this i really get out of embracedero trap of new and new and new and pay and pay and pay....

Great work btw...

Thanks...
Free minds... with focus in future...

Please Log in or Create an account to join the conversation.

The GLScene library needs more testing.... 9 years 9 months ago #5564

  • kenlee
  • kenlee's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 25
  • Thank you received: 4
hm... normally alpha should be in the range of 0..1.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1