Hmm... Dann ist es wohl doch etwas komplizierter. Der Linux- Kernel bringt die Treiber ja schon mit. Da sind dann in der Regel universelle Treiber bei. Für die meiste Hardware reicht das um wenigstens die Grundfunktionen zu nutzen.
Tut mir Leid, da reicht meine Linux- Erfahrung nicht aus.
Beiträge von Donnie71
-
-
Hallo,
Wird deine Maus gar nicht erkannt? Oder funktioniert sie und wird nur der Name nicht angezeigt?
Bei mir hat bis jetzt jedes Linux Alles komplett automatisch gefunden und eingerichtet. Ich habe allerdings keine Saitek Maus und benutze Kubuntu.
Auf http://ubuntuusers.de gibt es Hilfe und Infos. -
:001: Herzlichen Glückwunsch an die Gewinner :pokal:
von Donald -
Nochmal schnell kurz vor Schluss ein Update. :cool:
Mich hat der graue Hintergrund genervt, deshalb ist er jetzt bunt. Außerdem ist die "Walze" etwas größer geworden, damit die Zeit auch noch aus einiger Entfernung gut ablesbar ist. (Das Fenster ist aber nicht größer!)
Ich hoffe es gefällt Euch.[Blockierte Grafik: http://s22.postimg.org/6kmb1xyp9/Uhr_Bunt.jpg]
Code
Alles anzeigen' 4k-Wettbewerb 2013 @Donnie71 Proc GLScene oGL("Init", %hWnd, 0.0, 0.0, 0, 1) oGL("PosMode", 1) oGL("BlendMode", 1) textur% = oGL("GetTextureBMP",bild&, 2) texturb% = oGL("GetTextureBMP", dskBMP&, 3) 'Hintergrund und Ringe erstellen box# = new(oglSprite) Ringe(box#, "TUBE", 0,0,-65, 1,1,1, texturb%, 40,40,40,360) with box# .rotx! = 0 .rotz! = 0 .rotdy! = 36 .dtick& = 1000 .alpha! = 0.6 endwith zy0# = new(oglSprite) Ringe(zy0#, "CYLINDER", 0,0,0, 0.5,0.5,0.5, 0, 2.2,2.2,6,24) zy0#.alpha! = 0.7 zy1# = new(oglSprite) Ringe(zy1#, "TUBE", 2.4,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy2# = new(oglSprite) Ringe(zy2#, "TUBE", 1.7,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy3# = new(oglSprite) Ringe(zy3#, "TUBE", 0.35,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy4# = new(oglSprite) Ringe(zy4#, "TUBE", -0.35,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy5# = new(oglSprite) Ringe(zy5#, "TUBE", -1.7,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy6# = new(oglSprite) Ringe(zy6#, "TUBE", -2.4,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) ende% = 0 EndProc 'Ringe(Bereich, Type, PosX,PosY,PosZ, ColorR,ColorG,ColorB, Textur, X,Y,Z,B) proc Ringe Parameters nAme#, tYpe$, pX!,pY!,pZ!, cR!,cG!,cB!, tExtur%, xX!, yY!, zZ!, bB! with nAme# .typ$ = tYpe$ .posx! = pX! .posy! = pY! .posz! = pZ! .colorr! = cR! .colorg! = cG! .colorb! = cB! .rotx! = 197 .rotz! = 90 .alpha! = 0.7 .textur& = tExtur% .x! = xX! .y! = yY! .z! = zZ! .b! = bB! endwith endproc proc DrawGLScene oGL("Clear") oGL("Origin",0,0,-5.1) oGL("Color",0,1,0,0.9) oGL("Quad",5.8,1.4) oGL("Origin", 0, 0, -7) oGL("Draw", box#) oGL("Draw", zy1#) oGL("Draw", zy2#) oGL("Draw", zy3#) oGL("Draw", zy4#) oGL("Draw", zy5#) oGL("Draw", zy6#) oGL("Draw", zy0#) proc Scheibe oGL("Color", 0, 1, 0.0, 0.8) oGL("Disk", 0, 0.1, 12) endproc oGL("Origin", -1 , -0.2, -4.5) Scheibe oGL("Origin", -1 , 0.2, -4.5) Scheibe oGL("Origin", 1 , -0.2, -4.5) Scheibe oGL("Origin", 1 , 0.2, -4.5) Scheibe oGL("Show") endproc declare ende%, zy0#, zy1#, zy2#, zy3#, zy4#, zy5#, zy6#, box#, textur%, texturb%, x! declare Zeit$, Sek$, St$, Min$, s0!, s1!, m0!, m1!, h0!, h1!, xE!,yE!,wE!,hE! 'Textur für HintergrundZylinder erstellen var dskBMP& = Create("hNewPic",40,40,Rgb(255,255,255)) Randomize StartPaint dskBMP& WhileLoop 20 xE! = Rnd(40) yE! = Rnd(40) wE! = xE! + 40 hE! = yE! + 40 UsePen 0,5,Rgb(rnd(255),rnd(255), rnd(255)) UseBrush 1,Rgb(rnd(255),rnd(255), rnd(255)) Ellipse xE!,yE! - wE!,wE! EndWhile EndPaint 'Textur für Ringe erstellen var bild& = Create("hNewPic", 500, 50, 31) StartPaint bild& TextColor @RGB(0,255,0),-1 set("Orientation", -900) UseFont "Arial", 50, 40,0,0,0 whileLoop 0,10 Drawtext x!,1, &loop-1 x! = x! + 50 EndWhile EndPaint windowTitle "Uhr" windowStyle 512 + 16 + 64 window %MaxX - 350, 10 - 170, 110 UseIcon "A" GLScene setTimer 100 'Hauptschleife WhileNot ende% WaitInput SELECT %MouseKey CASEOF 1 UseCursor 5 SendMessage(%hwnd,$112,$F012,0) UseCursor 0 CASEOF 2 Case MessageBox("Soll die Uhr beendet werden?","Uhr Beenden?",33) = 1 : ende% = 1 ENDSELECT Sek$ = Left$(Time$(1),2) s0! = Val(Left$(Sek$,1))*36+197 s1! = Val(Right$(Sek$,1))*36+197 zy1#.rotx! = s1! zy2#.rotx! = s0! Zeit$ = Time$(0) St$ = Left$(Zeit$,2) Min$ = Right$(Zeit$,2) m0! = Val(Left$(Min$,1))*36+197 m1! = Val(Right$(Min$,1))*36+197 s0! = Val(Left$(St$,1))*36+197 s1! = Val(Right$(St$,1))*36+197 zy3#.rotx! = m1! zy4#.rotx! = m0! zy5#.rotx! = s1! zy6#.rotx! = s0! DrawGLScene() EndWhile DeleteObject textur% DeleteObject texturb% oGL("Done") killTimer end -
Mit dem Schatten hat es nicht so gut geklappt. Ich habe verschiedene Wege ausprobiert. Aber Nichts hat das gewünschte Ergebnis gebracht.
Ich habe jetzt einen Mittelweg gefunden, der mich persönlich zu Frieden stellt.
Der Hintergrund ist nun etwas dunkel und unscharf, dafür sind die aktuellen Zahlen "beleuchtet".
[Blockierte Grafik: http://s21.postimage.org/og5kpcv2b/Uhr_Gr_n.jpg]Ich finde so kann man die Zeit besser ablesen, und es wirkt räumlicher.
Der neue Code:
Code
Alles anzeigen' 4k-Wettbewerb 2013 @Donnie71 Proc GLScene oGL("Init", %hWnd, 0.7, 1, 0.7, 1) oGL("PosMode", 1) oGL("BlendMode", 1) textur% = oGL("GetTextureBMP",bild&, 2) texturb% = oGL("GetTextureBMP", dskBMP&, 2) 'Hintergrund und Ringe erstellen box# = new(oglSprite) Ringe(box#, "TUBE", 0,0,0, 1,1,1, texturb%, 8,8,40,360) box#.rotx! = 0 box#.rotz! = 0 box#.rotdy! = 6 box#.dtick& = 1000 box#.alpha! = 0.7 zy0# = new(oglSprite) Ringe(zy0#, "CYLINDER", 0,0,0, 0.5,0.5,0.5, 0, 1.8,1.8,6,24) zy0#.alpha! = 0.8 zy1# = new(oglSprite) Ringe(zy1#, "TUBE", 2.5,0,0, 1,1,1, textur%, 2,2,0.5,24) zy2# = new(oglSprite) Ringe(zy2#, "TUBE", 1.8,0,0, 1,1,1, textur%, 2,2,0.5,24) zy3# = new(oglSprite) Ringe(zy3#, "TUBE", 0.35,0,0, 1,1,1, textur%, 2,2,0.5,24) zy4# = new(oglSprite) Ringe(zy4#, "TUBE", -0.35,0,0, 1,1,1, textur%, 2,2,0.5,24) zy5# = new(oglSprite) Ringe(zy5#, "TUBE", -1.8,0,0, 1,1,1, textur%, 2,2,0.5,24) zy6# = new(oglSprite) Ringe(zy6#, "TUBE", -2.5,0,0, 1,1,1, textur%, 2,2,0.5,24) ende% = 0 EndProc proc DrawGLScene oGL("Clear") oGL("Origin",0,0,-7) oGL("Color",0,1,0,0.6) oGL("Quad",7.8,1.6) oGL("Origin", 0, 0, -7) oGL("Draw", box#) oGL("Draw", zy1#) oGL("Draw", zy2#) oGL("Draw", zy3#) oGL("Draw", zy4#) oGL("Draw", zy5#) oGL("Draw", zy6#) oGL("Draw", zy0#) proc Scheibe oGL("Color", 0, 1, 0.0, 0.8) oGL("Disk", 0, 0.1, 12) endproc oGL("Origin", -1 , -0.2, -4.9) Scheibe oGL("Origin", -1 , 0.2, -4.9) Scheibe oGL("Origin", 1 , -0.2, -4.9) Scheibe oGL("Origin", 1 , 0.2, -4.9) Scheibe oGL("Show") endproc 'Ringe(Bereich, Type, PosX,PosY,PosZ, ColorR,ColorG,ColorB, Textur, X,Y,Z,B) proc Ringe Parameters nAme#, tYpe$, pX!,pY!,pZ!, cR!,cG!,cB!, tExtur%, xX!, yY!, zZ!, bB! with nAme# .typ$ = tYpe$ .posx! = pX! .posy! = pY! .posz! = pZ! .colorr! = cR! .colorg! = cG! .colorb! = cB! .rotx! = 197 .rotz! = 90 .alpha! = 0.7 .textur& = tExtur% .x! = xX! .y! = yY! .z! = zZ! .b! = bB! endwith endproc declare ende%, zy0#, zy1#, zy2#, zy3#, zy4#, zy5#, zy6#, box#, textur%, texturb%, x! declare Zeit$, Sek$, St$, Min$, s0!, s1!, m0!, m1!, h0!, h1! 'Textur für HintergrundZylinder erstellen var dskBMP& = Create("hPic", 0, "&DSKBMP") 'Textur für Ringe erstellen var bild& = Create("hNewPic", 500, 50, 31) StartPaint bild& TextColor @RGB(0,255,0),-1 set("Orientation", -900) UseFont "Arial", 50, 40,0,0,0 whileLoop 0,10 Drawtext x!,1, &loop-1 x! = x! + 50 EndWhile EndPaint windowTitle "Uhr" windowStyle 80 window %MaxX - 350, 10 - 170, 120 UseIcon "A" GLScene setTimer 100 'Hauptschleife WhileNot ende% WaitInput SELECT %MouseKey CASEOF 1 UseCursor 5 SendMessage(%hwnd,$112,$F012,0) UseCursor 0 CASEOF 2 Case MessageBox("Soll die Uhr beendet werden?","Uhr Beenden?",33) = 1 : ende% = 1 ENDSELECT Sek$ = Left$(Time$(1),2) s0! = Val(Left$(Sek$,1))*36+197 s1! = Val(Right$(Sek$,1))*36+197 zy1#.rotx! = s1! zy2#.rotx! = s0! Zeit$ = Time$(0) St$ = Left$(Zeit$,2) Min$ = Right$(Zeit$,2) m0! = Val(Left$(Min$,1))*36+197 m1! = Val(Right$(Min$,1))*36+197 s0! = Val(Left$(St$,1))*36+197 s1! = Val(Right$(St$,1))*36+197 zy3#.rotx! = m1! zy4#.rotx! = m0! zy5#.rotx! = s1! zy6#.rotx! = s0! DrawGLScene() EndWhile DeleteObject textur% DeleteObject texturb% oGL("Done") killTimer end -
Danke Jörg.
Den Tippfehler hatte ich noch gar nicht bemerkt
Was den Schatten angeht: Das ist eine gute Idee. Ich probier gleich mal was aus. Mal sehen was sich da machen lässt. Ich hab ja noch ein paar Kommentarzeilen im Code, die ich notfalls streichen kann.Donald
-
Ich freu mich, dass Euch meine Uhr soweit gefällt. Deshalb kommt hier auf vielfachen Wunsch
der neue Code, der die Uhr beweglich macht.
Einfach irgendwo mit der linken Maustaste auf das Fenster klicken und Ziehen.
Gruß DonaldCode
Alles anzeigen' 4k-Wettbewerb 2013 @Donnie71 Proc GLScene oGL("Init", %hWnd, 0, 0, 0, 0) oGL("PosMode", 1) oGL("BlendMode", 1) textur% = oGL("GetTextureBMP",bild&, 2) texturb% = oGL("GetTextureBMP", dskBMP&, 2) 'Hintergrund und Ringe erstellen box# = new(oglSprite) Ringe(box#, "TUBE", 0,0,0, 1,1,1, texturb%, 30,30,40,360) box#.rotx! = 0 box#.rotz! = 0 box#.rotdy! = 6 box#.dtick& = 1000 zy0# = new(oglSprite) Ringe(zy0#, "CYLINDER", 0,0,0, 0.5,0.5,0.5, 0, 1.95,1.95,6,24) zy0#.alpha! = 0.6 zy1# = new(oglSprite) Ringe(zy1#, "TUBE", 2.5,0,0, 1,1,1, textur%, 2,2,0.5,24) zy2# = new(oglSprite) Ringe(zy2#, "TUBE", 1.8,0,0, 1,1,1, textur%, 2,2,0.5,24) zy3# = new(oglSprite) Ringe(zy3#, "TUBE", 0.35,0,0, 1,1,1, textur%, 2,2,0.5,24) zy4# = new(oglSprite) Ringe(zy4#, "TUBE", -0.35,0,0, 1,1,1, textur%, 2,2,0.5,24) zy5# = new(oglSprite) Ringe(zy5#, "TUBE", -1.8,0,0, 1,1,1, textur%, 2,2,0.5,24) zy6# = new(oglSprite) Ringe(zy6#, "TUBE", -2.5,0,0, 1,1,1, textur%, 2,2,0.5,24) ende% = 0 EndProc proc DrawGLScene oGL("Clear") oGL("Origin", 0, 0, -7) oGL("Draw", box#) oGL("Draw", zy1#) oGL("Draw", zy2#) oGL("Draw", zy3#) oGL("Draw", zy4#) oGL("Draw", zy5#) oGL("Draw", zy6#) oGL("Draw", zy0#) proc Scheibe oGL("Color", 0, 1, 0.0, 0.8) oGL("Disk", 0, 0.1, 12) endproc oGL("Origin", -1 , -0.2, -5.0) Scheibe oGL("Origin", -1 , 0.2, -5.0) Scheibe oGL("Origin", 1 , -0.2, -5.0) Scheibe oGL("Origin", 1 , 0.2, -5.0) Scheibe oGL("Show") endproc 'Ringe(Bereich, Type, PosX,PosY,PosZ, ColorR,ColorG,ColorB, Textur, X,Y,Z,B) proc Ringe Parameters nAme#, tYpe$, pX!,pY!,pZ!, cR!,cG!,cB!, tExtur%, xX!, yY!, zZ!, bB! with nAme# .typ$ = tYpe$ .posx! = pX! .posy! = pY! .posz! = pZ! .colorr! = cR! .colorg! = cG! .colorb! = cB! .rotx! = 197 .rotz! = 90 .alpha! = 0.6 .textur& = tExtur% .x! = xX! .y! = yY! .z! = zZ! .b! = bB! endwith endproc declare ende%, zy0#, zy1#, zy2#, zy3#, zy4#, zy5#, zy6#, box#, textur%, texturb%, x! declare Zeit$, Sek$, St$, Min$, s0!, s1!, m0!, m1!, h0!, h1! 'Textur für HintergrundZylinder erstellen var dskBMP& = Create("hPic", 0, "&DSKBMP") 'Textur für Ringe erstellen var bild& = Create("hNewPic", 500, 50, 31) StartPaint bild& TextColor @RGB(0,255,0),-1 set("Orientation", -900) UseFont "Arial", 50, 40,0,0,0 whileLoop 0,10 Drawtext x!,1, &loop-1 x! = x! + 50 EndWhile EndPaint windowTitle "Uhr" windowStyle 80 window %MaxX - 350, 10 - 170, 120 UseIcon "A" GLScene setTimer 100 'Hauptschleife WhileNot ende% WaitInput SELECT %MouseKey CASEOF 1 UseCursor 5 SendMessage(%hwnd,$112,$F012,0) UseCursor 0 CASEOF 2 Case MessageBox("Soll die Uhr beebdet werden?","Uhr Beenden?",33) = 1 : ende% = 1 ENDSELECT Sek$ = Left$(Time$(1),2) s0! = Val(Left$(Sek$,1))*36+197 s1! = Val(Right$(Sek$,1))*36+197 zy1#.rotx! = s1! zy2#.rotx! = s0! Zeit$ = Time$(0) St$ = Left$(Zeit$,2) Min$ = Right$(Zeit$,2) m0! = Val(Left$(Min$,1))*36+197 m1! = Val(Right$(Min$,1))*36+197 s0! = Val(Left$(St$,1))*36+197 s1! = Val(Right$(St$,1))*36+197 zy3#.rotx! = m1! zy4#.rotx! = m0! zy5#.rotx! = s1! zy6#.rotx! = s0! DrawGLScene() EndWhile DeleteObject textur% DeleteObject texturb% oGL("Done") killTimer end -
Danke,
Ja das Verschieben hab ich vergessen. Meine Tochter hat das schon bemängelt
, also muss ich noch mal ran.
Gruß Donald -
Hallo.
Ich habe hier eine OpenGL-Uhr.
Das "Design" basiert auf einem mechanischen Zählwerk, bei dessen Anblick mir die Idee kam. Um diese Uhr zu verwirklichen habe ich mich nach einer Programmiersprache, die auf einfache Weise 3D- Objekte darstellen kann, umgesehen. Dabei bin ich auf XProfan gestoßen. Ich habe vor Jahren schon mit der 16 Bit Version kleine Windows- Anwendungen geschrieben. Also habe ich mir die Freeware von XProfan11 runtergeladen und einfach drauf los geschrieben.
Die erste Version der Uhr war natürlich viel größer als 4kB und ich hatte auch noch 4 Bitmaps für die Texturen. Nachdem ich von diesem Wettbewerb gelesen habe, habe ich das Programm gestrafft und erzeuge die Texturen jetzt zur Laufzeit(der Hintergrund gefiel mir vorher besser:|).Beendet wird die Uhr mit der rechten Maustaste.
Ich hoffe sie gefällt Euch
fG Donald[Blockierte Grafik: http://s22.postimg.org/6kmb1xyp9/Uhr_Bunt.jpg]
Code
Alles anzeigen' 4k-Wettbewerb 2013 @Donnie71 Proc GLScene oGL("Init", %hWnd, 0.0, 0.0, 0, 1) oGL("PosMode", 1) oGL("BlendMode", 1) textur% = oGL("GetTextureBMP",bild&, 2) texturb% = oGL("GetTextureBMP", dskBMP&, 3) 'Hintergrund und Ringe erstellen box# = new(oglSprite) Ringe(box#, "TUBE", 0,0,-65, 1,1,1, texturb%, 40,40,40,360) with box# .rotx! = 0 .rotz! = 0 .rotdy! = 36 .dtick& = 1000 .alpha! = 0.6 endwith zy0# = new(oglSprite) Ringe(zy0#, "CYLINDER", 0,0,0, 0.5,0.5,0.5, 0, 2.2,2.2,6,24) zy0#.alpha! = 0.7 zy1# = new(oglSprite) Ringe(zy1#, "TUBE", 2.4,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy2# = new(oglSprite) Ringe(zy2#, "TUBE", 1.7,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy3# = new(oglSprite) Ringe(zy3#, "TUBE", 0.35,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy4# = new(oglSprite) Ringe(zy4#, "TUBE", -0.35,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy5# = new(oglSprite) Ringe(zy5#, "TUBE", -1.7,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) zy6# = new(oglSprite) Ringe(zy6#, "TUBE", -2.4,0,0, 1,1,1, textur%, 2.4,2.4,0.6,24) ende% = 0 EndProc 'Ringe(Bereich, Type, PosX,PosY,PosZ, ColorR,ColorG,ColorB, Textur, X,Y,Z,B) proc Ringe Parameters nAme#, tYpe$, pX!,pY!,pZ!, cR!,cG!,cB!, tExtur%, xX!, yY!, zZ!, bB! with nAme# .typ$ = tYpe$ .posx! = pX! .posy! = pY! .posz! = pZ! .colorr! = cR! .colorg! = cG! .colorb! = cB! .rotx! = 197 .rotz! = 90 .alpha! = 0.7 .textur& = tExtur% .x! = xX! .y! = yY! .z! = zZ! .b! = bB! endwith endproc proc DrawGLScene oGL("Clear") oGL("Origin",0,0,-5.1) oGL("Color",0,1,0,0.9) oGL("Quad",5.8,1.4) oGL("Origin", 0, 0, -7) oGL("Draw", box#) oGL("Draw", zy1#) oGL("Draw", zy2#) oGL("Draw", zy3#) oGL("Draw", zy4#) oGL("Draw", zy5#) oGL("Draw", zy6#) oGL("Draw", zy0#) proc Scheibe oGL("Color", 0, 1, 0.0, 0.8) oGL("Disk", 0, 0.1, 12) endproc oGL("Origin", -1 , -0.2, -4.5) Scheibe oGL("Origin", -1 , 0.2, -4.5) Scheibe oGL("Origin", 1 , -0.2, -4.5) Scheibe oGL("Origin", 1 , 0.2, -4.5) Scheibe oGL("Show") endproc declare ende%, zy0#, zy1#, zy2#, zy3#, zy4#, zy5#, zy6#, box#, textur%, texturb%, x! declare Zeit$, Sek$, St$, Min$, s0!, s1!, m0!, m1!, h0!, h1!, xE!,yE!,wE!,hE! 'Textur für HintergrundZylinder erstellen var dskBMP& = Create("hNewPic",40,40,Rgb(255,255,255)) Randomize StartPaint dskBMP& WhileLoop 20 xE! = Rnd(40) yE! = Rnd(40) wE! = xE! + 40 hE! = yE! + 40 UsePen 0,5,Rgb(rnd(255),rnd(255), rnd(255)) UseBrush 1,Rgb(rnd(255),rnd(255), rnd(255)) Ellipse xE!,yE! - wE!,wE! EndWhile EndPaint 'Textur für Ringe erstellen var bild& = Create("hNewPic", 500, 50, 31) StartPaint bild& TextColor @RGB(0,255,0),-1 set("Orientation", -900) UseFont "Arial", 50, 40,0,0,0 whileLoop 0,10 Drawtext x!,1, &loop-1 x! = x! + 50 EndWhile EndPaint windowTitle "Uhr" windowStyle 512 + 16 + 64 window %MaxX - 350, 10 - 170, 110 UseIcon "A" GLScene setTimer 100 'Hauptschleife WhileNot ende% WaitInput SELECT %MouseKey CASEOF 1 UseCursor 5 SendMessage(%hwnd,$112,$F012,0) UseCursor 0 CASEOF 2 Case MessageBox("Soll die Uhr beendet werden?","Uhr Beenden?",33) = 1 : ende% = 1 ENDSELECT Sek$ = Left$(Time$(1),2) s0! = Val(Left$(Sek$,1))*36+197 s1! = Val(Right$(Sek$,1))*36+197 zy1#.rotx! = s1! zy2#.rotx! = s0! Zeit$ = Time$(0) St$ = Left$(Zeit$,2) Min$ = Right$(Zeit$,2) m0! = Val(Left$(Min$,1))*36+197 m1! = Val(Right$(Min$,1))*36+197 s0! = Val(Left$(St$,1))*36+197 s1! = Val(Right$(St$,1))*36+197 zy3#.rotx! = m1! zy4#.rotx! = m0! zy5#.rotx! = s1! zy6#.rotx! = s0! DrawGLScene() EndWhile DeleteObject textur% DeleteObject texturb% oGL("Done") killTimer end