🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.avs
Article #209

Re: 2D arrows

#209
From: Doug S. Phillips
Date: Wed, 14 Oct 1992 18:14
33 lines
2287 bytes
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
Technical Details
Message-ID: <92Oct14.181410.20088@acs.ucalgary.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!phillips
References: <Bw3CCH.8Gz@doppler.ncsc.org>

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.avs
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!phillips
From: phillips@acs.ucalgary.ca (Doug S. Phillips)
Subject: Re: 2D arrows
Sender: news@acs.ucalgary.ca (USENET News System)
Message-ID: <92Oct14.181410.20088@acs.ucalgary.ca>
Date: Wed, 14 Oct 92 18:14:10 GMT
References: <Bw3CCH.8Gz@doppler.ncsc.org>
Nntp-Posting-Host: acs4.acs.ucalgary.ca
Organization: The University of Calgary, Alberta
Keywords: hedgehog, ucd hog, 2-D vector fields
Lines: 33