comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Displaying 3-D vector fields
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Displaying 3-D vector fields [message #32823 is a reply to message #32726] Thu, 14 November 2002 12:13 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Jim" <jim.blackwell@gsfc.nasa.gov> wrote

> what scales the size of the arrow (the length of the arrow relative to
> the shaft)?

The vector is scaled according to the sqrt() of the sum of the squares of
the components of the magnitude. The *entire* vector is scaled, head and
all since I am using the model's transformation matrix to do the work for
me. The vector is not drawn if the magnitude is 0.


> Is the default vector that is drawn of unit length ?

Yes, the default vector is 1 unit long. It's default magnitude is [0,0,-1]
which makes it parallel to the z axis pointing away from the viewer. It's
default location is [0,0,0].

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: use of 'obj_new' within another object definition
Next Topic: IdlGrPolygon - Intersection with planes and lines

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:12:58 PDT 2025

Total time taken to generate the page: 0.01167 seconds