
Code: Select all
UsePNGImageDecoder()
If InitKeyboard() And InitSprite() And InitSprite3D() And ExamineDesktops() And OpenScreen(DesktopWidth(0), DesktopHeight(0), 16, "Test")
If LoadSprite(0, "C:\redrose.png", #PB_Sprite_Texture | #PB_Sprite_AlphaBlending) And CreateSprite3D(0, 0)
Repeat
ClearScreen(RGB(128, 128, 128))
If Start3D()
DisplaySprite3D(0, 10, 10)
Stop3D()
EndIf
FlipBuffers()
ExamineKeyboard()
Until KeyboardPushed(#PB_Key_Escape)
EndIf
EndIf : End

Results:
DX7



c ya,
nco2k