 |
| Report-ID: | 112 [ändern] |
| Zeitstempel: | 24.08.07 / 16:38.12 (1187966292) |
| Reportkanal: | XProfan |
| Status: | geprüft, Bug wurde bestätigt und steht auf der [ToDo-Liste] [ändern] | Erstmeldung:
- Zeit:
24.08.07 / 16:38.12 (1187966292)
- Mitgliedsname:
iF
- Version:
10
- Bei folgendem Quelltext:
{$cleq}
cls ogl("init",%hwnd,0.0,0.0,0.0,1) oGL("Clear") ogl("move",0,0,-5) ogl("sphere",1,10,10) ogl("show") 'ogl.savebmp("c:\\test.bmp",0,0,width(%hwnd),height(%hwnd)) savebmp "C:\\test.bmp",0,0 - width(%hwnd),height(%hwnd) waitinput cls loadbmp "c:\\test.bmp",0,0;0 waitinput end
ogl.savebmp(string fle,long x,y,xx,yy){
savebmptoclip x,y - xx,yy cliploadbmp x,y;0 savebmp fle,x,y - xx,yy clearclip }
- Erläuterung:
SaveBmp speichert nicht die OGL-Ausgabe. (Bestimmt nur'n DC-Problem)
Mehr dazu: http://xprofan.com/xprofan/o/oglshow-gt-savebmp-5745-0.html
- Zusätzliches:
Workaround:
ogl.savebmp(string fle,long x,y,xx,yy){
savebmptoclip x,y - xx,yy cliploadbmp x,y;0 savebmp fle,x,y - xx,yy clearclip }
- Statusflag:
2
|