Original Post
Does DrawPrimitives work in screen space or world space? I'm trying to draw a simple line from one place on the screen to another (though eventually it will be from one place in world space to another so the camera location is miles away from the origin)
verts(0).SetPosition(New Vector3(10, 0, 0.0F))
verts(0).Color = System.Drawing.Color.Black.ToArgb()
verts(1).SetPosition(New Vector3(100, 100, 0.0F))
verts(1).Color = System.Drawing.Color.Black.ToArgb()
vb.SetData(verts, 0, LockFlags.None)
device.DrawPrimitives(PrimitiveType.LineList, 0, 2)
It doesn't seem to consistently show the lines, however... (and lets not talk about getting them to show a colour either!)