HDTenEightyP/NetNews huggingface dataset:
From: avs@ncsc.org (Terry Myerson)
Subject: New module at IAC
Organization: North Carolina Supercomputing Center
Date: Wed, 14 Oct 1992 14:15:25 GMT

Name        : field2_to_Math  Version      : 1.000     Mod Number : 1539 
Author      : Tom Wickham-Jones, Wolfram Research
Submitted   : 10/14/92        Last Updated : 10/14/92  Language   : C        
Ported to   : Sun DEC Kubota
Description : The "field2 to Math" module allows a two-dimensional
              scalar field to be imported into Mathematica from AVS. When
              the "field2 to Math" module is invoked an xterm is started
              running Mathematica with the input and output of the xterm
              directed to and from the Mathematica session main loop.
              Entering Mathematica commands into the window will result
              in the appropriate Mathematica results. The session is
              initialised with a package of Mathematica commands which
              have started a MathLink communication channel to AVS.
              Other initialisations are made so that the Mathematica
              command AVSReadField[ ] will read a two-dimensional
              scalar field from AVS. Please note that at the present time
              the IAC does not have Mathematica installed on a DEC, Sun, or
              Kubota platforms. As a result this module was placed on the
              ftp site using the Makefiles provided by the author,
              without testing.
-- 
International AVS Center
North Carolina Supercomputing Center
avs@ncsc.org
Newsgroups: comp.graphics.avs
From: vpham@cs.ulowell.edu (Vinh Pham)
Subject: OFF to GEOM??
Organization: University of Massachusetts at Lowell Computer Science
Date: Thu, 8 Oct 1992 21:39:55 GMT

hi,
is there a converter from OFF format to GEOM format; what about
GEOM to OFF?
Please reply by email.
Thanks 
huyvo
Newsgroups: comp.graphics.avs
From: rcion@rw5.urc.tue.nl (Ion Barosan)
Newsgroups: comp.graphics.avs
Subject: 2D arrows
Date: 12 Oct 92 15:30:59 GMT
Reply-To: rcion@urc.tue.nl

I would like to get a vector plot, a 2D vector plot using AVS.
I have un irregular filed data, organized as (17x19):

    x y    ux  uy 
    .............
    .............
    .............


Is there a module that can make a vector plot using as input
an 2D field data ?

Any help will be appreciated .

Thanks in advance,

- Ion Barosan.
-- 
internet: rcion@urc.tue.nl      | Ion Barosan         Room  RC 1.88
fax:      +31 (0)40 434438      | Eindhoven University of  Technology
phone:    +31 (0)40 472154      | P.O. Box 513, 5600 MB Eindhoven, NL
Newsgroups: comp.graphics.avs
From: avs@ncsc.org (Terry Myerson)
Subject: New module at IAC
Organization: North Carolina Supercomputing Center
Date: Wed, 14 Oct 1992 14:31:22 GMT

Name        : geom_from_Math  Version      : 1.000     Mod Number : 1541 
Author      : Oleg Perelet, Wolfram Research
Submitted   : 10/14/92        Last Updated : 10/14/92  Language   : C        
Ported to   : Sun DEC Kubota
Description : The "geom from Math" module allows three-dimensional
              graphics commands in Mathematica to supply AVS with an
              input geometry. When the "geom from Math" module is invoked
              an xterm is started running Mathematica with the input and
              output of the xterm directed to and from the Mathematica
              session main loop. Entering Mathematica commands into the
              window will result in the appropriate Mathematica
              results. The session is initialised with a package of
              Mathematica code which starts a MathLink communication
              channel to AVS. Other initialisations are made so the
              typical Mathematica three dimensional graphics commands
              such as Plot3D or ParametricPlot3D send their results into
              AVS rather than rendering them in the more typical
              Mathematica ways. Please note that at the present time the
              IAC does not have Mathematica installed on a DEC, Sun, or
              Kubota platform. As a result this module was placed on the
              ftp site using the Makefiles provided by the author,
              without testing.
