Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D-ized 2D, a sort of challenge or a how to question...
#3
Why didn't you turn it around? Just add what's missing at the top to the bottom so that you have the whole thing at the top?

Code: (Select All)

Dim Image As Long
Image = _LoadImage("si.png", 32)

R = 100
Screen _NewImage(640, 480, 32)
_MapTriangle (0, 0)-(0, 479)-(639, 479), Image To(100 - R, 0)-(0 - R, 479)-(639 + R, 479), 0
_MapTriangle (0, 0)-(639, 479)-(639, 0), Image To(100 - R, 0)-(639 + R, 479)-(540, 0), 0


Reply


Messages In This Thread
RE: 3D-ized 2D, a sort of challenge or a how to question... - by Petr - 03-30-2024, 09:34 PM



Users browsing this thread: 2 Guest(s)