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 #54288 is a reply to message #54091] Tue, 29 May 2007 04:00 Go to previous messageGo to previous message
prahladvkumar is currently offline  prahladvkumar
Messages: 18
Registered: March 2007
Junior Member
On May 23, 9:26 pm, Rick Towler <rick.tow...@nomail.noaa.gov> wrote:
>> Thanks for the support u had given to me. I am very new toIDL. 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 haveflythru
>> 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 toIDL, 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 THEIDLDOCS. You can learn a lot!
>
> -Rick

Thank you very much rick.
You had done a gr8 help to me. Now i am not getting any errors but
while running the probram i am getting memory error.

Please do the needful

Regards,
Prahlad V
[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: Sat Oct 11 03:01:40 PDT 2025

Total time taken to generate the page: 0.16057 seconds