WPF 3D Perspective camera question -


I am working on a 3D flip control which can horizontally flip horizontally and any size and square Or rectangular shape. / P>

As long as I am doing this work, I went into a very strange problem with perspective camera when I made a mesh geometry 3D so I would scale the material in the proper proportion. If width> height, all is fine though, if height> width, then 3D mesh is very small size.

It was decided that there was only one thing (if height> width) on perspective camera, change the uptake in 0 to 0 0 to 0 and implement 90 rotate transforms. When I do this, everything looks right.

Does anyone know why this is?

Thanks

FieldOfView to play with property Try, this is the angle on which the camera is "visible". In your case, the FOV should be changed by multiplying the ratio by height / width .


Comments