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

Home » Public Forums » archive » screen capture of xplot3d
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
screen capture of xplot3d [message #74086] Thu, 23 December 2010 20:22 Go to next message
kedmond is currently offline  kedmond
Messages: 8
Registered: July 2008
Junior Member
Is there a function like tvrd() for xplot3d?

My goal is to automatically produce an animation of a rotating object,
saving each frame as an image or into a TIFF stack, so that I can make
a movie to show others.

I'm also interested in exporting the 3D data as a VRML file so that
people can interact with it on the web.

Thanks.
Re: screen capture of xplot3d [message #74201 is a reply to message #74086] Sun, 02 January 2011 09:10 Go to previous message
kedmond is currently offline  kedmond
Messages: 8
Registered: July 2008
Junior Member
On Jan 2, 2:49 am, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jan 2, 2:41 am, kedmond <kedm...@gmail.com> wrote:
>
>>     I am not sure which plot3d function you are talking about.  Where
>> do I get a copy?  Thanks!
>
> It is builtin (starting with IDL 8).

Ooooh....I am using 7.0. Time to upgrade. Thank you! I'll try it
out.

-Kazem
Re: screen capture of xplot3d [message #74202 is a reply to message #74086] Sat, 01 January 2011 23:49 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jan 2, 2:41 am, kedmond <kedm...@gmail.com> wrote:
>     I am not sure which plot3d function you are talking about.  Where
> do I get a copy?  Thanks!

It is builtin (starting with IDL 8).
Re: screen capture of xplot3d [message #74205 is a reply to message #74086] Sat, 01 January 2011 20:41 Go to previous message
kedmond is currently offline  kedmond
Messages: 8
Registered: July 2008
Junior Member
Dr. Fanning,
I've begun hacking around in the xplot3d.pro code itself, as you
suggested. Hopefully I can figure it out. Thanks!

Paulo,
I am not sure which plot3d function you are talking about. Where
do I get a copy? Thanks!

-Kazem

On Jan 1, 10:08 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jan 2, 12:36 am, kedmond <kedm...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
>> I agree, it's easier to do what I want in plot3d.pro, but the surface
>> procedure that it uses to draw the plot symbols doesn't support IDL's
>> graphical objects...unless I'm mistaken.  For example, for the really
>> nice image I can make in xplot3d, I do something like the following
>
>> oSphere1 = obj_new('orb', COLOR=coltet[*, 0], alpha_channel=alphaval)
>> ...
>> oSymbol1 = obj_new('IDLgrSymbol', oSphere1)
>> ...
>
>> xplot3d, x, y, z, symbol=[oSymbol1, oSymbol2  ... ]
>
>> and I get the following:http://picasaweb.google.com/kedmond/IDLImages?feat =directlink
>
>> So, for example, it'd be nice if that group of spheres, the 'orb'
>> object, could rotate in an animation.  That's what I'm trying to do.
>
> Would it not be something like
>
> p=plot3d(indgen(10),indgen(10),indgen(10),sym_object=orb(col or=[255,0,0],ra dius=3.0))
>
> ?
Re: screen capture of xplot3d [message #74206 is a reply to message #74086] Sat, 01 January 2011 19:08 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jan 2, 12:36 am, kedmond <kedm...@gmail.com> wrote:
> I agree, it's easier to do what I want in plot3d.pro, but the surface
> procedure that it uses to draw the plot symbols doesn't support IDL's
> graphical objects...unless I'm mistaken.  For example, for the really
> nice image I can make in xplot3d, I do something like the following
>
> oSphere1 = obj_new('orb', COLOR=coltet[*, 0], alpha_channel=alphaval)
> ...
> oSymbol1 = obj_new('IDLgrSymbol', oSphere1)
> ...
>
> xplot3d, x, y, z, symbol=[oSymbol1, oSymbol2  ... ]
>
> and I get the following:http://picasaweb.google.com/kedmond/IDLImages?feat =directlink
>
> So, for example, it'd be nice if that group of spheres, the 'orb'
> object, could rotate in an animation.  That's what I'm trying to do.

Would it not be something like

p=plot3d(indgen(10),indgen(10),indgen(10),sym_object=orb(col or=[255,0,0],radius=3.0))

?
Re: screen capture of xplot3d [message #74207 is a reply to message #74086] Sat, 01 January 2011 18:58 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
kedmond writes:

> And I guess Ken Bowman is saying that I need to learn how to use
> iTools in order to be able to do this programmaticly.

Well, I still think it can be done in less than a half
hour by modifying the XPlot3D code itself. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: LIST extensions
Next Topic: division to move a decimal point

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

Current Time: Wed Oct 08 13:51:34 PDT 2025

Total time taken to generate the page: 0.01857 seconds