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
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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
Mirco,
Use the current svn repository version. It was fixed some times ago.
Pavel
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.