I have an image with and have a few values to make it a perspective in Silverlight, but can’t quite figure out what I need to do mathmatically to make it happen. The most important thing is I have an angle called a “Field of View” (FOV).
This is the normal picture:

For example:
X = 30° X = 30° X = 30° FOV = 30° FOV = 60° FOV = 120°![]()
![]()
X = 60° X = 60° X = 60° FOV = 30° FOV = 60° FOV = 120°
![]()
![]()
![]()
Any help would be appreciated to walk me through the math to reproduce these in Silverlight.
X = 60° X = 60° X = 60°
FOV = 30° FOV = 60° FOV = 120°
I think the problem everyone is encountering is that there needs to be a viewport shift along with the perspective transformation.
Try this out:
This will create the appropriate perspective shift and match what PowerPoint is producing.
This code was adapted from MSDN.