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

Home » Public Forums » archive » Re: 3D Surface Problem
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 Surface Problem [message #30139 is a reply to message #30112] Fri, 05 April 2002 23:06 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Ken Mankoff" <mankoff@I.HATE.SPAM.cs.colorado.edu> wrote :
>
> I am using IDL Object Graphics to combine a Digital Elevation Model
> (DEM) with a photograph in an attempt to get a pseudo-realistic 3D
> view of a surface.
>
> I have it mostly working, but have a shear effect that I cannot get
> rid of... I do not fully understand this whole 3D viewpoint thingey.
> Also, my images shapes vary. Sometimes they cover a 1x1 degree lat/lon
> grid, other times its a 1x10 (it is not always two squares I am
> putting together, although the DEM and the image are always the same
> shape). Also, the DEM sometimes has a range of a few hundred meters,
> and other times a few thousand meters...

The image shape shouldn't matter as long as you have the correct texcoords
and for the most part they look good. It looks like you might have a white
background for your non-square images? Is that where the "noise" in the
texture comes from or is that a rendering issue?

Where do you think the problem is? Can you render the object correctly and
then you botch the transform? Or is the problem before you render a view?
There could be a number of possible issues with your examples.

> Ideally, I would love a function to do this for me that is canned and
> pre-written. (I will give the author credit on the site, if you are
> interested in helping, let me know!). But I expect to have to code it
> up myself. Can anyone see from these images what I am doing wrong? If
> it will help if I give a code example, let me know and I will post
> that...

Please post some more detail or code.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Strange background colour in Object graphics
Next Topic: Command recall at prompt under linux.

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

Current Time: Sun Oct 12 02:04:50 PDT 2025

Total time taken to generate the page: 1.20040 seconds