-- 
International AVS Center
North Carolina Supercomputing Center
avs@ncsc.org
Newsgroups: comp.graphics.avs
From: tvv@ncsc.org (Terry Myerson)
Subject: Re: Allocating memory fro strings
Reply-To: tvv@ncsc.org 
Organization: North Carolina Supercomputing Center
Date: Thu, 15 Oct 1992 16:04:33 GMT

the file browser string comes in as a char *browser

the output port needs to go out as a char **output

*output=strdup(browser)

-terry

ps you can name the variables whatever you want !!

Terry Myerson
International AVS Center
North Carolina Supercomputing Center
tvv@ncsc.org
Newsgroups: comp.graphics.avs
From: phillips@acs.ucalgary.ca (Doug S. Phillips)
Subject: Re: 2D arrows
Date: Wed, 14 Oct 92 18:14:10 GMT
Organization: The University of Calgary, Alberta
Keywords: hedgehog, ucd hog, 2-D vector fields

Hedgehog has a number of limitations, such as not being able to
conveniently place arrows at the exact positions of the original data
(even if it is uniform).  There also seem to be an unfortunate lower
limit on the vector scale.

Therefore, when recently faced with the problem of displaying 2-D vector
fields myself, I found the 'node' option in ucd hog module more appropriate. 
This draws arrows at the position of the input data points.
I have a short FORTRAN program to convert an irregular 2-D field of 
2-D vector components into an ASCII ucd file (using point elements
with a 3-D vector at each point).  It is not packaged for public
consumption, but I will mail it to anyone who wants it.

I was not completely satisfied with the result from ucd hog, in that
it could produce colour-coded arrows of a constant length, or white
arrows with a length proportional to the vector magnitude, but not
coloured arrows with a length proportional to the vector magnitude.

A useful addition to AVS would be hedgehog or ucd hog-like modules
(that is, modules that provide 'glyphs', such as arrows, at an 
arbitrary set of input data points) that provide for more flexibility:

 - provide direct support for 2-D fields
 - provide direct support for rectilinear, curvilinear and scatter data
 - accept an input vector field to provide direction information
 - accept an input scalar field to provide scaling information (not
   necessarily proportional to the magnitude of the vector field).
 - colour the glyph according to yet another field.
-- 
*********************
Doug S. Phillips
Academic Computing Services, The University of Calgary
Internet: phillips@acs.ucalgary.ca         Telephone: (403) 220-8445
Newsgroups: comp.graphics.avs
From: davidb@doppler.ncsc.org (David Bennett)
Subject: testimonial
Organization: North Carolina Supercomputing Center
Date: Wed, 7 Oct 1992 14:00:56 GMT

CALL FOR TESTIMONIALS

The International AVS Center is preparing its
advance registration for the '93 Conference and
would like to add testimonials from users.  Please
email to avs@ncsc.org attn: David Bennett as soon
as possible.  Deadline is Oct 15th.

We need testimonials from both AVS Users and Vendors.

Thanks.

Newsgroups: comp.graphics.avs
From: avs@ncsc.org (Terry Myerson)
Subject: New module at IAC
Organization: North Carolina Supercomputing Center
Date: Wed, 14 Oct 1992 14:09:15 GMT

Name        : field2_from_MathVersion      : 1.000     Mod Number : 1539 
Author      : Jonathan Cox Oleg Perelet, Department of Computer
              Science, University of Manchester Wolfram Research
