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 #33988 is a reply to message #33986] Tue, 11 February 2003 10:30 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"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: Tue Dec 02 01:26:59 PST 2025

Total time taken to generate the page: 1.67802 seconds