Hi!
Pretty new to 3D programming, using SharpDX wrapper to build a 3D world (for testing and learning).
I am adding several visible camera objects (very rudimentary models) in order to visualize different views.
Let's say I have a "world" floor grid covering vectors {0,0,0 - 1,1,0}
I add a pretend camera "CAM2" object at {0.5, 1.5, -1.0}
I am looking at this world by setting the parameters for "CAM1" a worldView projection position at pos: {0.0, 1.5, 1.5} lookat: {0.5, 0.0, 0.5} (looking down from upper left towards the center of the floor).
I would like to draw a line from the pretend camera "CAM2" model origin, to the center of the floor as it is projected through "CAM1" view.
Obviously a line from "CAM1" to the Lookat point would be invisible. But I can't for my life figure out how to apply the correct conversions to the vector end point for "CAM2".
As can be seen in the snashot, the line (green) from "CAM2" points to.... well.. Russia?? :-D
Can anyone help?
BR
Per