Autor Beitrag
Logiqu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 43

Win XP
Delphi 2006 Pro
BeitragVerfasst: Mo 07.07.03 10:47 
Hi!

Ich habe folgendes Problem: ich lasse eine Scene mittels OpenGL auf ein Panel rendern. Das klappt. Nun möchte ich allerdings auf Button-Click dieses Bild in eine Bitmap rendern. Wie mache ich das? Benötige ich dabei ein SwapBuffer-Aufruf? Die Bitmap sollte ein TBitmap sein, wenn möglich.
Logiqu Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 43

Win XP
Delphi 2006 Pro
BeitragVerfasst: Mo 07.07.03 15:38 
Ich verwende nicht GLScene, sondern greife direkt auf die API zu. So zu sagen muss ich manuell die Handles ansprechen. Welche Handles von der Bitmap muss ich verwenden und müssen noch besondere Eigenschaften zugewiesen werden?


Zuletzt bearbeitet von Logiqu am Mo 07.07.03 16:15, insgesamt 1-mal bearbeitet
Simon Joker
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 236
Erhaltene Danke: 1



BeitragVerfasst: Mo 07.07.03 15:53 
Da wars du aber fix! Ich habe es sofort gemerkt als ich es ab gesendet habe. Sorry noch mal.