How To Draw Torus(Mesh)?
i couldnt draw a torus.can u please help me?
im using C# 2.0 and DirectX 101
i couldnt draw a torus.can u please help me?
im using C# 2.0 and DirectX 101
I hope this helps.
Take care.
thanks a lot,
i have used Mesh.Torus but,the camera is showing in the mid of Torus.How can i show a Torus with 3rd person view?
i think my problem is all about the location of camera.
thanks again
Take Care
device.Transform.View = Matrix.LookAtLH(New Vector3(0.0F, 2.5F, 8.0F), New Vector3, New Vector3(0, 1, 0))
in your OnDeviceReset event handler.
notes:
device - your Direct3D device
8.0f - how far camera will be from coordinates center