Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D-ized 2D, a sort of challenge or a how to question...
#5
Well, I thought I was being smart in thinking three tirangles were needed. Use the same image in my post above. It's closer, but still wonky. (image attached below is the result)

Code: (Select All)
DIM Image AS LONG
Image = _LOADIMAGE("si.png", 32)
SCREEN _NEWIMAGE(640, 480, 32)
_MAPTRIANGLE (0, 0)-(0, 479)-(319, 479), Image TO(99, 0)-(0, 479)-(319, 479), 0
_MAPTRIANGLE (639, 0)-(319, 479)-(639, 479), Image TO(540, 0)-(319, 479)-(639, 479), 0
_MAPTRIANGLE (0, 0)-(319, 479)-(639, 0), Image TO(99, 0)-(319, 479)-(540, 0), 0


Attached Files Thumbnail(s)
   
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  a question about OpenGL in QB64pe: TempodiBasic 11 1,862 11-22-2025, 05:47 PM
Last Post: TempodiBasic
  Question about load pictures Jim_001 4 555 10-22-2025, 06:19 AM
Last Post: Unseen Machine
  Test to post a new Thread + question 32 or 64 bit Rudy M 2 556 09-09-2025, 04:10 PM
Last Post: Rudy M
  personal coding challenge results James D Jarvis 4 641 06-20-2025, 03:20 PM
Last Post: James D Jarvis
  Quick Question (I hope) bplus 3 738 02-26-2025, 01:14 AM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)