Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11631 > unrolled thread

Re: FrontEnd: Rotation of "heavy" graphics objects

Started by"djmpark" <djmpark@comcast.net>
First post2012-09-06 08:15 +0000
Last post2012-09-06 08:15 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: FrontEnd: Rotation of "heavy" graphics objects "djmpark" <djmpark@comcast.net> - 2012-09-06 08:15 +0000

#11631 — Re: FrontEnd: Rotation of "heavy" graphics objects

From"djmpark" <djmpark@comcast.net>
Date2012-09-06 08:15 +0000
SubjectRe: FrontEnd: Rotation of "heavy" graphics objects
Message-ID<k29m2k$a9p$1@smc.vnet.net>
Craig,

I don't know what your actual heavy graphics consists of, but for your
example I think one can get acceptable behavior by eliminating the Mesh.

Plot3D[Sin[10 Sqrt[x^2 + y^2]]/Sqrt[
 x^2 + y^2], {x, -\[Pi], \[Pi]}, {y, -\[Pi], \[Pi]},
 Mesh -> None,
 MaxRecursion -> 10,
 PerformanceGoal -> "Quality"] 

When one tries to rotate it with the mouse it takes 5 seconds or so for the
mouse to "grab" the image but then it rotates fairly readily. 

Is it a great loss to eliminate the Mesh? Meshes generally falls into the
category of "computer junk".

Otherwise, one could make a custom dynamic presentation with two graphics,
the first would be a simpler schematic that was rotated with say Slider
controls and Euler angles, and the second heavy graphics would only be
regenerated with an action button. Both images would be rotated within the
box. Or if you were only rotating about a single axis I think you can set
the slider so the action is performed only when the slider is released. This
is obtained using the ContinuousAction option.


David Park
djmpark@comcast.net 
http://home.comcast.net/~djmpark/index.html 



From: W Craig Carter [mailto:ccarter@MIT.EDU] 


Hello,
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
where:
a) a lower order graphic is rotated (as in the the PerformanceGoal option
works in Manipulate) or
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




[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web