Submitted   : 10/14/92        Last Updated : 10/14/92  Language   : C        
Ported to   : Sun DEC Kubota
Description : The "field2 from Math" module allows a two-dimensional
              scalar field to be supplied to AVS. When the "field2 from
              Math" module is invoked an xterm is started running
              Mathematica with the input and output of the xterm directed
              to and from the Mathematica session main loop. Entering
              Mathematica commands into the window will result in the
              appropriate Mathematica results. The session is
              initialised with a package of Mathematica commands which
              have started a MathLink communication channel to AVS.
              Other initialisations are made so that the Mathematica
              command AVSWriteField[ data] will write a
              three-dimensional scalar field to AVS. Please note that at
              the present time the IAC does NOT have Mathematica
              installed on a DEC, Sun, or Kubota platforms. As a result
              this module was placed on the ftp site using the Makefiles
              provided by the author, without testing.
-- 
International AVS Center
North Carolina Supercomputing Center
avs@ncsc.org
From: miller@ece.ucdavis.edu (Mark Miller)
Newsgroups: comp.graphics.avs
Subject: Stardent Stellar Computer For Sale
Date: 8 Oct 92 19:17:59 GMT
Organization: U.C. Davis - Department of Electrical Engineering and Computer Science
Originator: miller@madrone.eecs.ucdavis.edu




I apolagize in advance for posting this message.  However, I thought it would
be the best place to find someone interested in purchasing a Stardent Stellar
Computer.  I am trying to find a buyer for one.  The specific configuration 
is...

   memory:		32M
   disk:		~1G
   processors:	4 scalar, 1 vector, 1 graphics, 1 PC(!!)
   display:	1280x1024x32 bits, ~72 Hz, non-interlaced
   software:	AVS 3.0, Phigs+, Dore, C, ...

Anyone interested in purchasing this machine, please respond to 

   miller@madrone.eecs.ucdavis.edu (Mark Miller (916)-752-8224)

Thank you.
From: bernhard@perm.geologie.uni-freiburg.de (Bernhard Ehrminger)
Newsgroups: comp.graphics.avs
Subject: Does a FAQ for this Group exist?
Date: 9 Oct 1992 13:01:09 +0100
Organization: "Geologisches Institut, Freiburg, Germany"
NNTP-Posting-Host: perm.geologie.uni-freiburg.de

The subject says it all ....
-- 
Bernhard Ehrminger
bernhard@perm.geologie.uni-freiburg.de
From: thune@cmi.no (Nils Thune)
Newsgroups: comp.graphics.avs
Subject: Bug in new_ortho module
Date: 16 Oct 92 07:44:47 GMT
Organization: Christian Michelsen Research a/s

If you got higher dimensions in i or j than in k, and you toggle from either i or j to k with a slice number higher than k's dimension then the module hangs. 

I put this "if statement" into the compute module and it seems to fix it.

/* if made it here, then we're actually going to copy a slice
   over. start off by copying the data itself */

if (slice_number >= inf->dimensions[choice_value]-1)
{
   slice_number = inf->dimensions[choice_value]-1;
   AVSmodify_parameter("Slice number",AVS_VALUE,slice_number,NULL,NULL);
}

-- 



- Nils

--------------------------------
Nils Thune                      
Advanced Computing
Christian Michelsen Research    
Fantoftvegen 38
N-5036 Fantoft, Bergen, Norway  
Email: thune@cmr.no             
Phone: 05 574040
Phone: 05 574355	(Direct)
Fax  : 05 574041                
--------------------------------
Newsgroups: comp.graphics.avs
From: rogero@ifi.uio.no (Roger Olafsen)
Subject: Animation question.
Organization: Dept. of Informatics, University of Oslo, Norway
Date: Thu, 8 Oct 1992 15:55:20 GMT
Originator: rogero@grid.ifi.uio.no



I have some questions.

I want to animate the Gaussian density function:




           2         2     2         2
         -x /(2 sigma ) - y /(2 sigma )
        E
        -------------------------------
                            2
                  2 Pi sigma


for differnt values of sigma.
I didn't find any AVS-routines for reading functions (if there is let me know),
so I made a plot in Mathematica
            saved it in ThreeScript-format
            used the geometry filter ts_to_geom
            and imported it into AVS.

I repeated this for each step of sigma.

