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


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

Re: FrontEnd: Rotation of "heavy" graphics objects

From "djmpark" <djmpark@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: FrontEnd: Rotation of "heavy" graphics objects
Date 2012-09-06 08:15 +0000
Message-ID <k29m2k$a9p$1@smc.vnet.net> (permalink)
References <11506884.26508.1346829133835.JavaMail.root@m06>
Organization Time-Warner Telecom

Show all headers | View raw


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




Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web