Sign in to follow this  

help to set camera position to see this point

Recommended Posts

HI, i have build a project in visual basic to see a point.When i place the point in (0,0,0) i can see it for a few seconds, i have placed a point in (-0.37,2.29,1.71), but i can see it, i am sure that is because of the position of the camera, anyone could tell the right position of the camera to see that point? this are my settings to see(0,0,0) point: device.MultiplyTransform(TransformType.Projection, Matrix.PerspectiveFovLH(Math.PI / 4, _ Me.Width / Me.Height, 0.001, 50)) device.MultiplyTransform(TransformType.World, Matrix.LookAtLH(New Vector3(0, 0, 3), New Vector3(0, 0, 0), New Vector3(0, 1, 0))) Thank´s

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this