In Silverlight, I am embedding a 3D model using XNA. The model is rendered in a DrawingSurface control. The issue I am having is that the model render is quite poor in quality. The model has jagged edges even with anti aliasing turned on (see code below), and the model is also blurry.
Dim comp As New OffscreenCompositionMode comp.PreferredMultiSampleCount = 4 comp.RenderTargetUsage = RenderTargetUsage.DiscardContents comp.PreferredDepthStencilFormat = DepthFormat.Depth24 drawingSurfaceCtl.CompositionMode = comp
I tried adjusting the multiSampleCount, camera position, lens and etc but to no effect. Does anyone have any suggestions on how to improve Anti Aliasing?
Also note that this is designed as an out of browser app on pc, and the xna game library cannot be used in this solution.
Thanks
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog