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 6382607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:32:39+00:00 2026-05-25T02:32:39+00:00

3D surface rotation in Mathematica 7 with anti-aliasing turned off is very fast and

  • 0

3D surface rotation in Mathematica 7 with anti-aliasing turned off is very fast and smooth. However, turning on anti-aliasing, even at a moderate level, drastically reduces the rendered frame rate, making rotation very choppy. This happens to a much greater degree in Mathematica than it does in other 3D applications.

  1. Why is anti-aliasing disproportionately slower in Mathematica?

  2. A way to greatly enhance the feel of 3D graphics would be to turn off AA during rotation, but turn it on as soon as rotation is stopped. Can this be done in Mathematica 7?


An example was requested. I will use a variation of Mike’s code. Please try the following with Edit > Preferences > Appearance > Graphics first set to No antialiasing and then Highest quality. Also try the settings in between. For me, any setting besides No antialiasing is not smooth. I can visually distinguish three different levels of AA, so it is not a matter of my GPU forcing all or none, yet all of them are slow.

Animate[Plot3D[{x^2 + y^2, -x^2 - y^2}, {x, -2, 2}, {y, -2, 2},
  ImageSize -> 700,
  ViewPoint -> 
   Dynamic[{Sin[theta] Cos[phi], Sin[theta] Sin[phi], Cos[theta]}]],
 {theta, 0, Pi}, {phi, 0, 2 Pi},
 RefreshRate -> 120
]

UPDATE and OBSERVATION

While playing around with Alexey and Mike’s code, something strange and good happened. I suddenly have smooth antialiased rotation! I don’t know what precipitated the change, and I have not closed Mathematica for fear that it will go away, but this proves what I suspected, that it CAN be fast.

More strange, I have the slow and fast behavior happening in parallel in the same notebook. One graphic is rotating smoothly, and another produced with the same code is choppy. I theorize that some cell option was modified by running Alexey and Mike’s code, and it is having a very desirable effect. I am going to do my best to figure out what it is.


The helpful options were RotationAction -> "Clip", SphericalRegion -> True that appeared in Alexey’s code incidentally. These, or their effect (ViewAngle), “stick” with a graphic in the same way that rotation does, therefore I was able to type new code without these options over the old, and run it, and still get the smooth rotation (which explains what I saw above). See answers below for some elaboration.

While a viable workaround has been discovered, I am still interested in an explanation for the choppy rotation with AA on. I do not believe that the “fitting” of the graphic is an explanation, but merely a correlation, as the fitting still needs to take place with AA off, and yet the rotation is smooth.

  • 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-05-25T02:32:40+00:00Added an answer on May 25, 2026 at 2:32 am

    I appear to have discovered—for my configuration—a magic option that allows for smooth 3D rotation with full antialiasing on. This works for every 3D plot type I have tried therefore unless this also magically stops working I have my solution. I am very interested to know if this has the same effect on other systems.

    The option is ViewAngle. Any numeric value appears to work; Automatic does not.

    Evaluating the code below the first graphic rotates poorly and the second graphic rotates smoothly.

    Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}, ImageSize -> 900]
    
    Plot3D[Sin[x + y^2], {x, -3, 3}, {y, -2, 2}, ImageSize -> 900, ViewAngle -> 0.43]
    

    I have a problem with Mike’s RotationAction -> "Clip" method, in that I get unexpected and sometimes extreme cropping when rotate the graphic. However, adding SphericalRegion -> True restores the behavior that I get with ViewAngle, and the angle is chosen automatically:

    Plot3D[{x^2 + y^2, -(x^2 + y^2)}, {x, -2, +2}, {y, -2, +2}, 
     ImageSize -> 700, SphericalRegion -> True, RotationAction -> "Clip"]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a 3rd-party rotator object, which is providing a smooth, random rotation
I am using a 3rd-party rotator object, which is providing a smooth, random rotation
I have seen 3d surface plots of data before but i do not know
I have a 3D surface ( such as a cone). It is projected to
I have a 3D surface, (think about the xy plane). The plane can be
My app has many controls on its surface, and more are added dynamically at
Imagine that HTML page is a game surface (see picture). User can have n
How do I fit a 2D surface z=f(x,y) with a polynomial in numpy with
I know it's possible to place a PyCairo surface inside a Gtk Drawing Area.
I'm using .NET to make an application with a drawing surface, similar to Visio.

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.