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 #32918 is a reply to message #32820] Thu, 14 November 2002 13:39 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Mark Hadfield" <m.hadfield@niwa.co.nz> wrote

Now you speak up!

I was hoping someone would come up with a solution for Jim but since nobody
did, I wrote the vector object. At the time I had no idea he was going to
display 18K vectors so the single vector design seemed sound and making it a
subclass of IDLgrModel made dealing with the geometry of the head easy.



> I'm not surprised you are running into memory problems. (If not, *I*
> am running into memory problems.) That approach won't work beyond 1000 or
> so, in my experience. One the other hand, representing 18K vectors with
18K
> line segments in an IDLgrPolyline is no big deal. (Though I must say
viewing
> them on the screen might be!)

I can easily create 20k individual vector objects so I don't know what you
have run into in the past. This approach will cost him an extra 8MB or so
with the IDLgrModel overhead but what the heck, memory is cheap!


> Creating an IDLgrPolyline object to display these vectors isn't all that
> hard, you just have to load an array specifying positions corresponding to
> the ends of each vector (the DATA property) and the connectivity array
which
> tells the polyline which ones to connect (the POLYLINES property).

True, but dealing with the vector head using this approach is an, um,
headache.


> Unfortunately my library is off the air at the moment. (I
> really must do something about this.)

Please do!


-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: Fri Oct 10 13:47:11 PDT 2025

Total time taken to generate the page: 0.48006 seconds