22 years ago
Highlights
22 years ago
22 years ago
I've got a value in world x,y,z (z is always zero and the camera is always looking vertically downwards from a variable z 'height' value) Is there a way of determining where …
22 years ago
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 &#…
22 years ago
I'm trying to draw a line in worldspace (rather than screen space, that I could do with .Draw instead of .DrawTransform, but as all the values I'm working with are in world coor…
22 years ago
Latest Activity
See all in DiscussionsSorted it :)device.Transform.View and device.Transform.Projection were the wrong way round in the example code. Don't tell me - it was …
22 years ago
Ummm, I'm doing something wrong somewhere!Dim someVector As Vector3 = New Vector3(sngTankXPos, sngTankYPos, 0)Dim screenCoord As Vector3 = Vector3.Project(someVector, device.Viewport, …
22 years ago
Ooooh, that looks like the sort of thing I need :)One question, though - viewport?I haven't set this up anywhere …
22 years ago