Menu

Polygons not visible

Help
2019-02-18
2020-06-25
<< < 1 2 (Page 2 of 2)
  • Pavel Vassiliev

    Pavel Vassiliev - 2020-02-26

    Hi Jerome,
    The code in Lazarus the same as in Delphi except
    procedure NegateVector(var V: TAffineVector);
    begin
    V.X := -V.X;
    V.Y := -V.Y;
    V.Z := -V.Z;
    end;
    So the reason somewhere in place of filling polygons under win32. I don't have installed Lazarus.
    Here is the log for TriangeBox.exe demo under Delphi and if you have the filled polygons under Lazarus then compare to get a hint.
    Pavel

     
  • Jerome.D (BeanzMaster)

    Hi Pavel what's the difference with NegateVector ???

    The Log is not explicit except it use some deprecated methods

    The thing i see is with the GLU Method. Perhaps in work on my PC because i have the both 32 & 64bits library installed. A good thing is we could remove and replace those calls by pure pascal code. So i'll try to see a diff in logs

     
  • Mirco

    Mirco - 2020-05-09

    Same problem for me:
    TGLPolygons don't show in 32bits, only in 64bits.
    Also, polygons are not shown at design time, with 32-bit IDE.

     

    Last edit: Mirco 2020-05-09
    • Pavel Vassiliev

      Pavel Vassiliev - 2020-05-11

      Mirco,
      Use the current svn repository version. It was fixed some times ago.
      Pavel

       
      • Mirco

        Mirco - 2020-06-25

        Thank you Pavel,
        now the polygon is shown at design time with 32-bit IDE, but the application hangs if compiled for 32 bit target.

         
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.