[Date Index]
[Thread Index]
[Author Index]
Re: FrontEnd: Rotation of "heavy" graphics objects
*To*: mathgroup at smc.vnet.net
*Subject*: [mg127973] Re: FrontEnd: Rotation of "heavy" graphics objects
*From*: "djmpark" <djmpark at comcast.net>
*Date*: Thu, 6 Sep 2012 04:15:15 -0400 (EDT)
*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com
*Delivered-to*: l-mathgroup@wolfram.com
*Delivered-to*: mathgroup-newout@smc.vnet.net
*Delivered-to*: mathgroup-newsend@smc.vnet.net
*References*: <11506884.26508.1346829133835.JavaMail.root@m06>
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 at comcast.net
http://home.comcast.net/~djmpark/index.html
From: W Craig Carter [mailto:ccarter at 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
Prev by Date:
**Re: A new FrontEnd**
Next by Date:
**Re: A new FrontEnd**
Previous by thread:
**FrontEnd: Rotation of "heavy" graphics objects**
Next by thread:
**Re: FrontEnd: Rotation of "heavy" graphics objects**
| |