MathGroup Archive 2009

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

Search the Archive

Re: Manipulate, Opacity, slow down

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99743] Re: Manipulate, Opacity, slow down
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 13 May 2009 05:06:06 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <gubgcj$9t3$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

adding transparency will slow down an any hardware accelerated
rendering system.

And with
f1[t_] := {Cos[t], Sin[t], t}


AbsoluteTiming[
   ParametricPlot3D[f1[t], {t, 0, 2 Pi}, PlotPoints -> 4096]][[1]]

gives
0.1110000

but
AbsoluteTiming[
   ParametricPlot3D[f1[t] // Evaluate, {t, 0, 2 Pi},
    PlotPoints -> 4096]][[1]]

gives
0.075

and this is nearly the same as

AbsoluteTiming[
   ParametricPlot3D[{Cos[t], Sin[t], t}, {t, 0, 2 Pi},
    PlotPoints -> 4096]][[1]]

with
0.079

Regards
   Jens


janos wrote:
> I wonder if you can give me some hints without a code.
> I have a program using Manipulate[ParametricPlot[f[a]]].
> 1. If I define outside the function f used in ParametricPlot, and then
> insert the function name into ParametricPlot, then the program slows
> down extremely compared to the version when the formula of the
> function is inserted.
> 2. If I add Opacity to the Directives, again the timing increases
> tremendously.
> 
> If you think you could help seeing the (long) code I'll be ready to
> show it.
> 
> Thank you,
> 
> J=E1nos
> 


  • Prev by Date: Focus ring for controls
  • Next by Date: Matrix Minimization
  • Previous by thread: Manipulate, Opacity, slow down
  • Next by thread: Re: Manipulate, Opacity, slow down