[comp.sys.sgi] 3D math rendering

mjz@texhrc.UUCP (Michael Zeitlin) (05/05/90)

   Does anybody know of some easy to use code that takes math
    functions and renders them on the Iris in 3D complete
     with color, lighting and shading?

     I am working with power functions of the type (1/x)^-A.
     I want to view Y as a function of X for a family of A's
     with X varying in the "third" dimension.    Any suggestions?

     I tried playing with wavefront's Visualizer with no success.
     Before I start writing Gl to do this, I just know this must
     have been done before....any suggestions will be most
     appreciated....I'll post any solutions e-mailed to me....


     !nuchat!texhrc!mjz  

blbates@AERO4.LARC.NASA.GOV ("Brent L. Bates AAD/TAB MS361 x42854") (05/06/90)

    If I needed to plot a function like you suggest and needed a quick
look, I would right a quick program to generate a file with all the
points in it and then display it with PLOT3D and/or SURF.  These are
two programs written at Ames, free for U.S. dissemination only.  They
are also suppose to be releasing some new software called FAST.
--

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 361
	Hampton, Virginia  23665-5225
	(804) 864-2854
	E-mail: blbates@aero4.larc.nasa.gov or blbates@aero2.larc.nasa.gov

ianh@merlin.bhpmrl.oz.au (Ian Hoyle) (05/07/90)

From article <416@texhrc.UUCP>, by mjz@texhrc.UUCP (Michael Zeitlin):
> 
>    Does anybody know of some easy to use code that takes math
>     functions and renders them on the Iris in 3D complete
>      with color, lighting and shading?

Yep, take a look at Mathematica from Wolfram Research :-)

			ian
--

                Ian Hoyle
     /\/\       
    / / /\      BHP Melbourne Research Laboratories
   / / /  \     245 Wellington Rd, Mulgrave, 3170
  / / / /\ \    AUSTRALIA
  \ \/ / / /
   \  / / /     Phone   :  +61-3-560-7066
    \/\/\/      ACSnet  :  ianh@merlin.bhpmrl.oz.au
                Internet:  ianh%merlin.bhpmrl.oz.au@uunet.uu.net

gold@puck.wpd.sgi.com (Michael Gold) (05/07/90)

In article <1535@merlin.bhpmrl.oz.au.bhpmrl.oz> ianh@merlin.bhpmrl.oz.au (Ian Hoyle) writes:

   From article <416@texhrc.UUCP>, by mjz@texhrc.UUCP (Michael Zeitlin):
   > 
   >    Does anybody know of some easy to use code that takes math
   >     functions and renders them on the Iris in 3D complete
   >      with color, lighting and shading?

   Yep, take a look at Mathematica from Wolfram Research :-)

Mathematica is available through your SGI sales rep.  Our
implementation is rather impressive, especially if you have used
Mathematica on other platforms.  For more information, contact your
sales rep or me.

 -- Mike

--
    Michael I. Gold	 	You go your way, I'll go mine,
    Silicon Graphics Inc.	I don't care if we get there on time,
    Internet: gold@sgi.com	Everybody's searching for something they say,
    Voice: (415) 335-1709	I'll get my kicks on the way...

hultquis@nas.nasa.gov (Jeff P. M. Hultquist) (05/08/90)

>   From: gold@puck.wpd.sgi.com (Michael Gold)
>   Newsgroups: comp.sys.sgi
>
>   Mathematica is available through your SGI sales rep.  Our
>   implementation is rather impressive, especially if you have used
>   Mathematica on other platforms.
>
>   Michael I. Gold	 
>   Silicon Graphics Inc.

"Impressive"?!

Mathematica on the IRIS provides only a command line 
interface.  There is no support for the editing of 
notebooks; unlike "other platforms" such as the NeXT
and the Mac.
 
Remote users of Mathematica have access only to the 
Postscript graphics.  The shaded-graphics of the GL
cannot be used remotely.

Mathematica on the IRIS is _adequate_.

--
--
Jeff Hultquist				hultquis@nas.nasa.gov
NASA - Ames Research Center		(415) 604-4970
Disclaimer:  "I am not a rocket scientist."

gold@puck.wpd.sgi.com (Michael Gold) (05/08/90)

   From: hultquis@nas.nasa.gov (Jeff P. M. Hultquist)
   Newsgroups: comp.sys.sgi

   Mathematica on the IRIS provides only a command line 
   interface.  There is no support for the editing of 
   notebooks; unlike "other platforms" such as the NeXT
   and the Mac.

True; however this is easily worked around.  Since I use Mathematica
inside of emacs, I have all the editting capability I need.  Also,
certain shells have built-in command line editting capabilities.  I
hear your gripe, however, and will look into adding this feature for a
future release.  With the possible exception of the NeXT, no other
UNIX implementation of Mathematica provides this feature.

   Remote users of Mathematica have access only to the 
   Postscript graphics.  The shaded-graphics of the GL
   cannot be used remotely.

By "remotely" you must mean on another IRIS, right?  Through the magic
of dgl this should be fairly easy to correct in a future release.  Of
course, what you can do with Mathematica on your console cannot be
done *anywhere else* on *any other* platform.

   Mathematica on the IRIS is _adequate_.

Graphics aside, Mathematica on the IRIS blows doors on the NeXT and
the Mac in pure computational speed.  At a recent trade show, an
attendee came by out booth with a formula for a surface which took
nearly ten minutes to calculate (and longer to draw) on a NeXT
machine.  We typed it in for fun, and a Personal Iris computed AND
drew the surface in less than two minutes.

Apparently you are familiar with the GL extensions.  There is NO OTHER
implementation of Mathematica which allows the manipulation (i.e.
real-time rotations, lighting and shading) of rendered surfaces that
can be done on the IRIS.  This is the functionality in which Mr.
Zeitlin expressed an interest, and I truly believe Mathematica on the
IRIS is the best solution for him.

Despite the apparent defensive tone of my response, I appreciate your
feedback.  You raise good points, and they are noted.

 -- Mike

--
    Michael I. Gold	 	You go your way, I'll go mine,
    Silicon Graphics Inc.	I don't care if we get there on time,
    Internet: gold@sgi.com	Everybody's searching for something they say,
    Voice: (415) 335-1709	I'll get my kicks on the way...