And at last made an animation with the display-pixmap module.
The Geometry Action command doesn't work for this ?

Is there an easier way for doing this ?

Newsgroups: comp.graphics.avs
From: thune@cmi.no (Nils Thune)
Subject: Allocating memory fro strings
Organization: Christian Michelsen Research a/s
Date: Thu, 15 Oct 92 09:55:50 GMT

I got a module with a filebrowser. How do I copy the filename of the
filebrowser to a "string" output port in the same module for use as 
input to other modules ?

Can I use AVSdata_alloc() to allocate "string" memory for the output port ? If
so, how should the parameters to this call be specified ?
-- 



- Nils

--------------------------------
Nils Thune                      
Advanced Computing
Christian Michelsen Research    
Fantoftvegen 38
N-5036 Fantoft, Bergen, Norway  
Email: thune@cmr.no             
Phone: 05 574040
Phone: 05 574355	(Direct)
Fax  : 05 574041                
--------------------------------


Newsgroups: comp.graphics.avs
From: vpham@cs.ulowell.edu (Vinh Pham)
Subject: Khoros dfft1d
Organization: University of Massachusetts at Lowell Computer Science
Date: Sat, 10 Oct 1992 17:47:13 GMT

hi,
i am interested in the port of KHOROS' port of dfft1d to AVS;
if that's has already been done, then where i can get the source for that
and how do i get the graph viewer to display the output of dfft1d.
if the graph viewer doesn't do the job, what additional module
is needed to view the output of dfft1d.
please reply by email.
huy
Newsgroups: comp.graphics.avs
From: James Peters <peters@convex.COM>
Subject: Re: Are there any UCD-modules that process midpoint edges
Originator: peters@mikey
Keywords: Ucd, midedge nodes
Reply-To: peters@convex.COM (James Peters)
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
Date: Mon, 12 Oct 1992 20:00:06 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
              Corp. The opinions expressed are those of the user and
              not necessarily those of CONVEX.

In article <1992Oct12.172130.420@news.tu-graz.ac.at> thalli@piis10.joanneum.ac.at (Georg Thallinger (IIS)) writes:
>Hi netters, dear guys from AVS,
>
>   I am currently trying to visualize results from FE-computations. To import
>the results into AVS I am using the ucd structure. The cells are quad-
>riliteral with midedge nodes on every side.(BTW the idea to use only a
>subset of the midegde nodes is, as I know, not very common. So I would
>suggest to introduce additional cell types which are just the basic types
>with all midedge nodes.) 
>  In the documentation it is stated that by setting the appropriate midedge-
>flags, edges with midnodes can be stored. I tried this but none of the
>modules accepting ucd's gave other results |-(. 
>
> >>> So are there any modules taking account of defined midedge points ???
>
>Is there anybody who has experiance with ucd's using midedge points ??
>
>Any help would be appreciated !
>
>Thanks in advance 
>
>Georg
>-- 
>Georg THALLINGER                      | e-mail: thalli@piis10.joanneum.ac.at
>Institute for Information Systems     |         thallinger@joanneum.ada.at
>JOANNEUM RESEARCH GRAZ /  AUSTRIA     | phone:  (++43/316) 8020-243


the generic avs ucd modules have many shortcomings. if you have access to
a convex and it has avs then i would recommend trying the convexavs3.9
module ucd_make_geom.

good luck,
james, peters@convex.com
Newsgroups: comp.graphics.avs
From: buhle@mscf.med.upenn.edu
Newsgroups: comp.graphics.avs
Subject: AVS and LUI documentation
Date: 7 Oct 92 22:12:09 GMT
Organization: Univ of Penn - Med School Computer Facility

In the IAC module display_tracker (track2d.c), there is copious references to 
the LUI resources. Indeed, there is also the /usr/avs/include/lui.h present.

Is there any documentation within AVS (or informal) documenting LUI?

