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

Home » Public Forums » archive » Re: drawing a single point in 3-D
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: drawing a single point in 3-D [message #33987 is a reply to message #33986] Tue, 11 February 2003 11:53 Go to previous messageGo to previous message
lyubo is currently offline  lyubo
Messages: 34
Registered: March 2002
Member
I'll go with the polyline. Thanks Rick.

Lyubo


"Rick Towler" <rtowler@u.washington.edu> wrote in message
news:b2bfmj$184m$1@nntp6.u.washington.edu...
>
> "lyubo" wrote in message ...
>
>> How do I draw a single point in 3D?
>
> AFAIK you can't just plot a single point but you have a few options.
>
> The simplest would be to use IDLgrPolyline along with IDLgrSymbol. Set
your
> linestyle to 6 (no line) and set the SYMBOL keyword to an instance of
> IDLgrSymbol. The built in symbols are 2d, but you can roll your own 3d
> symbols. I would assume you can use VERT_COLORS to color the points
> accordingly.
>
>
>> I have to display a large number of points in 3-D and using a polyline
>> (or texture mapped polygons) isn't an option. Is there any other way?
>
> Since you need to display a "large" number of points I think polyline is
the
> only way to go. If you create your own symbol, keep the number of verts
as
> low as possible. A cube symbol will probably look like a dot at the scale
> you will be drawing it at.
>
> The only other option would be using IDLgrPolygon to represent a point.
For
> a large number of points this is a less than optimum approach as too many
> atoms in the graphics tree slow the drawing process considerably.
>
> -Rick
>
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: License options when starting IDL
Next Topic: Re: License options when starting IDL

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

Current Time: Fri Oct 10 13:46:13 PDT 2025

Total time taken to generate the page: 0.72091 seconds