02-24-2024, 06:45 AM
(This post was last modified: 02-24-2024, 07:46 AM by stevantosic.)
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
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