Why do I care? I am trying to mark up "images" with mouse driven input. I want 
to draw lines, etc. all over my pictures. LUI seems to be the best way to go.

Thoughts?

Loren Buhle
Univ. of Pennsylvania
BUHLE@XRT.UPENN.EDU
Newsgroups: comp.graphics.avs
From: tvv@ncsc.org (Terry Myerson)
Subject: Re: 2D arrows
Reply-To: avs@ncsc.org 
Organization: North Carolina Supercomputing Center
Date: Mon, 12 Oct 1992 17:11:51 GMT

Check out ov_slice - a mapper module on the IAC ftp site...

Good luck-

Terry


In article <rcion.718903859@rw5.urc.tue.nl>, rcion@rw5.urc.tue.nl (Ion
Barosan) writes:
**** Begin included article

I would like to get a vector plot, a 2D vector plot using AVS.
I have un irregular filed data, organized as (17x19):

    x y    ux  uy 
    .............
    .............
    .............


Is there a module that can make a vector plot using as input
an 2D field data ?

Any help will be appreciated .

Thanks in advance,

- Ion Barosan.
-- 
internet: rcion@urc.tue.nl      | Ion Barosan         Room  RC 1.88
fax:      +31 (0)40 434438      | Eindhoven University of  Technology
phone:    +31 (0)40 472154      | P.O. Box 513, 5600 MB Eindhoven, NL
**** End included article



---
Terry Myerson
International AVS Center
North Carolina Supercomputing Center
avs@ncsc.org
Newsgroups: comp.graphics.avs
From: avs@ncsc.org (Terry Myerson)
Subject: New module at IAC
Organization: North Carolina Supercomputing Center
Date: Wed, 14 Oct 1992 14:17:42 GMT

Name        : field3_from_MathVersion      : 1.000     Mod Number : 1540 
Author      : Oleg Perelet, Wolfram Research
Submitted   : 10/14/92        Last Updated : 10/14/92  Language   : C        
Ported to   : Sun DEC Kubota
Description : The "field3 from Math" module allows a three-dimensional
              scalar field to be supplied to AVS. When the "field3 from
              Math" module is invoked an xterm is started running
              Mathematica with the input and output of the xterm directed
              to and from the Mathematica session main loop. Entering
              Mathematica commands into the window will result in the
              appropriate Mathematica results. The session is
              initialised with a package of Mathematica commands which
              have started a MathLink communication channel to AVS.
              Other initialisations are made so that the Mathematica
              command AVSWriteField[ data] will write a
              three-dimensional scalar field to AVS. Please note that at
              the present time the IAC does not have Mathematica
              installed on a DEC, Sun, or Kubota platform. As a result this
              module was placed on the ftp site using the Makefiles
              provided by the author, without testing.
-- 
International AVS Center
North Carolina Supercomputing Center
avs@ncsc.org
Newsgroups: comp.graphics.avs
From: larryg@avs.com (Larry Gelberg)
Subject: Re: Animation question.
Organization: Advanced Visual Systems Inc.
X-Newsreader: Tin 1.1 PL4
Date: Fri, 9 Oct 1992 13:54:42 GMT
X-Posted-From: aurora.avs.com
NNTP-Posting-Host: sol.ctr.columbia.edu

: 
: I want to animate the Gaussian density function:
: 
:            2         2     2         2
:          -x /(2 sigma ) - y /(2 sigma )
:         E
:         -------------------------------
:                             2
:                   2 Pi sigma
: 
: for differnt values of sigma.
: I didn't find any AVS-routines for reading functions (if there is let me know),
:
: I repeated this for each step of sigma.
: 
: And at last made an animation with the display-pixmap module.
: The Geometry Action command doesn't work for this ?
: 
: Is there an easier way for doing this ?

If I understand your problem correctly, you have several options 
available to you:

