Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9252985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:05:59+00:00 2026-06-18T11:05:59+00:00

In Silverlight, I am embedding a 3D model using XNA. The model is rendered

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T11:06:00+00:00Added an answer on June 18, 2026 at 11:06 am

    I found the solution accidentally, the DrawingSurface control was embedded within a canvas, which in turn was embedded within a Grid. The canvas had a height and width specified which was larger than the grid row which also had a height and width specified.

    So correcting the canvas height and width, and also setting a height and width to the DrawingSurface control instantly fixed the issue.

    Note that I also tried various sizes for the DrawingSurface and found that a size roughly 2x the size of the canvas it was embedded in gave the best resolution.

    Hope this helps anyone who has this bizarre issue!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a silverlight application that I am embedding in an existing ASP.NET web
I'm having a weird issue with my Silverlight 4 project, although it's one I've
using Silverlight I am having trouble with the following code: CultureInfo culture = new
I have a Silverlight application that is using a navigation frame. I am trying
Silverlight, Flash, and JavaScript, oh my.. I have a couple of applications that I
I would like to port an ActiveX of mine (to Silverlight) that have the
Using Silverlight 4, Oracle 11g, and Entity Framework 4. I use a DataServiceQuery to
Using Silverlight 4 / MVVM. I am trying to bind a ViewModel to a
Situation : Silverlight 4 app communicating with a server component through WCF, using basicHttpBinding
Silverlight validation using INotifyDataErrorInfo was working great with its slick error displays until I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.