MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: FrontEnd: Rotation of "heavy" graphics objects

  • To: mathgroup at
  • Subject: [mg127987] Re: FrontEnd: Rotation of "heavy" graphics objects
  • From: Alexei Boulbitch <Alexei.Boulbitch at>
  • Date: Fri, 7 Sep 2012 04:57:30 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

I am wondering if others would find the following feature useful, or
might know how to do this with the current FrontEnd:

When rendering "very heavy" graphics objects
---for example, but I don't recommend doing this---
Plot3D[Sin[10 Sqrt[x^2  + y^2]]/Sqrt[x^2 + y^2], {x, -Pi,
  Pi}, {y, -Pi, Pi}, MaxRecursion -> 10]

Live rotation, panning, and magnification of the graphics object are
understandably slow.

I am wondering if it would be possible to have a graphics rotation modes
a) a lower order graphic is rotated (as in the the PerformanceGoal
option works in Manipulate)
b) Only a bounding box  (or an x-y-z axis object) would rotate, and then
the heavy graphics object would be re-rendered only once.

Craig Carter

Hi, Craig,

The option making the object heavy is MaxRecursion->10. Namely, 10 is too high. If you take  MaxRecursion->4 instead, the mouse rotation of the image will be easy. With MaxRecursion->5 it takes several seconds to catch up the image for the first time, but then rotations go "frictionless". It is always the compromise between the image quality and the difficulty of its rotation. You may also try another method of improving the image quality. Say, make an option PlotPoints -> nn instead of MaxRecursion and try sequentially nn, 30, 40, 50. Each time the quality improves, but rotation somewhat slows down.  
I hope this helps,

Have fun, Alexei

Alexei BOULBITCH, Dr., habil.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch at

  • Prev by Date: LaunchKernels[] and Java
  • Next by Date: system of simple PDE
  • Previous by thread: Re: FrontEnd: Rotation of "heavy" graphics objects
  • Next by thread: Re: FrontEnd: Rotation of "heavy" graphics objects