MathGroup Archive 2005

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

Search the Archive

Re: Superellisoid

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53730] Re: Superellisoid
  • From: "Narasimham" <mathma18 at hotmail.com>
  • Date: Tue, 25 Jan 2005 05:03:34 -0500 (EST)
  • References: <cst5k0$k1b$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

The following works .1 < n < 6 OK.
e = .6 ; n = 2.5;
ztmp = 1 - (Abs[x]^(2/e) + Abs[y]^(2/e))^(e/n)
z = ztmp^(n/2)
Plot3D[z, {x, -2, 2}, {y, -2, 2}, PlotPoints -> {35, 35}];
Graphics << RealTime3D` may  not seem to work properly.
Damon LePleur wrote:
> Thanks for reading this. I'm a graphic artist I'm trying to get a
> functional notebook for exporting a superellipsoid object out to a
> ..dxf format. I can produce the object in Pov-Ray and paste it into
my
> work as a graphic file but I would like to be able to manipulate it
> directly in a 'manageable' program such as make use of .obj and .dxf
> files.
>
> the pov source code says:
>
> *    Superellipsoids are defined by the implicit equation
> *
> *      f(x,y,z) = (|x|^(2/e) + |y|^(2/e))^(e/n) + |z|^(2/n) - 1
> *
> *    Where e is the east/west exponent and n is the north/south
> exponent.
>
> what that means I can't imagine, the objects in Pov are pre-computed
> and it's always been nice to just be able to type the code as :
>
> superellipsoid {<3, 3> pigment { Red } scale 2}
>
> hit 'render' and out it pops. this makes the shape I desire as at
>
> http://mywebpages.comcast.net/sdbennett/stuff/SUPELLPSoid_Example.jpg
>
> I can then duplicate and manipulate the object, but POV lacks a lot
of
> the options I like now in other programs such as Bryce and Cinema 4D,
> so I want this object.
>
> Can someone help? My wife has a copy of Mathematica at Vanderbilt but
> I'm not able to really fiddle with it much and that's all I can do is
> fiddle, I'm not any good with math at all, I just need this 'simple'
> object.
>
> Thanks in advance for your help, I have finally managed to export
> objects to .dxf after what took forever for me to figure out the
> program. Thanks again I appreciate and admire your expertise.
>
> Sincerely,
> 
> Steve Bennett
> www.karmastorm.com
> sdbennett at comcast.not


  • Prev by Date: Re: simplifying inside sum, Mathematica 5.1
  • Next by Date: Re: Maxima & Minima
  • Previous by thread: Superellisoid
  • Next by thread: Re: Superellisoid