MiniB3D, kein Bild
Übersicht

![]() |
s_m_wBetreff: MiniB3D, kein Bild |
![]() Antworten mit Zitat ![]() |
---|---|---|
Ich wollte mich mal mit MiniB3D beschäftigen, nach ein wenig googlen habe ich auch die Wiki gefunden. Wenn ich jedoch den Code von hier abschreibe:
Code: [AUSKLAPPEN] Import sidesign.miniB3D
Graphics3D 800,600 Local cam:TCamera = CreateCamera() PositionEntity cam, 0, 0, -10 ' Ab hier erstellen wir unsere Primitives Local cube:TEntity = CreateCube() PositionEntity cube, -5, 0, 0 Local sphere:TEntity = CreateSphere() PositionEntity sphere, -2, 0, 0 Local cone:TEntity = CreateCone() PositionEntity cone, 2, 0, 0 Local cylinder:TEntity = CreateCylinder() PositionEntity cylinder, 5, 0, 0 Repeat ' ' Programmablauf ' UpdateWorld RenderWorld Flip Until KeyDown(KEY_ESCAPE) Or AppTerminate() ClearWorld End und kompiliere, startet es ohne Fehler, doch der Inhalt des Fensters bleibt schwarz. Warum? Danke im Vorraus. |
||
Sheep Happens |
![]() |
jonas1996 |
![]() Antworten mit Zitat ![]() |
---|---|---|
Könnte es seien dass du die buffer vergessen hast... ![]() |
||
iLive4myLive.de.tl
programmieren123.de.tl |
![]() |
DaysShadow |
![]() Antworten mit Zitat ![]() |
---|---|---|
Bei mir gehts einwandfrei, ich sehe 4 Primitive Körper in Grau.
Dann stimmt irgendwas bei dir nicht, aber nicht am Code. Und Buffer bei 3D? Nunja... MfG DaysShadow |
||
Blessed is the mind too small for doubt |
![]() |
IronstormErstklassiger Contest-Veranstalter |
![]() Antworten mit Zitat ![]() |
---|---|---|
Ein bekanntes Problem mit OGL und so.
Was für eine Grafikkarte hast du? Alle Treiber aktuell und so? MfG Ironstorm |
||
..:: blackbird design : blackbird photography : Futuro Verde : X-Commander ::..
MacBook | Intel Core 2 Duo 2,1 GHz | 2048 MB RAM | 80 GB HDD | Mac OS X 10.6.2 (Snow Leopard) | Adobe CS4 Design Premium |
Übersicht


Powered by phpBB © 2001 - 2006, phpBB Group