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

Home » Public Forums » archive » Re: 3D view of DEM
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: 3D view of DEM [message #78530 is a reply to message #78419] Wed, 30 November 2011 11:32 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Nov 28, 5:37 am, David Fanning <n...@dfanning.com> wrote:
> Dave Poreh writes:
>> I have a deformation image (tiff) and a DEM from the area too. How
>> could i make 3D view of the area please?
>
> You simply use the image as a texture map for the DEM
> surface. You can do this directly with cgSurface.
> Here is an example:
>
>    file = Filepath(Subdir=['examples','data'],'elev_t.jpg')
>    Read_JPEG, file, image
>    file = Filepath(Subdir=['examples','data'],'elevbin.dat')
>    dem = Read_Binary(file, Data_Dims=[64,64], Data_Type=1)
>    cgSurface, dem, Texture_Image=image
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Thanks David. How could we setup the exaggeration parameter please?
Cheers,
David
[Message index]
 
Read Message
Read Message
Previous Topic: LONG64 in NetCDF-4 files
Next Topic: Re: X window requirement for batch jobs: not just for plotting

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

Current Time: Fri Oct 10 17:41:50 PDT 2025

Total time taken to generate the page: 0.40083 seconds