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

Home » Public Forums » archive » idl flythru
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: idl flythru [message #54091 is a reply to message #53996] Wed, 23 May 2007 09:26 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
> Thanks for the support u had given to me. I am very new to IDL. Can u
> just guide me how to use these programs for my application.

Unfortunately I can't. Too busy right now...

First, just try to get the cull-n-fly program to run. Download and
unzip everything into a single directory. This includes the .dlm and
.dll files as well. Set this directory as your working directory (I do
this by checking "Change Directory on Open" on the general preferences
tab then opening the program I wish to run). Then run the program.

If it doesn't run, look closely at the errors. Most likely you'll be
either missing procedures or you'll have a path problem.



> I am having Ikonos data and DEM of the same. I want to have flythru
> and control the path using keyboard controls.

You should be able to do this (relatively) easily.

At line 501 (in camdemo_di_cullnfly.pro, will be slightly different in
the non-direct input version) you'll see the comment:

; Create something to look at...

All of the code from this point down to line 577 creates what you see
when the application runs. You'll replace that with an IDLgrSurface
object representing your DEM. You'll need to study the code a bit,
specifically how things are added to the camera (view) and lighting.

Since your new to IDL, take baby steps. Before you write a fly-thru
application, make sure you can simply create the IDLgrSurface model and
display it. Use XOBJVIEW to display it. XOBJVIEW requires that your
surface be placed in a model before display:

oSurface = OBJ_NEW('IDLgrSurface', demdata)
oModel = OBJ_NEW('IDLgrModel')
oModel -> Add, oSurface

XOBJVIEW, oModel, /BLOCK

OBJ_DESTROY, oModel

Once you can display the surface, then concentrate on adding it to the
cullnfly application.


Start slowly. Make small changes and observe their effect. And work
thru it step by step. And READ THE IDL DOCS. You can learn a lot!

-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
Previous Topic: Re: Emacs 22 is out
Next Topic: Re: archived data

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

Current Time: Fri Oct 10 14:17:31 PDT 2025

Total time taken to generate the page: 1.04245 seconds