1) Write an AVS module which creates a "field 2D uniform scalar float"
where the X and Y indicies of the 2D field are the x's and y's in your
equation above.  See the "read image" module in the /usr/avs/examples
directory for a starting place.  The output from this module can then
be fed into the "field to mesh" module to create a 3D surface. 

2) Animating the surface:  presumably your module will have sigma as
a parameter, so that you can either vary it by hand or drive it 
automatically.  One way to do this is to hook up the ANIMATED FLOAT
module to sigma.

3) Your module could be written as a 'co-routine' module which runs
asynchronously and drives itself (as opposed to option 2 above)

4) You should be able to do what you have described above - using 
Mathematica and then dumping the results into AVS and storing up the 
geoms in the Geometry Viewer 'Action' menu.  There is a module at the 
International AVS Center (avs@ncsc.org) written by the Mathematica
folks which should facilitate this.  If you don't get this working,
try your customer support group.

Do these alternatives give you encouragement to try again?  I hope
so.  Let us know how you make out.

larryg

--
=== Larry Gelberg ============================ larryg@avs.com =======
      Advanced Visual Systems Inc. (AVS Inc.)
      300 Fifth Ave, Waltham, MA 02154
===== Tel: 617-890-4300 = Fax: 617-890-8287 =========================
Newsgroups: comp.graphics.avs
From: thalli@piis10.joanneum.ac.at (Georg Thallinger (IIS))
Subject: Are there any UCD-modules that process midpoint edges
Keywords: Ucd, midedge nodes
Organization: Joanneum Research (IIS)
Date: Mon, 12 Oct 92 17:21:30 GMT

Hi netters, dear guys from AVS,

   I am currently trying to visualize results from FE-computations. To import the results into AVS I am using the ucd structure. The cells are quadriliteral with midedge nodes on every side.(BTW the idea to use only a subset of the midegde nodes is, as I know, not very common. So I would suggest to introduce additional cell types which are just the basic types with all midedge nodes.) 
  In the documentation it is stated that by setting the appropriate midedge-flags, edges with midnodes can be stored. I tried this but none of the modules accepting ucd's gave other results |-(. 

 >>> So are there any modules taking account of defined midedge points ???

Is there anybody who has experiance with ucd's using midedge points ??

Any help would be appreciated !

Thanks in advance 

Georg
-- 
Georg THALLINGER                      | e-mail: thalli@piis10.joanneum.ac.at
Institute for Information Systems     |         thallinger@joanneum.ada.at
JOANNEUM RESEARCH GRAZ /  AUSTRIA     | phone:  (++43/316) 8020-243
Newsgroups: comp.graphics.avs
From: rsignell@crusty.er.usgs.gov (Richard P. Signell)
Subject: 24 bit animation ==> 8 bit animation
Organization: U.S. Geological Survey, Woods Hole, MA
Date: Thu, 15 Oct 92 18:38:54 GMT

I have a nice little AVS animation which generates a bunch 
of 24 bit images, and I'd like to stuff these into a 8-bit
HDF file so that colleagues without AVS and 24-bit displays
could look at the animation with NCSA's ximage or xdataslice.

The problem: 
From the 24-bit animation images, I need corresponding 
8-bit animation images and a single 8-bit colormap.

One approach, which seems a bit brute force, is to save each
AVS image in a separate file, convert one of the frames to 8-bit 
using the PBM+ tool  

"ppmquant 256 avs.image.001 > cmap", 

then use that frame as a colormap for all the other frames

"ppmquant -map cmap avs.image.001 > ppm.image.001"

then finally convert the ppm images to hdf.

This all seems pretty crude.  I'm wondering if someone has a 
better idea?

Thanks,
--
Rich Signell               |  rsignell@crusty.er.usgs.gov
U.S. Geological Survey     |  (508) 457-2229  |  FAX (508) 457-2310
Quissett Campus            |  "George promised to be good... 
Woods Hole, MA  02543      |  ... but it is easy for little monkeys to forget."
Newsgroups: comp.graphics.avs