We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Point (0,0) in LD3DView image mapping
#14
JR

Maybe you should start with single triangle:

triangle = LD3DView.AddGeometry(view3D,"-0.5 -0.5 0.5:0.5 -0.5 0.5:0.5 0.5 0.5","0 1 2","" , "Red","D")
'LD3DView.AddImage(view3D,triangle, "0 0:1 0:1 1",image,"D")                '
LD3DView.AddImage(view3D,triangle, "0 1:1 1:1 0",image,"D")  ' Y: 0 <-> 1 or Y = 1 - Y 

or

triangle2 = LD3DView.AddGeometry(view3D,"-0.5 -0.5 0.5:0.5 -0.5 0.5:0 0.5 0.5","0 1 2","" , "Red","D")
'LD3DView.AddImage(view3D,triangle2, "0 0:1 0:0.5 1",image,"D")                '
LD3DView.AddImage(view3D,triangle2, "0 1:1 1:0.5 0",image,"D")  ' Y: 0 <-> 1  or Y = 1 - Y

st
[-] The following 1 user Likes stevantosic's post:
  • litdev
Reply


Messages In This Thread
RE: Point (0,0) in LD3DView image mapping - by stevantosic - 02-24-2024, 06:45 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)