DGL
https://delphigl.com/forum/

Scaling DisplayLists
https://delphigl.com/forum/viewtopic.php?f=19&t=3452
Seite 1 von 1

Autor:  Stucuk [ Di Nov 09, 2004 00:57 ]
Betreff des Beitrags:  Scaling DisplayLists

My question is how can u scale a display list? I know there is a scale command but when i last tryed it the object disapeared.

Below is 2 pictures, one in 640x480 and the other in 1280x1024 showing the current problem.

Dateianhänge:
Helios_001.jpg [221.88 KiB]
30-mal heruntergeladen
assault_004.jpg
assault_004.jpg [ 113.62 KiB | 2220-mal betrachtet ]

Autor:  Sascha Willems [ Di Nov 09, 2004 01:16 ]
Betreff des Beitrags: 

You can scale display lists as all usual with glScalef, but note that translations stored in dispalylists then also get scaled. So if you want to scale display lists, but also want them to stay at their place (like with text and so on), you better don't store the translation of the object in the displaylist.

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/