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

Home » Public Forums » archive » Re: Draw a point in 3D graphic object ?
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: Draw a point in 3D graphic object ? [message #30342 is a reply to message #30273] Fri, 19 April 2002 01:23 Go to previous message
xavier.presseq is currently offline  xavier.presseq
Messages: 2
Registered: April 2002
Junior Member
David Fanning <david@dfanning.com> wrote in message news:<MPG.1728778c2f08dcaa989896@news.frii.com>...
> Xavier (xavier.presseq@cesbio.cnes.fr) writes:
>
>> Since one month I use IDL, but I have a basic problem with object.
>> I know how make Surface, Volume with a graphic object but I just want
>> draw a point in 3D, and I don't know do this.
>> I have try with IDLgrPolyline and IDLgrSymbol but, I must draw 5000
>> points and rotate or move this object become very slow.
>> It's faster for mouvement with IDLgrPolygone but my computer take 30s
>> to build the object in memory before draw it.
>
> I think you must be creating a LOT of polylines where one
> will do. :-)
>
> I just took my much disparaged FSC_SURFACE program and
> replaced the line that creates the surface object with
> these lines:
>
> x = Randomu(seed, 5000) * 100
> y = Randomu(seed, 5000) * 100
> z = Randomu(seed, 5000) * 100
>
> symbol = Obj_New('IDLgrSymbol', 2)
> thisSurface = Obj_New('IDLgrPolyline', x, y, z, $
> Linestyle=6, Symbol=symbol)
>
> The polyline is created instantly, and the resulting
> points rotate in 3D space more or less instantaneously
> on my (by now) middle of the road computer.
>
> Cheers,
>
> David

Thank you for for answer.
I have found my problem, I use Idl5.2. On highter version, my program
work better and faster with graphic objects like Polyline.
Thank you David.

Xavier
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Replicate from [1, 148] to [1000, 148]
Next Topic: psmod (colorconverting)

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

Current Time: Tue Dec 02 12:45:20 PST 2025

Total time taken to generate the page: 0.47716 seconds