× Components and Libraries for Graphics 3D Development, discussions, problems and suggestions

Important The GLScene library needs more testing....

  • azrael11
  • azrael11's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 8 months ago #5562 by azrael11
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.

More
6 years 8 months ago #5564 by kenlee
Replied by kenlee on topic The GLScene library needs more testing....
hm... normally alpha should be in the range of 0..1.

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